summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumanth <sumanth.m@samsung.com>2012-08-17 16:07:15 +0530
committersumanth <sumanth.m@samsung.com>2012-08-17 16:07:15 +0530
commit02dbbc276dfa8b3565778df752ab33c0169d07bf (patch)
treeebf5611f41255fecc5fd45ccd4f44557359f9b3f
parent78154774450ce91cbd4eea2cf356773e6a2d69c1 (diff)
downloadefl-theme-tizen-02dbbc276dfa8b3565778df752ab33c0169d07bf.tar.gz
efl-theme-tizen-02dbbc276dfa8b3565778df752ab33c0169d07bf.tar.bz2
efl-theme-tizen-02dbbc276dfa8b3565778df752ab33c0169d07bf.zip
[slider.edc] Slider disabled style is changed as per white-theme GUI v1.3
Change-Id: If23e9721e453702698ee5614e6d491f82a094fbe
-rw-r--r--themes/inc/tizen-hd-inc.edc1
-rw-r--r--themes/widgets/slider.edc32
2 files changed, 28 insertions, 5 deletions
diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc
index eaa14866..2901bc4b 100644
--- a/themes/inc/tizen-hd-inc.edc
+++ b/themes/inc/tizen-hd-inc.edc
@@ -1047,7 +1047,6 @@
#define SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC 48
#define SLIDER_EBOOK_INDICATOR_WIDTH_INC 54
#define SLIDER_EBOOK_INDICATOR_HEIGHT_INC 54
-#define SLIDER_DISABLER_PART_COLOR_INC 185 185 185 100
#define TICKER_NOTI_DEFAULT_TEXT_COLOR_INC "#f4f4f4"
#define TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC "#c5c5c5"
diff --git a/themes/widgets/slider.edc b/themes/widgets/slider.edc
index b55b5681..c9df83f1 100644
--- a/themes/widgets/slider.edc
+++ b/themes/widgets/slider.edc
@@ -68,6 +68,7 @@
part { name: "level";
mouse_events: 0;
scale: 1;
+ clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "base";
@@ -93,6 +94,7 @@
part { name: "level2";
mouse_events: 0;
scale: 1;
+ clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
@@ -344,14 +346,22 @@
description { state: "default" 0.0;
visible: 0;
min: 1 1;
- align: 0.5 0.5;
- color: SLIDER_DISABLER_PART_COLOR_INC;
+ color: 0 0 0 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 102;
+ }
+ }
}
programs {
program { name: "text_show";
@@ -437,12 +447,14 @@
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disabler";
+ target: "clipper";
}
program { name: "slider_enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
+ target: "clipper";
}
}
}
@@ -2535,6 +2547,7 @@
part { name: "level";
mouse_events: 0;
scale: 1;
+ clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "base";
@@ -2559,6 +2572,7 @@
part { name: "level2";
mouse_events: 0;
scale: 1;
+ clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
@@ -2784,14 +2798,22 @@
scale: 1;
description { state: "default" 0.0;
visible: 0;
- min: 1 1;
- color: SLIDER_DISABLER_PART_COLOR_INC;
+ color: 0 0 0 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ color: 255 255 255 102;
+ }
+ }
}
programs {
program { name: "text_show";
@@ -2877,12 +2899,14 @@
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disabler";
+ target: "clipper";
}
program { name: "slider_enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
+ target: "clipper";
}
}
}