Richard Huang [Tue, 20 Oct 2015 10:38:31 +0000 (11:38 +0100)]
Fixed issue that ItemView overshoot appears before it reaches the end of the list
Change-Id: I8d8a6093e7494f091d7aa1254b0ff2d48d9f5ae2
Adeel Kazmi [Mon, 19 Oct 2015 16:58:28 +0000 (09:58 -0700)]
Merge "Changed Motion Blur and MotionStretch Effect to use new custom shaders." into devel/master
Adeel Kazmi [Mon, 19 Oct 2015 14:52:49 +0000 (07:52 -0700)]
Merge "Append clipboard text after current pre-edit text" into devel/master
Paul Wisbey [Mon, 19 Oct 2015 13:36:06 +0000 (14:36 +0100)]
Append clipboard text after current pre-edit text
Issue description:
1) Configure keyboard to show clipboard item
2) Type some text without pressing space
3) Use the keyboard clipboard short-cut to paste test whilst pre-text is shown
4) Then when the next character is typed, the pre-edit text reappears
Solution is to stop prediction before pasting (appending instead of replacing)
Change-Id: Ibd661e2f4d377c8333711e97c3c7a751caf8c15f
Tom Robinson [Mon, 19 Oct 2015 08:36:07 +0000 (09:36 +0100)]
ScrollView moves in opposite direction sometimes when panning
Change-Id: I0d68ce135cae455d04156aaa806584b8c22e4919
Victor Cebollada [Tue, 13 Oct 2015 10:16:20 +0000 (11:16 +0100)]
Reposition the grab/selection handles position.
Change-Id: Ifbdf3f6687920dbc13bc29bfd41ccd04c76af272
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Chu Hoang [Thu, 15 Oct 2015 15:56:20 +0000 (16:56 +0100)]
Changed Motion Blur and MotionStretch Effect to use new custom shaders.
Change-Id: I0b03b593b7b203841f6df51fd4b02e25e6ea0233
Victor Cebollada [Mon, 12 Oct 2015 11:17:47 +0000 (12:17 +0100)]
Reposition Text Control's popup.
Change-Id: I0bc67d49a9b341033e7f9800a627c4ee0724bf52
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Thu, 15 Oct 2015 16:07:51 +0000 (09:07 -0700)]
Merge "Text Shadow Implementation via copied renderer." into devel/master
Kimmo Hoikka [Thu, 15 Oct 2015 15:07:20 +0000 (08:07 -0700)]
Merge "Changed NPatchRenderer and ImageRenderer to use an "broken image" if they try to renderer an invalid image." into devel/master
Richard Underhill [Thu, 15 Oct 2015 13:25:00 +0000 (14:25 +0100)]
Text Shadow Implementation via copied renderer.
Change-Id: I1549e0b0c788b252ad176210f503c76397112e51
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Paul Wisbey [Thu, 15 Oct 2015 11:41:09 +0000 (12:41 +0100)]
Provide TextChanged() signal after PASTE
Change-Id: Id17a4fdd58426aa016ae0ead597ed35a9c6d5b09
Kimmo Hoikka [Wed, 14 Oct 2015 15:57:33 +0000 (16:57 +0100)]
Remove some dead and non-thread safe internal uniforms
Change-Id: I41058f8813f04a83f1b22cc38c71106a9b12b77a
Kimmo Hoikka [Wed, 14 Oct 2015 15:25:00 +0000 (08:25 -0700)]
Merge "Changed Distance Field effect effect to use new custom shaders." into devel/master
Paul Wisbey [Wed, 14 Oct 2015 13:52:10 +0000 (06:52 -0700)]
Merge "Comment correction for Disambiguated function" into devel/master
Chu Hoang [Wed, 14 Oct 2015 10:53:40 +0000 (11:53 +0100)]
Changed Distance Field effect effect to use new custom shaders.
Change-Id: Ia8cc4142b68a51880d142ba4dbf7b01f61e271c4
Chu Hoang [Fri, 25 Sep 2015 10:17:43 +0000 (11:17 +0100)]
Changed NPatchRenderer and ImageRenderer to use an "broken image" if they try to renderer an invalid image.
Change-Id: I9cc4146dd2d7c8e775a63c774937d3bd1ab47b7d
Agnelo Vaz [Wed, 14 Oct 2015 09:42:09 +0000 (10:42 +0100)]
Comment correction for Disambiguated function
Change-Id: I1b37d4ab53e048a501be1aeeb00723241bce4938
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Kimmo Hoikka [Wed, 14 Oct 2015 09:37:01 +0000 (02:37 -0700)]
Merge "DGEUF-110: Limit ScrollView to scroll maximum 1 page on flick" into devel/master
Tom Robinson [Tue, 13 Oct 2015 09:50:49 +0000 (10:50 +0100)]
DGEUF-110: Limit ScrollView to scroll maximum 1 page on flick
Change-Id: I92b4c665c7c771b5ddb0667ebdf024bd640ae81b
Ferran Sole [Tue, 6 Oct 2015 15:50:53 +0000 (16:50 +0100)]
Changes following "Remove Sampler scene object"
Change-Id: I7934f6d0c516687c252f49509812f2a87becff3a
Kimmo Hoikka [Tue, 13 Oct 2015 14:03:57 +0000 (07:03 -0700)]
Merge "Implemented n-patch rendering for NPatchRenderer." into devel/master
Chu Hoang [Tue, 22 Sep 2015 13:21:17 +0000 (14:21 +0100)]
Implemented n-patch rendering for NPatchRenderer.
Change-Id: Ic7304dc47483cc228dce9e715be9bc0bb46a081e
Kimmo Hoikka [Tue, 13 Oct 2015 10:55:16 +0000 (03:55 -0700)]
Merge "Remove dead constraint function from GaussianBlurView" into devel/master
Kimmo Hoikka [Tue, 13 Oct 2015 09:51:54 +0000 (10:51 +0100)]
Remove dead constraint function from GaussianBlurView
Change-Id: I1c71f35a99d3263de0348b605f88cd56f6a5deea
Jonghyun Ho [Tue, 22 Sep 2015 04:40:54 +0000 (13:40 +0900)]
Update scroll end effect GUI
Change-Id: I8d11ff97bed46ffc3c8fa2bada37adeffe9f6c5e
Kimmo Hoikka [Mon, 12 Oct 2015 17:27:02 +0000 (10:27 -0700)]
Merge "Refactor to remove ControlRenderer::mCachedRenderer member." into devel/master
Kimmo Hoikka [Mon, 12 Oct 2015 14:54:43 +0000 (07:54 -0700)]
Merge "Move common images folder to the style folder" into devel/master
Chu Hoang [Fri, 9 Oct 2015 09:05:44 +0000 (10:05 +0100)]
Refactor to remove ControlRenderer::mCachedRenderer member.
Change-Id: I4ba5ccc62b5de25a76f21401b3914efa06a41649
Tom Robinson [Fri, 9 Oct 2015 09:48:47 +0000 (10:48 +0100)]
DALi Version 1.1.6
Change-Id: Idedbf00fc557c74c1624eb90cdab36c4db57af04
Agnelo Vaz [Thu, 8 Oct 2015 16:18:20 +0000 (17:18 +0100)]
Move common images folder to the style folder
* Keep images all under the style folder to encourage correct placement of images and not just all in common
Change-Id: Id16410b6c88de4c8b1b642113906a85cd74a7a23
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Agnelo Vaz [Wed, 7 Oct 2015 10:39:41 +0000 (11:39 +0100)]
Different image sets depending on style selected
* Style folders now contain an image directory
* Images specific to that style (resolution) should be placed in that folder
* Toolkit has an image-common folder for images that span all styles
* Only TextField Images moved to style image folders in this patch
Change-Id: I43d792c4f42dafb4b39e409425e51d404d261838
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Kimmo Hoikka [Thu, 8 Oct 2015 09:57:19 +0000 (02:57 -0700)]
Merge changes I48753b8f,If7ef493d into devel/master
* changes:
Added a RendererCache and utilise it for ImageRenderer.
Added ImageView::OnStageConnect to pass the onstage event to the renderer.
Chu Hoang [Mon, 5 Oct 2015 14:10:36 +0000 (15:10 +0100)]
Added a RendererCache and utilise it for ImageRenderer.
Tidied up ControlRenderer::DoInitialize methods.
Added ControlRerenderer::SetCachedRendererKey method to set a key and enable base ControlRenderer to cache core renderers from this key.
Added RendererFactoryCache::Get/Save/RemoveRenderer methods.
Change-Id: I48753b8fe18293ca53477e149f00018c50122bb0
Kimmo Hoikka [Wed, 7 Oct 2015 11:51:38 +0000 (04:51 -0700)]
Merge "Change default grab/selection handles." into devel/master
Victor Cebollada [Tue, 6 Oct 2015 15:49:49 +0000 (16:49 +0100)]
Remove SELECTION_CHANGED state from the text controller.
* This state is not different than the SELECTING one.
Change-Id: If6f791a021ae4511a42ba9999788568d2eff5508
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Mon, 5 Oct 2015 13:24:32 +0000 (14:24 +0100)]
Change default grab/selection handles.
Change-Id: I958f287f5b79a65f0d9250ebc970c8df0752db65
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Chu Hoang [Mon, 5 Oct 2015 15:34:34 +0000 (16:34 +0100)]
Added ImageView::OnStageConnect to pass the onstage event to the renderer.
Change-Id: If7ef493d065b4a1b3b67bb0b1a6fdef91a2762d1
Xiangyin Ma [Fri, 2 Oct 2015 14:55:25 +0000 (15:55 +0100)]
Change geometry to use triangle strip
Change-Id: Ie35aec87ba51285fc682310baa4f3842b7c8fe68
Paul Wisbey [Fri, 2 Oct 2015 14:51:22 +0000 (07:51 -0700)]
Merge "Fix cursor position issues." into devel/master
Victor Cebollada [Tue, 22 Sep 2015 14:50:28 +0000 (15:50 +0100)]
Fix cursor position issues.
* Fixes the Test Case broken in a previous patch.
* Fixes the scroll position after deleting the last characters.
* Fixes minor cursor position issues caused in a previous patch.
The previous patch: https://review.tizen.org/gerrit/#/c/48450/
Change-Id: I127c0bedccdd6a8c3923f877f07a36eecbf5c7e1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Xiangyin Ma [Thu, 1 Oct 2015 18:09:47 +0000 (19:09 +0100)]
(GradientRenderer)Respond to actor size change automatically when using ObjectBoundingBox as units
Change-Id: Idad68fa70d4dc5edd640ef022071d178172867cb
Paul Wisbey [Fri, 2 Oct 2015 10:47:18 +0000 (03:47 -0700)]
Merge "Fix the cursor position when retrieving the selected text." into devel/master
Chu Hoang [Fri, 2 Oct 2015 09:38:50 +0000 (10:38 +0100)]
DALi Version 1.1.5
Change-Id: I8b6044ffeab871bd64c1234055eea3b8a305a6ea
Kimmo Hoikka [Thu, 1 Oct 2015 18:03:03 +0000 (11:03 -0700)]
Merge "Implemented custom shader in ImageRenderer and changed Dissolve-effect to utilise this." into devel/master
Kimmo Hoikka [Thu, 1 Oct 2015 17:26:44 +0000 (10:26 -0700)]
Merge "Render control background without creating extra actor" into devel/master
Chu Hoang [Mon, 28 Sep 2015 15:55:44 +0000 (16:55 +0100)]
Implemented custom shader in ImageRenderer and changed Dissolve-effect to utilise this.
Change-Id: I3275449610040b533cca265445c4c1a65a35b404
Kimmo Hoikka [Thu, 1 Oct 2015 16:06:04 +0000 (09:06 -0700)]
Merge "Fix for shadow 'leak' reported on SPIN homescreen." into devel/master
Paul Wisbey [Thu, 1 Oct 2015 15:49:52 +0000 (08:49 -0700)]
Merge "Do not reposition the text's popup when buttons are pressed." into devel/master
Victor Cebollada [Thu, 1 Oct 2015 13:59:31 +0000 (14:59 +0100)]
Fix the cursor position when retrieving the selected text.
* The cursor shouldn't be updated when the selected text is retrieved unless
is deleted after retrieval.
Change-Id: Ib6e53ce41199fd3b62c59effedcd42d2b70d6158
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Xiangyin Ma [Mon, 28 Sep 2015 17:34:35 +0000 (18:34 +0100)]
Render control background without creating extra actor
Change-Id: Ifda38ccf7da36fce360faca7dcbea58c0044d8ad
Richard Underhill [Wed, 30 Sep 2015 10:24:48 +0000 (11:24 +0100)]
Fix for shadow 'leak' reported on SPIN homescreen.
Clean up multiple render tasks for shadows.
Change-Id: I298b3ea4f733eb51ba3041192a3591940b735e9d
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Paul Wisbey [Wed, 30 Sep 2015 09:40:26 +0000 (02:40 -0700)]
Merge "Removing GetDefaultFontDescription from Platform Abstraction Test" into devel/master
Paul Wisbey [Tue, 29 Sep 2015 10:39:08 +0000 (03:39 -0700)]
Merge "Ensure UserDefined Font family is not changed by system font changing." into devel/master
Adeel Kazmi [Tue, 29 Sep 2015 08:30:09 +0000 (01:30 -0700)]
Merge "Create property map from ControlRenderer and make SetOffStage API public" into devel/master
Xiangyin Ma [Fri, 25 Sep 2015 16:08:33 +0000 (17:08 +0100)]
Create property map from ControlRenderer and make SetOffStage API public
Change-Id: Id0df6b9aa509c7add2d87619b22c043035a3b7ad
Agnelo Vaz [Mon, 28 Sep 2015 16:19:30 +0000 (17:19 +0100)]
Removing GetDefaultFontDescription from Platform Abstraction Test
* Font client now provides this functionality and this API now removed from platform abstraction
Change-Id: I79546ebfe6cd51dab297bcfaf60c168a23793fa3
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Adeel Kazmi [Mon, 28 Sep 2015 15:21:07 +0000 (16:21 +0100)]
Rearrange doxygen tags for recently deprecated or new APIs
Change-Id: Ie4b387e3b4267cd9895a5d0d07b8ec5a638ee7f2
Agnelo Vaz [Fri, 25 Sep 2015 16:31:25 +0000 (17:31 +0100)]
Ensure UserDefined Font family is not changed by system font changing.
Change-Id: I6c99511a70cb86c96c50c918abe000ab802f2158
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Adeel Kazmi [Fri, 25 Sep 2015 07:46:09 +0000 (08:46 +0100)]
DALi Version 1.1.4
Change-Id: Ib17e79146282cf44befaa436deb461c40aa68e9b
Adeel Kazmi [Thu, 24 Sep 2015 15:30:49 +0000 (08:30 -0700)]
Merge "Modify doxygen group names" into devel/master
Yoonsang Lee [Thu, 24 Sep 2015 07:46:10 +0000 (16:46 +0900)]
Modify doxygen group names
- "-" in group names causes javascript errors when used in doxygen
1.7.6.1 with GENERATE_TREEVIEW option - by which Tizen API reference
is generated (not sure for later version)
- It makes DALi items in the tree view cannot be opened.
- Replace all "-" to "_" in doxygen group names to solve the problem.
- Arrange redundant doxygen input path
Change-Id: I203b63f685b7a7d6846337c4c395913d584cf2ec
Paul Wisbey [Thu, 24 Sep 2015 14:15:06 +0000 (15:15 +0100)]
Stop leaking render-tasks for Text Shadows
Change-Id: I652c7e96f1c1ac16ac27c948d462286079e2cb1e
Adeel Kazmi [Thu, 24 Sep 2015 13:09:46 +0000 (06:09 -0700)]
Merge "Marked new API's since 1.1.4" into devel/master
Lee Morgan [Wed, 23 Sep 2015 15:08:58 +0000 (16:08 +0100)]
Marked new API's since 1.1.4
Change-Id: If9a08adf68f6c236c8bfac37199b1901d6dbcdd1
Xiangyin Ma [Tue, 22 Sep 2015 16:09:28 +0000 (17:09 +0100)]
Implementation of BorderRenderer and apply it to Magnifier
Change-Id: I94c915e7c1530c10654d5458965765eb7d2431de
Xiangyin Ma [Fri, 18 Sep 2015 12:55:10 +0000 (13:55 +0100)]
Update the stylesheet with the Control property change
Change-Id: I25929a8e4c531d22081093d795eee38464a0b5d0
Chu Hoang [Mon, 21 Sep 2015 09:56:09 +0000 (10:56 +0100)]
Initial implemention NPatchRenderer only for 9 patch case.
Change-Id: I0fb00583b6b1dc8b76716083b811c79062f36768
Adeel Kazmi [Wed, 23 Sep 2015 09:27:01 +0000 (02:27 -0700)]
Merge "Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage." into devel/master
Chu Hoang [Tue, 22 Sep 2015 10:59:27 +0000 (11:59 +0100)]
Fixed ImageRenderer::DoSetOffStage inccorrectly calling ControlRenderer::SetOffStage.
Change-Id: If239b0577623d2e2f6692599ec00edebabd2bbde
Chu Hoang [Mon, 21 Sep 2015 14:12:53 +0000 (15:12 +0100)]
Removed GetStretchBorders from NinePatchImage plugin API.
Change-Id: Ie10bafad00b6fa6b3ad5a2fcd226122aed98a3ac
Xiangyin Ma [Mon, 21 Sep 2015 14:08:42 +0000 (15:08 +0100)]
Improve the UTC coverage of PageTurnView
Change-Id: I5349defa3123b59c88e9355150c689496333061f
Victor Cebollada [Tue, 22 Sep 2015 14:44:40 +0000 (15:44 +0100)]
Temporary remove part of a unit test.
* The patch "Modify the cursor position" makes a TET case to fail.
Change-Id: I9952e432f719007594ad96efd3abdbc8e1b523c9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Kimmo Hoikka [Mon, 21 Sep 2015 17:23:28 +0000 (10:23 -0700)]
Merge "Modify the cursor position." into devel/master
Victor Cebollada [Mon, 21 Sep 2015 13:11:09 +0000 (14:11 +0100)]
Modify the cursor position.
* Set a top left anchor point to not to overlap characters.
Change-Id: Ib37fdbf31f0b468b4d4850cf009a8c97b5c88f65
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Agnelo Vaz [Mon, 21 Sep 2015 15:10:53 +0000 (16:10 +0100)]
ProcessModifyEvents to interate whole list not just first index
* A bug in logic meant only the first item in the modify event queue was being processed
Change-Id: I530a816fb2bbd09efc53fd34e597abe6fb7efb30
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Agnelo Vaz [Mon, 21 Sep 2015 15:08:13 +0000 (16:08 +0100)]
IMF to be notified after Backspace key pressed
* For prediction, the IMF needs to know if the backspace has resulted in the cursor being on a current word
* If on a current word the IMF may decide that it becomes the current pre edit word.
Change-Id: Ibf8e9afaba33ccce46ed90192357d89a20194d60
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Kimmo Hoikka [Mon, 21 Sep 2015 15:09:38 +0000 (08:09 -0700)]
Merge "Changed ImageView to utilise ImageRenderer." into devel/master
Adeel Kazmi [Mon, 21 Sep 2015 10:39:31 +0000 (11:39 +0100)]
Added version when deprecated to the documentation for Button/PushButton
Change-Id: Id74b2aee630822444e7a232a81b718dec4e5e8cd
Chu Hoang [Tue, 15 Sep 2015 15:41:42 +0000 (16:41 +0100)]
Changed ImageView to utilise ImageRenderer.
Change-Id: I95211860cbc75601fbf6380252b76d236e3471f3
Agnelo Vaz [Fri, 18 Sep 2015 10:23:59 +0000 (11:23 +0100)]
Prevent font data being cleared when System font changes
* Font data is being cleared incorrectly outside of a conditional block, now inside that block
Change-Id: Ia3266538323a9ca935622ed3376ca18aad9f54db
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Adeel Kazmi [Fri, 18 Sep 2015 10:09:41 +0000 (03:09 -0700)]
Merge "DALi Version 1.1.3" into devel/master
Kimmo Hoikka [Fri, 18 Sep 2015 10:06:19 +0000 (03:06 -0700)]
Merge "Cache fallback font lists for each requested font" into devel/master
Xiangyin Ma [Fri, 18 Sep 2015 10:03:16 +0000 (11:03 +0100)]
DALi Version 1.1.3
Change-Id: I59d09df173e62088b082796cee317ffa9ee39f46
Paul Wisbey [Fri, 18 Sep 2015 09:07:06 +0000 (02:07 -0700)]
Merge "Add Text's popup overshoot property." into devel/master
Paul Wisbey [Thu, 17 Sep 2015 18:08:25 +0000 (19:08 +0100)]
Cache fallback font lists for each requested font
Change-Id: I0b05f4e9a2495fea62bde613f716f2727a9e4251
Victor Cebollada [Tue, 15 Sep 2015 08:12:54 +0000 (09:12 +0100)]
Add Text's popup overshoot property.
Change-Id: I8732b516851996e3ccc83d702f9c39b616b4b495
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
v.cebollada [Thu, 27 Aug 2015 01:29:44 +0000 (10:29 +0900)]
TextSelectionToolbar cleaning.
Change-Id: I1b5600e4696adb2e68fa6c0d480110e39de9bc91
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
v.cebollada [Thu, 27 Aug 2015 02:28:32 +0000 (11:28 +0900)]
Do not reposition the text's popup when buttons are pressed.
Change-Id: I69cf154e87f0dc6d5d6db29518aeeea244b95622
Signed-off-by: v.cebollada <v.cebollada@samsung.com>
Xiangyin Ma [Mon, 14 Sep 2015 16:38:02 +0000 (17:38 +0100)]
(Control base)Use RendererFactory&ControlRenderer to handle background
Change-Id: I19eb9bd4b94bc8e924c77155691bab4ebc553ad6
Victor Cebollada [Wed, 16 Sep 2015 14:50:23 +0000 (15:50 +0100)]
Fix for long press.
* If in pre-edit mode, the imf manager needs to be reset to commit the text.
Change-Id: Id012e471b9750d67430c99b93bff641ca8f47590
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Chu Hoang [Mon, 14 Sep 2015 12:51:30 +0000 (13:51 +0100)]
Implementation of ImageRenderer.
Change-Id: I019a5ef0e6dbb8c359a4f42b4724781687e1011d
Xiangyin Ma [Mon, 14 Sep 2015 13:35:54 +0000 (14:35 +0100)]
(ControlRenderer) Hide the APIs whose function are not fully implemented
1. Dali doenot support multiple renderers per actor currently.
Hide these functions temporarily as their full implementation is not avaible.
2. Add test cases to improve the UTC line coverage.
Change-Id: I55651d1a0635a2b4324a7789ba4dcc2081c181a4
Xiangyin Ma [Fri, 11 Sep 2015 16:57:14 +0000 (17:57 +0100)]
(ControlRenderer) Added copy constructor and assignment operator
Change-Id: I1f0a514c2adaeeb13e37500b329951d3d241d48b
Xiangyin Ma [Wed, 26 Aug 2015 13:23:53 +0000 (14:23 +0100)]
ControlRenderer & RendererFactory for Toolkit Controls
1. example of getting a ColorRenderer:
Property::Map propertyMap;
propertyMap.Insert("renderer-type", "color-renderer");
propertyMap.Insert("blend-color", Color::MAGENTA);
Toolkit::RendererFactory rendererFactory = Toolkit::RendererFactory::Get();
Internal::ControlRendererPtr renderer = rendererFactory.GetControlRenderer(propertyMap);
2. example of getting a GradientRenderer:
Property::Map propertyMap;
propertyMap.Insert("renderer-type", "gradient-renderer");
propertyMap.Insert("gradient-center", Vector2(0.5f, 0.5f));
propertyMap.Insert("gradient-radius", 0.5f);
Property::Array stopOffsets;
stopOffsets.PushBack( 0.0f );
stopOffsets.PushBack( 1.f );
propertyMap.Insert("gradient-stop-offset", stopOffsets);
Property::Array stopColors;
stopColors.PushBack( Color::RED );
stopColors.PushBack( Color::GREEN );
propertyMap.Insert("gradient-stop-color", stopColors);
Change-Id: I82348ed6fb428e186ceec216efd8e1b235a5e3ee
Toolkit::RendererFactory rendererFactory = Toolkit::RendererFactory::Get();
Internal::ControlRendererPtr renderer = rendererFactory.GetControlRenderer(propertyMap);
Adeel Kazmi [Thu, 10 Sep 2015 10:21:26 +0000 (03:21 -0700)]
Merge "DALi Version 1.1.2" into devel/master
Richard Huang [Thu, 10 Sep 2015 10:05:30 +0000 (11:05 +0100)]
DALi Version 1.1.2
Change-Id: I514ef8a5d1e68c3f7816a7a3b9ef87f660eed075
suhyung Eom [Thu, 10 Sep 2015 07:14:02 +0000 (16:14 +0900)]
Fixed overlapping issue between cursor and placeholder text
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ia3d3ca2b583f36e8c9357150ac4ba0af4026a0a9
Paul Wisbey [Mon, 7 Sep 2015 15:49:25 +0000 (08:49 -0700)]
Merge "Fix setting a void string to the TEXT property." into devel/master
Paul Wisbey [Mon, 7 Sep 2015 15:07:38 +0000 (08:07 -0700)]
Merge "Initialise Controller's DefaultFont description to that of the Platform default font" into devel/master