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>
This commit is contained in:
woochan lee 2016-01-04 14:48:26 -08:00 committed by Cedric BAIL
parent 71a2576531
commit b9672e6d2a
3 changed files with 7 additions and 1 deletions

View File

@ -231,6 +231,10 @@ color_classes {
color: WIN_DEFAULT_BASIC;
desc: "Base of a scroller widget";
}
color_class { name: "spinner_bg";
color: 0 0 0 0;
desc: "Background of a spinner widget";
}
color_class { name: "radio_text";
color: FN_COL_DEFAULT;
desc: "Text of a radio widget's label";

View File

@ -9,9 +9,10 @@ group { name: "elm/spinner/base/default";
}
}
part { name: "bg";
type: SPACER;
type: RECT;
scale: 1;
description { state: "default" 0.0;
color_class: "spinner_bg";
}
}
part { name: "inset"; mouse_events: 0;

View File

@ -134,6 +134,7 @@ static const Elm_Color_Class _elm_color_classes[] = {
{"slider_text", "Slider Text"},
{"slider_text_disabled", "Slider Disabled Text"},
{"slider_indicator", "Slider Indicator Text"},
{"spinner_bg", "Spinner Background"},
{"progressbar_text", "Progressbar Text"},
{"progressbar_text_disabled", "Progressbar Disabled Text"},
{"progressbar_status", "Progressbar Status Text"},