summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwoochan lee <wc0917.lee@samsung.com>2016-01-04 14:48:26 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-01-04 14:48:31 -0800
commit918aaaf6ae2f0e0db9af84c453774ae9dac25f95 (patch)
treec0cf8cd657bf3eca1518d9f40101c42a07db9bc8
parent128481c6cc4fa6392f96a0b57feb9673cf1abf3b (diff)
spinner: add color classes and text classes.
Summary: The following new color classes and text classes for spinner widget are added. "spinner_bg", "Spinner Background" @feature Reviewers: raster, cedric, Hermet, kimcinoo, woohyun Subscribers: SanghyeonLee, eagleeye, id213sin Differential Revision: https://phab.enlightenment.org/D3488 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--data/themes/colorclasses.edc4
-rw-r--r--data/themes/edc/elm/spinner.edc3
-rw-r--r--src/lib/elm_config.c1
3 files changed, 7 insertions, 1 deletions
diff --git a/data/themes/colorclasses.edc b/data/themes/colorclasses.edc
index 093f26fad..4fca5367e 100644
--- a/data/themes/colorclasses.edc
+++ b/data/themes/colorclasses.edc
@@ -231,6 +231,10 @@ color_classes {
231 color: WIN_DEFAULT_BASIC; 231 color: WIN_DEFAULT_BASIC;
232 desc: "Base of a scroller widget"; 232 desc: "Base of a scroller widget";
233 } 233 }
234 color_class { name: "spinner_bg";
235 color: 0 0 0 0;
236 desc: "Background of a spinner widget";
237 }
234 color_class { name: "radio_text"; 238 color_class { name: "radio_text";
235 color: FN_COL_DEFAULT; 239 color: FN_COL_DEFAULT;
236 desc: "Text of a radio widget's label"; 240 desc: "Text of a radio widget's label";
diff --git a/data/themes/edc/elm/spinner.edc b/data/themes/edc/elm/spinner.edc
index b2254bbbd..9b4257d71 100644
--- a/data/themes/edc/elm/spinner.edc
+++ b/data/themes/edc/elm/spinner.edc
@@ -9,9 +9,10 @@ group { name: "elm/spinner/base/default";
9 } 9 }
10 } 10 }
11 part { name: "bg"; 11 part { name: "bg";
12 type: SPACER; 12 type: RECT;
13 scale: 1; 13 scale: 1;
14 description { state: "default" 0.0; 14 description { state: "default" 0.0;
15 color_class: "spinner_bg";
15 } 16 }
16 } 17 }
17 part { name: "inset"; mouse_events: 0; 18 part { name: "inset"; mouse_events: 0;
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index 0f0b12c95..991ecd2c5 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -134,6 +134,7 @@ static const Elm_Color_Class _elm_color_classes[] = {
134 {"slider_text", "Slider Text"}, 134 {"slider_text", "Slider Text"},
135 {"slider_text_disabled", "Slider Disabled Text"}, 135 {"slider_text_disabled", "Slider Disabled Text"},
136 {"slider_indicator", "Slider Indicator Text"}, 136 {"slider_indicator", "Slider Indicator Text"},
137 {"spinner_bg", "Spinner Background"},
137 {"progressbar_text", "Progressbar Text"}, 138 {"progressbar_text", "Progressbar Text"},
138 {"progressbar_text_disabled", "Progressbar Disabled Text"}, 139 {"progressbar_text_disabled", "Progressbar Disabled Text"},
139 {"progressbar_status", "Progressbar Status Text"}, 140 {"progressbar_status", "Progressbar Status Text"},