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=30edbfd3f347a92ecf1605c9f70de2e6a0e3f270;hp=aea04227aa2762d5f1e70ff6c92c6421dc572d34;hb=76f9ffa0234acd1b72f3d92c631052a5b4147a83;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..30edbfd 100644 --- a/automated-tests/src/dali-toolkit-styling/default-theme.json +++ b/automated-tests/src/dali-toolkit-styling/default-theme.json @@ -1,4 +1,9 @@ { + "config": + { + "alwaysShowFocus":false, + "clearFocusOnEscape":true + }, "constants": { "CONFIG_SCRIPT_LOG_LEVEL":"NoLogging" @@ -129,7 +134,13 @@ { "visuals": { - "foregroundVisual": + "testVisual": + { + "visualType":"IMAGE", + "url":"0001.png", + "atlasing":true + }, + "testVisual2": { "visualType":"GRADIENT", "startPosition": [-1, -1], @@ -137,6 +148,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 +167,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 +219,8 @@ }, "focusVisual": { - "visualType":"IMAGE", - "url": "focus.png" + "visualType":"NPATCH", + "url": "focus.9.png" } }, "entryTransition": @@ -217,6 +258,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 +320,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 +342,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 +395,12 @@ { "visualType":"COLOR", "mixColor": [1,0,0,1] + }, + "labelVisual": + { + "visualType":"TEXT", + "pointSize":9, + "textColor":[1,1,1,1] } } } @@ -333,6 +416,14 @@ } } ] + }, + "NoStateStyle": + { + "testVisual2": + { + "visualType":"COLOR", + "mixColor":[1,1,1,1] + } } } }