-
To improve app launching speed on Tizen (using launchpad), Use -fPIE option instead -fPIC and attach DALI_EXPORT_API in front of each example's main function. This is the compare result between before and after patch. (On hawkP 2.4 / using hello-dalidemo that has one pushbutton on stage) | before Patch | After Patch | --------------------------------------------- | hello-dalidemo | hello-dalidemo | --------------------------------------------- | AVG MIN MAX | AVG MIN MAX | | 1134 1060 1188 | 291 250 337 | After patch, launching speed drops to 30% of before. Change-Id:I51a4f673d016f9278f867167dc2ff9f407ea6e7e
-
Scripts, examples and demo code should not use defines from other parts of DALi. DALI_IMAGE_DIR is defined in Dali toolkit to specify where the toolkit images are. This is used in the default toolkit style file to specify the locations of the toolkit images. It must not be overridden by applications. Updated the demo style file to utilize a configured variable to point at the installed demo style's images. Added an example of a demo-specific image (confirmation popup background) Updated dali-builder to load the demo theme (Scripting example within demo already loads it) Change-Id: Ie43a6611a8db3fc0afc6a1cd4d9d6e48afef75e7 Signed-off-by: David Steele <david.steele@samsung.com>
-
* Added to test Font setting via Property system and system font changes. * 3 Initial TextLabels; first has no font set, second is set via the demo json style sheet, third is set via the SetProperty in code. Only the first should change when the system font changes to a different font * Pressing button creates a new TextLabel with the system font Change-Id: I9291797ba357979d9b3d85ab0d3a30a3fbd6c497 Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>