Ensure BaseHandle class move noexcept (toolkit public-api) Add noexcept keyward on public-api Change-Id: I234920fcb0c661e10940a08f0a78e84a85b4e5cb Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
New with additional behaviour flag for text controls Add new "New" function that we can append additional ControlBehaviour This code works in TextField and TextEditor Change-Id: I28df965491bf6e6abff95ed3dc1a2a83f03588a5 Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
New with additional behavior flag for some Controls Add new "New" function that we can append additional ControlBehaviour Toolkit::Control::ControlBehaviour was hard-coding. we should change it as valid type as we can in future. Current code only works in Control and ImageView and TextLabel. Change-Id: Iee12d71f699444cd0e85dfa84b485f12086545f2 Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Extending Style - Adding Strikethrough *********************************************************** Description: Adding the strikethrough for the text-editor and the text-label. The sample code below can be used to test the strikethrough using the property maps. The following can be used in the property map: enable and color. *********************************************************** using namespace Dali; using namespace Dali::Toolkit; class SimpleApp : public ConnectionTracker { public: SimpleApp(Application& application) : mApplication(application) { mApplication.InitSignal().Connect(this, &SimpleApp::Create); } void Create(Application& application) { Window window = application.GetWindow(); window.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f)); mEditor = TextEditor::New(); mEditor.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER); mEditor.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER); mEditor.SetProperty(Actor::Property::POSITION, Vector3(0.f, 0.0f, 0.f)); mEditor.SetProperty(Actor::Property::SIZE, Vector2(200.f, 100.0f)); mEditor.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f)); mEditor.SetProperty(TextEditor::Property::TEXT, "Hello"); // new label code TextLabel label = TextLabel::New(); label.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::TOP_CENTER); label.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_CENTER); label.SetProperty(Actor::Property::POSITION, Vector3(0.f, 0.0f, 0.f)); label.SetProperty(Actor::Property::SIZE, Vector2(200.f, 100.0f)); label.SetBackgroundColor(Vector4(0.04f, 0.345f, 0.392f, 1.0f)); label.SetProperty(TextEditor::Property::TEXT, "Hello"); //editor property map // Property::Map strikethruMapSet; // strikethruMapSet.Insert("enable", true); // strikethruMapSet.Insert("color", Color::RED); // mEditor.SetProperty(TextEditor::Property::STRIKETHROUGH, strikethruMapSet); Property::Map strikethruMapSet; strikethruMapSet.Insert("enable",true); strikethruMapSet.Insert("color",Vector4(0.75f, 0.96f, 1.f, 1.f)); label.SetProperty(TextLabel::Property::STRIKETHROUGH, strikethruMapSet); window.Add(label); //window.Add(mEditor); } private: Application& mApplication; TextEditor mEditor; }; int DALI_EXPORT_API main(int argc, char** argv) { Application application = Application::New(&argc, &argv); SimpleApp test(application); application.MainLoop(); return 0; } Change-Id: I8de5088c1de0c042573c925a92a4829b67e00624
Formatting API Change-Id: I8ee16601ef38967ed7eddc7645b2c11a6226adce
Add move semantics to common and base Toolkit classes Change-Id: I45a75274e668d12a15c07b9b3282613d56cfc192
Remove non-touch related deprecated APIs Change-Id: Ibed037aa0140b0d7c13fe360f09a86b876dac04b
Remove reserved properties from toolkit Change-Id: I055f72651bda6286684b31a66fddbab4b530db08
Purge underscored header file barriers Change-Id: I167a9472588dd950f075991332325dd5f22edc05
Restore the deprecated properties of TextLabel/TextField - One former patch removed some deprecated APIs. - But, to keep binary compatibility, the table of Property and the number of properties should be same, even though the properties can be removed. - Instead, Property names change to RESERVED_PROPERTY_*, not to be used in an application Change-Id: I5665228d57f4977ff23cd151a3b36eab003e98e6 Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Remove deprecated APIs in Tizen 3.0 - Removed deprecated API of dali-core - Removed deprecated APIs of TextLabel and TextField in Tizen 3.0 (~ DALi Version 1.1.45) Change-Id: I15147d671a2c3a2825faed296c4f96d620ed52c5 Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Seperate the API macros Change-Id: I854e0627c2890799974ab3757bf67ce3bfd1950d
Fix doxygen format - modify "/*" to "/**" in item-layout.h:157, text-labe.h:360, video-view.h:340 Change-Id: I9584bce1149a2fb1b0319a1e8e5e6c594766f47b
Add outline property to text visual Change-Id: I73bb5d932da84be4b277227b8d5f12748e2ec992
Fixed a problem where text size exceeds maximum texture size. - Adjusts the length of the text to the maximum texture size. - Dropped text will be shown as ellipsis. Change-Id: Ie342327fcb8cb1ba0827b3943101ce2b141ac17d
Added enumerations for LineWrap::Mode Change-Id: I96cb55032a73beabf195e2ec2730be801f7a74d8
Text Alignment Enums now public TextVisual and TextControls now share the Horizontal and Vertical alignment enumerations. The Enums are public, internal versions are replaced hence reducing internal conversion. Change-Id: I7343430d61a278d9a4eb97b7a0568a7f934cf54f
(TextLabel) Moved all devel properties to Public API Change-Id: Iae2a8f25a9f858d108ca9fdb8c4d3abd185adb7e
Revert "Revert TextVisual in TextLabel Patches" This reverts commit 723acb540264b5f3bfc98ec3284891aa58d765c4. Change-Id: I91b8dcb55fdb985e12ed5f3eea97f6bffccd938e
Revert TextVisual in TextLabel Patches "Reduce text visual memory consumption for text with no styles and emojis" "(TextLabel) Added component properties for Text Color" "Fix issues while rendering RTL text in Text Visual" "Fix the padding issue while text is scrolling in TextLabel" "Change filter mode in TextLabel to improve quality while scaling" "Refactor TextLabel to use text visual" Change-Id: I4b75398f8381272d0ae30b556efb71eb8516c6b6