X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resources%2Fstyle%2Fstyle-example-theme-two.json.in;h=d689bff1e5ffc50619f02077e11e55e6316ef4ff;hb=cb78a4f1c69fbe48504baf4977ea90f3c86223cc;hp=f5b194d736f49cec1ec1216a8b6e6f6cd6108dd6;hpb=94eed471ec67c870ac8c6aee8acb3963b17e76b7;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/resources/style/style-example-theme-two.json.in b/resources/style/style-example-theme-two.json.in index f5b194d..d689bff 100644 --- a/resources/style/style-example-theme-two.json.in +++ b/resources/style/style-example-theme-two.json.in @@ -25,10 +25,16 @@ // Change an icon size, see if it gets properly re-sized "RadioButton":{ - "unselectedStateImage":"{STYLE_DIR}/images/radio-button-unselected.png", - "selectedStateImage":"{STYLE_DIR}/images/radio-button-selected.png", - "disabledStateImage":"{STYLE_DIR}/images/radio-button-unselected-disabled.png", - "imageLabelGap":10, + "unselectedVisual": + { + "visualType": "IMAGE", + "url": "{STYLE_DIR}/images/radio-button-unselected.png" + }, + "selectedVisual": + { + "visualType": "IMAGE", + "url": "{STYLE_DIR}/images/radio-button-selected.png" + }, "label":{ "textColor": [0.1,1,1,1] } @@ -99,9 +105,9 @@ [ { "target":"imageVisual", - "property":"colorAlpha", - "initialValue":0, - "targetValue":1, + "property":"mixColor", + "initialValue":[1,1,1,0], + "targetValue":[1,1,1,1], "animator": { "alphaFunction":"EASE_IN_OUT", @@ -114,16 +120,16 @@ }, { "target":"imageVisual", - "property":"scale", - "targetValue":[1,1,1] + "property":"size", + "targetValue":[1,1] } ], "disableVisibilityTransition": [ { "target":"imageVisual", - "property":"colorAlpha", - "targetValue":0, + "property":"mixColor", + "targetValue":[1,1,1,0], "animator": { "alphaFunction":"EASE_IN_OUT", @@ -136,8 +142,92 @@ }, { "target":"imageVisual", - "property":"scale", - "targetValue":[1,1,1] + "property":"size", + "targetValue":[1,1] + } + ] + }, + "ShadowButton": + { + "backgroundVisual":{ + "visualType":"IMAGE", + "url":"{STYLE_DIR}/images/shadowButtonBg.9.png" + }, + "checkboxBgVisual":{ + "visualType":"IMAGE", + "url":"{STYLE_DIR}/images/CheckBg.png", + "transform":{ + "size":[0.09, 0.28], + "offset":[30,0], + "offsetPolicy":["ABSOLUTE", "ABSOLUTE"], + "sizePolicy":["RELATIVE", "RELATIVE"], + "origin":"CENTER_BEGIN", + "anchorPoint":"CENTER_BEGIN" + } + }, + "checkboxFgVisual":{ + "visualType":"IMAGE", + "url":"{STYLE_DIR}/images/Tick.png", + "transform":{ + "size":[0.09, 0.28], + "offset":[30,0], + "offsetPolicy":["ABSOLUTE", "ABSOLUTE"], + "sizePolicy":["RELATIVE", "RELATIVE"], + "origin":"CENTER_BEGIN", + "anchorPoint":"CENTER_BEGIN" + } + }, + "labelVisual":{ + "visualType":"TEXT", + "text":"Don't show again", + "pointSize":20, + "horizontalAlignment":"END", + "verticalAlignment":"CENTER", + "textColor":[1,1,1,1], + "mixColor":[0.3, 0.3, 0.3, 1], + "transform":{ + "size":[0.9, 0.9], + "offset":[-30,0], + "offsetPolicy":["ABSOLUTE", "ABSOLUTE"], + "sizePolicy":["RELATIVE", "RELATIVE"], + "origin":"CENTER_END", + "anchorPoint":"CENTER_END" + } + }, + "activeTransition": + [ + { + "target":"checkboxBgVisual", + "property":"size", + "initialValue":[0.09, 0.28], + "targetValue":[0.12, 0.37], + "animator": + { + "alphaFunction":"EASE_OUT_BACK", + "timePeriod": + { + "duration":0.8, + "delay":0 + } + } + } + ], + "inactiveTransition": + [ + { + "target":"checkboxBgVisual", + "property":"size", + "initialValue":[0.12, 0.37], + "targetValue":[0.09, 0.28], + "animator": + { + "alphaFunction":"EASE_OUT_BACK", + "timePeriod": + { + "duration":0.8, + "delay":0 + } + } } ] }