diff options
author | artem.popov <artem.popov@samsung.com> | 2012-07-19 12:14:42 +0300 |
---|---|---|
committer | artem.popov <artem.popov@samsung.com> | 2012-07-19 12:14:42 +0300 |
commit | 60678754513dfc29b9c5c098993e83c7919bdc5d (patch) | |
tree | 6c20a55fb79f98f67be4c3ccd4174b1f46e2a34b | |
parent | 3c570e7e054ecee0dc9c705ed0f6de34b0a4ce17 (diff) | |
download | efl-theme-tizen-60678754513dfc29b9c5c098993e83c7919bdc5d.tar.gz efl-theme-tizen-60678754513dfc29b9c5c098993e83c7919bdc5d.tar.bz2 efl-theme-tizen-60678754513dfc29b9c5c098993e83c7919bdc5d.zip |
[Scroller] added new MACRO for images, sizes, borders
Change-Id: Iaaec423a89693fc975c0cdb512357b51bcdad969
-rw-r--r-- | themes/inc/tizen-hd-inc.edc | 6 | ||||
-rw-r--r-- | themes/widgets/scroller.edc | 15 |
2 files changed, 14 insertions, 7 deletions
diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc index c2b08677..075c47f8 100644 --- a/themes/inc/tizen-hd-inc.edc +++ b/themes/inc/tizen-hd-inc.edc @@ -1212,8 +1212,14 @@ #define TICKERNOTI_BG_PADDING_AFTER_ICON_INC 15 0 #define TICKERNOTI_INFO_TEXT_FONT_SIZE_INC 28 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png" +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 2 2 2 2 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 2 2 2 2 #define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC 10 80 +#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC 10 99999 #define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC 80 10 +#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 10 #define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC 48 214 #define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC 214 48 #define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 48 26 diff --git a/themes/widgets/scroller.edc b/themes/widgets/scroller.edc index 43cb97ca..e46cf5b7 100644 --- a/themes/widgets/scroller.edc +++ b/themes/widgets/scroller.edc @@ -57,7 +57,8 @@ group { name: "elm/scroller/base/default"; } } images { - image: "00_scroll_bar.png" COMP; + image: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE COMP; + image: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE COMP; } parts { part { name: "bg"; @@ -149,7 +150,7 @@ group { name: "elm/scroller/base/default"; description { state: "default" 0.0; fixed: 1 1; min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC; - max: 10 99999; + max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC; rel1 { relative: 0.5 0.5; offset: 0 0; @@ -161,8 +162,8 @@ group { name: "elm/scroller/base/default"; to: "sb_vbar"; } image { - normal: "00_scroll_bar.png"; - border: 2 2 2 2; + normal: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE; + border: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER; border_scale: 1; middle: DEFAULT; } @@ -226,7 +227,7 @@ group { name: "elm/scroller/base/default"; description { state: "default" 0.0; fixed: 1 1; min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC; - max: 99999 10; + max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC; rel1 { relative: 0.5 0.5; offset: 0 0; @@ -238,8 +239,8 @@ group { name: "elm/scroller/base/default"; to: "sb_hbar"; } image { - normal: "00_scroll_bar.png"; - border: 2 2 2 2; + normal: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE; + border: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER; border_scale: 1; middle: DEFAULT; } |