X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit-styling%2Fdefault-theme.json;h=6b3ddd1bdc755702115fadee72cc084229604fb7;hp=aea04227aa2762d5f1e70ff6c92c6421dc572d34;hb=e92dc54dd0580f27586bcaf04bf9fa2a6ae798dc;hpb=c67661e5069476a5ce720a31bb0b06e6c4be793e diff --git a/automated-tests/src/dali-toolkit-styling/default-theme.json b/automated-tests/src/dali-toolkit-styling/default-theme.json index aea0422..6b3ddd1 100644 --- a/automated-tests/src/dali-toolkit-styling/default-theme.json +++ b/automated-tests/src/dali-toolkit-styling/default-theme.json @@ -1,4 +1,8 @@ { + "config": + { + "alwaysShowFocus":false + }, "constants": { "CONFIG_SCRIPT_LOG_LEVEL":"NoLogging" @@ -129,7 +133,13 @@ { "visuals": { - "foregroundVisual": + "testVisual": + { + "visualType":"IMAGE", + "url":"0001.png", + "atlasing":true + }, + "testVisual2": { "visualType":"GRADIENT", "startPosition": [-1, -1], @@ -137,6 +147,18 @@ "spreadMethod": "REPEAT", "stopOffset": [0.2, 0.8], "stopColor": [ [ 1,0,0,1], [0,1,0,1] ] + }, + "foregroundVisual": + { + "visualType":"IMAGE", + "url":"theSameImage.png", + "atlasing":true + }, + "labelVisual": + { + "visualType":"TEXT", + "pointSize":8, + "text":"Some text" } } }, @@ -144,10 +166,28 @@ { "visuals": { - "foregroundVisual": + "testVisual": + { + "visualType":"IMAGE", + "url":"0002.png", + "atlasing":true + }, + "testVisual2": { "visualType":"COLOR", "mixColor": [ 1,0,0,1] + }, + "foregroundVisual": + { + "visualType":"IMAGE", + "url":"theSameImage.png", + "atlasing":true + }, + "labelVisual": + { + "visualType":"TEXT", + "pointSize":8, + "text":"Some different text" } } } @@ -178,8 +218,8 @@ }, "focusVisual": { - "visualType":"IMAGE", - "url": "focus.png" + "visualType":"NPATCH", + "url": "focus.9.png" } }, "entryTransition": @@ -217,6 +257,30 @@ }, "DISABLED": { + "states": + { + "SELECTED": + { + "visuals": + { + "testVisual": + { + "visualType":"IMAGE", + "url":"0001.png", + "atlasing":true + }, + "testVisual2": + { + "visualType":"GRADIENT", + "startPosition": [-1, -1], + "endPosition": [1, 1], + "spreadMethod": "REPEAT", + "stopOffset": [0.2, 0.8], + "stopColor": [ [ 1,0,0,1], [0,1,0,1] ] + } + } + } + }, "visuals": { "foregroundVisual": @@ -255,6 +319,12 @@ "spreadMethod": "REPEAT", "stopOffset": [0.2, 0.8], "stopColor": [ [ 1,0,0,1], [0,1,0,1] ] + }, + "labelVisual": + { + "visualType":"TEXT", + "pointSize":8, + "textColor":[1,0,1,1] } } }, @@ -271,10 +341,16 @@ "stopOffset": [0.3, 0.9], "stopColor": [ [ 0,0,1,1], [0,1,1,1] ] }, + "labelVisual": + { + "visualType":"TEXT", + "pointSize":10 + }, "focusVisual": { "visualType":"IMAGE", - "url": "focus.png" + "url": "focus.png", + "atlasing":true } }, "entryTransition": @@ -318,6 +394,12 @@ { "visualType":"COLOR", "mixColor": [1,0,0,1] + }, + "labelVisual": + { + "visualType":"TEXT", + "pointSize":9, + "textColor":[1,1,1,1] } } } @@ -333,6 +415,14 @@ } } ] + }, + "NoStateStyle": + { + "testVisual2": + { + "visualType":"COLOR", + "mixColor":[1,1,1,1] + } } } }