diff options
author | shilpa singh <shilpa.singh@samsung.com> | 2012-01-10 15:57:02 +0530 |
---|---|---|
committer | shilpa singh <shilpa.singh@samsung.com> | 2012-01-11 14:53:11 +0530 |
commit | a553277ee7580289f08b3cbb10318e40613584e0 (patch) | |
tree | 2a8472b142bd71c5fac5e76412aa80e4ab8a7c92 | |
parent | 526f4b42163db053309d760b2a36a5a46de4c765 (diff) | |
download | efl-theme-tizen-a553277ee7580289f08b3cbb10318e40613584e0.tar.gz efl-theme-tizen-a553277ee7580289f08b3cbb10318e40613584e0.tar.bz2 efl-theme-tizen-a553277ee7580289f08b3cbb10318e40613584e0.zip |
[elc_naviframe]: GUIv0.9 modifications. 1. arrow image based changes.
2. resizing button based changes 3. text alignment based on resizing
button 4. backbutton changes
change-id: Ia3eb392ed05ffb3b8881d71628962ca98637c391
-rw-r--r-- | themes/images/tizen-black-hd/00_winset_control_top_arrow.png (renamed from themes/images/tizen-black-hd/naviframe_optionheader_arrow.png) | bin | 3206 -> 3206 bytes | |||
-rwxr-xr-x[-rw-r--r--] | themes/images/tizen-black-hd/00_winset_control_top_bg.png (renamed from themes/images/tizen-black-hd/naviframe_optionheader.png) | bin | 2788 -> 2788 bytes | |||
-rw-r--r-- | themes/images/tizen-black/00_winset_control_top_arrow.png (renamed from themes/images/tizen-black/naviframe_optionheader_arrow.png) | bin | 330 -> 330 bytes | |||
-rw-r--r-- | themes/images/tizen-black/00_winset_control_top_bg.png (renamed from themes/images/tizen-black/naviframe_optionheader.png) | bin | 152 -> 152 bytes | |||
-rw-r--r-- | themes/images/tizen-hd/00_winset_control_top_arrow.png (renamed from themes/images/tizen-hd/naviframe_optionheader_arrow.png) | bin | 3198 -> 3198 bytes | |||
-rw-r--r-- | themes/images/tizen-hd/00_winset_control_top_bg.png (renamed from themes/images/tizen-hd/naviframe_optionheader.png) | bin | 2791 -> 2791 bytes | |||
-rw-r--r-- | themes/images/tizen/00_winset_control_top_arrow.png (renamed from themes/images/tizen/naviframe_optionheader_arrow.png) | bin | 3017 -> 3017 bytes | |||
-rw-r--r-- | themes/images/tizen/00_winset_control_top_bg.png (renamed from themes/images/tizen/naviframe_optionheader.png) | bin | 152 -> 152 bytes | |||
-rw-r--r-- | themes/inc/tizen-black-hd-inc.edc | 2 | ||||
-rw-r--r-- | themes/inc/tizen-black-inc.edc | 2 | ||||
-rw-r--r-- | themes/inc/tizen-hd-inc.edc | 2 | ||||
-rw-r--r-- | themes/inc/tizen-inc.edc | 2 | ||||
-rw-r--r-- | themes/widgets/naviframe.edc | 902 |
13 files changed, 467 insertions, 443 deletions
diff --git a/themes/images/tizen-black-hd/naviframe_optionheader_arrow.png b/themes/images/tizen-black-hd/00_winset_control_top_arrow.png Binary files differindex ef7c585e..ef7c585e 100644 --- a/themes/images/tizen-black-hd/naviframe_optionheader_arrow.png +++ b/themes/images/tizen-black-hd/00_winset_control_top_arrow.png diff --git a/themes/images/tizen-black-hd/naviframe_optionheader.png b/themes/images/tizen-black-hd/00_winset_control_top_bg.png Binary files differindex e90f19c2..e90f19c2 100644..100755 --- a/themes/images/tizen-black-hd/naviframe_optionheader.png +++ b/themes/images/tizen-black-hd/00_winset_control_top_bg.png diff --git a/themes/images/tizen-black/naviframe_optionheader_arrow.png b/themes/images/tizen-black/00_winset_control_top_arrow.png Binary files differindex 45991cac..45991cac 100644 --- a/themes/images/tizen-black/naviframe_optionheader_arrow.png +++ b/themes/images/tizen-black/00_winset_control_top_arrow.png diff --git a/themes/images/tizen-black/naviframe_optionheader.png b/themes/images/tizen-black/00_winset_control_top_bg.png Binary files differindex 60e888ce..60e888ce 100644 --- a/themes/images/tizen-black/naviframe_optionheader.png +++ b/themes/images/tizen-black/00_winset_control_top_bg.png diff --git a/themes/images/tizen-hd/naviframe_optionheader_arrow.png b/themes/images/tizen-hd/00_winset_control_top_arrow.png Binary files differindex f679c14f..f679c14f 100644 --- a/themes/images/tizen-hd/naviframe_optionheader_arrow.png +++ b/themes/images/tizen-hd/00_winset_control_top_arrow.png diff --git a/themes/images/tizen-hd/naviframe_optionheader.png b/themes/images/tizen-hd/00_winset_control_top_bg.png Binary files differindex 5e06ea0a..5e06ea0a 100644 --- a/themes/images/tizen-hd/naviframe_optionheader.png +++ b/themes/images/tizen-hd/00_winset_control_top_bg.png diff --git a/themes/images/tizen/naviframe_optionheader_arrow.png b/themes/images/tizen/00_winset_control_top_arrow.png Binary files differindex 52cc727b..52cc727b 100644 --- a/themes/images/tizen/naviframe_optionheader_arrow.png +++ b/themes/images/tizen/00_winset_control_top_arrow.png diff --git a/themes/images/tizen/naviframe_optionheader.png b/themes/images/tizen/00_winset_control_top_bg.png Binary files differindex cf080bb8..cf080bb8 100644 --- a/themes/images/tizen/naviframe_optionheader.png +++ b/themes/images/tizen/00_winset_control_top_bg.png diff --git a/themes/inc/tizen-black-hd-inc.edc b/themes/inc/tizen-black-hd-inc.edc index 90b0fc50..1480ec0e 100644 --- a/themes/inc/tizen-black-hd-inc.edc +++ b/themes/inc/tizen-black-hd-inc.edc @@ -37,8 +37,8 @@ #define NAVIFRAME_PREV_BTN_W_INC 124 #define NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 10 #define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 124 80 +#define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 144 #define NAVIFRAME_TEXT_PADDING_INC 144 -#define NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 278 #define NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 52 #define NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 186 #define NAVIFRAME_TITLE_SEGMENT_H_INC 74 diff --git a/themes/inc/tizen-black-inc.edc b/themes/inc/tizen-black-inc.edc index f26260d0..548b6906 100644 --- a/themes/inc/tizen-black-inc.edc +++ b/themes/inc/tizen-black-inc.edc @@ -37,9 +37,9 @@ #define NAVIFRAME_PREV_BTN_W_INC 82 #define NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 6 #define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 100 53 +#define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 96 #define NAVIFRAME_TEXT_PADDING_INC 112 #define NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 38 -#define NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 218 #define NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 144 #define NAVIFRAME_TITLE_SEGMENT_H_INC 49 #define NAVIFRAME_TITLE_SEGMENT_FONT_SIZE_INC 18 diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc index b38e33ec..1e6155cd 100644 --- a/themes/inc/tizen-hd-inc.edc +++ b/themes/inc/tizen-hd-inc.edc @@ -37,9 +37,9 @@ #define NAVIFRAME_PREV_BTN_W_INC 124 #define NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 10 #define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 124 80 +#define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 144 #define NAVIFRAME_TEXT_PADDING_INC 144 #define NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 52 -#define NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 278 #define NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 186 #define NAVIFRAME_TITLE_SEGMENT_H_INC 74 #define NAVIFRAME_TITLE_SEGMENT_FONT_SIZE_INC 28 diff --git a/themes/inc/tizen-inc.edc b/themes/inc/tizen-inc.edc index 0291ce84..172b44a0 100644 --- a/themes/inc/tizen-inc.edc +++ b/themes/inc/tizen-inc.edc @@ -37,9 +37,9 @@ #define NAVIFRAME_PREV_BTN_W_INC 83 #define NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 6 #define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 100 53 +#define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 96 #define NAVIFRAME_TEXT_PADDING_INC 112 #define NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 38 -#define NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 218 #define NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 144 #define NAVIFRAME_TITLE_SEGMENT_H_INC 49 #define NAVIFRAME_TITLE_SEGMENT_FONT_SIZE_INC 18 diff --git a/themes/widgets/naviframe.edc b/themes/widgets/naviframe.edc index ecf7e8c1..405ae9cd 100644 --- a/themes/widgets/naviframe.edc +++ b/themes/widgets/naviframe.edc @@ -29,8 +29,8 @@ group { name:"elm/naviframe/item/basic/default"; alias:"elm/naviframe/item/1line/default"; images { - image: "naviframe_optionheader.png" COMP; - image: "naviframe_optionheader_arrow.png" COMP; + image: "00_winset_control_top_bg.png" COMP; + image: "00_winset_control_top_arrow.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -97,7 +97,7 @@ rel1.relative: 0 1; rel2.to: "title_bg"; visible: 0; - image { normal: "naviframe_optionheader.png"; + image { normal: "00_winset_control_top_bg.png"; border: 0 0 4 0; } } @@ -195,6 +195,32 @@ visible: 0; } } + part { name: "padding_after_left_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.swallow.left_btn"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.left_btn"; } + visible: 0; + } + } + part { name: "padding_before_more_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "elm.swallow.more_btn"; } + rel2 { relative: 0.0 1.0; to: "elm.swallow.more_btn"; } + visible: 0; + } + } part { name: "padding_after_right_btn"; type: RECT; mouse_events: 0; @@ -284,10 +310,6 @@ inherit: "default" 0.0; min: NAVIFRAME_TEXT_PADDING_INC 0; } - description { state: "right_and_more_button" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 0; - } } part { name: "elm.text.title"; type: TEXT; @@ -302,10 +324,13 @@ } color: NAVIFRAME_TITLE_TEXT_COLOR_INC; align: 0.5 0.5; - rel1.to: "padding_center_text1"; - rel1.relative: 1 0; - rel2.to: "padding_center_text2"; - rel2.relative: 0 1; + rel1 { relative: 1.0 0.0; to: "padding_center_text1"; } + rel2 { relative: 0.0 1.0; to: "padding_center_text2"; } + } + description { state: "right_and_more_button" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "padding_after_left_btn"; } + rel2 { relative: 0.0 1.0; to: "padding_before_more_btn"; } } } part { name: "elm.swallow.icon"; @@ -333,7 +358,6 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; fixed: 1 1; align: 0 0.5; @@ -346,36 +370,24 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; align: 1 0.5; - fixed: 1 0; + fixed: 1 1; rel1 { relative: 0.0 0.0; to: "padding_after_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_after_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.more_btn"; type: SWALLOW; scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; - fixed: 1 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; align: 1 0.5; rel1 { relative: 0.0 0.0; to: "padding_before_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_before_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "optionheader_arrow"; type: IMAGE; @@ -384,19 +396,15 @@ min: NAVIFRAME_OH_ARROW_SIZE_INC; max: NAVIFRAME_OH_ARROW_SIZE_INC; fixed: 1 1; - align: 0.5 0; - rel1.to: "elm.swallow.more_btn"; - rel1.relative: 0 1; - rel2.to: "elm.swallow.more_btn"; - rel2.relative: 1 1; - image { - normal: "naviframe_optionheader_arrow.png"; - } - visible: 0; + align: 0.5 0.0; + rel1 { relative: 0.0 1.025; to: "elm.swallow.more_btn"; } + rel2 { relative: 1.0 1.025; to: "elm.swallow.more_btn"; } + image.normal: "00_winset_control_top_arrow.png"; + color: 255 255 255 0; } description { state: "show" 0.0; inherit: "default" 0.0; - visible: 1; + color: 255 255 255 255; } } part { name: "controlbar_bg"; @@ -423,8 +431,22 @@ type: RECT; mouse_events: 0; description { state: "default" 0.0; - rel1 { to: "controlbar_bg"; } - rel2 { to: "controlbar_bg"; } + rel1.to: "controlbar_bg"; + rel2.to: "controlbar_bg"; + } + } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; } } part { name: "elm.swallow.prev_btn"; @@ -433,11 +455,9 @@ clip_to: "controlbar_clip"; description { state: "default" 0.0; fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; } } part { name: "elm.swallow.controlbar"; @@ -445,10 +465,8 @@ scale: 1; clip_to: "controlbar_clip"; description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } } } part { name: "padding_after_controlbar"; @@ -584,7 +602,7 @@ else set_state(PART:"padding_center_text1", "visible", 0.0); if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } else { @@ -621,9 +639,8 @@ source: "elm"; script { set_int(right_btn_visible, 1); - set_state(PART:"elm.swallow.right_btn", "visible", 0.0); if (get_int(more_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -647,7 +664,6 @@ source: "elm"; script { set_int(right_btn_visible, 0); - set_state(PART:"elm.swallow.right_btn", "default", 0.0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { set_state(PART:"padding_center_text2", "default", 0.0); @@ -671,10 +687,9 @@ signal: "elm,state,elm.swallow.more_btn,show"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "visible", 0.0); set_int(more_btn_visible, 1); if (get_int(right_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -697,7 +712,6 @@ signal: "elm,state,elm.swallow.more_btn,hide"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "default", 0.0); set_int(more_btn_visible, 0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { @@ -887,8 +901,8 @@ group { name:"elm/naviframe/item/basic2/default"; alias:"elm/naviframe/item/2line/default"; images { - image: "naviframe_optionheader.png" COMP; - image: "naviframe_optionheader_arrow.png" COMP; + image: "00_winset_control_top_bg.png" COMP; + image: "00_winset_control_top_arrow.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -955,7 +969,7 @@ rel1.relative: 0 1; rel2.to: "title_bg"; visible: 0; - image { normal: "naviframe_optionheader.png"; + image { normal: "00_winset_control_top_bg.png"; border: 0 0 4 0; } } @@ -1078,6 +1092,32 @@ visible: 0; } } + part { name: "padding_after_left_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.swallow.left_btn"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.left_btn"; } + visible: 0; + } + } + part { name: "padding_before_more_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "elm.swallow.more_btn"; } + rel2 { relative: 0.0 1.0; to: "elm.swallow.more_btn"; } + visible: 0; + } + } part { name: "padding_after_right_btn"; type: RECT; mouse_events: 0; @@ -1167,10 +1207,6 @@ inherit: "default" 0.0; min: NAVIFRAME_TEXT_PADDING_INC 0; } - description { state: "right_and_more_button" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 0; - } } part { name: "elm.text.title"; type: TEXT; @@ -1185,10 +1221,13 @@ } color: NAVIFRAME_TITLE_TEXT_COLOR_INC; align: 0.5 0.5; - rel1.to: "padding_center_text1"; - rel1.relative: 1 0; - rel2.to: "padding_center_text2"; - rel2.relative: 0 1; + rel1 { relative: 1.0 0.0; to: "padding_center_text1"; } + rel2 { relative: 0.0 1.0; to: "padding_center_text2"; } + } + description { state: "right_and_more_button" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "padding_after_left_btn"; } + rel2 { relative: 0.0 1.0; to: "padding_before_more_btn"; } } } part { name: "elm.swallow.icon"; @@ -1216,7 +1255,6 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; fixed: 1 1; align: 0 0.5; @@ -1229,36 +1267,24 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; align: 1 0.5; - fixed: 1 0; + fixed: 1 1; rel1 { relative: 0.0 0.0; to: "padding_after_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_after_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.more_btn"; type: SWALLOW; scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; fixed: 1 0; align: 1 0.5; rel1 { relative: 0.0 0.0; to: "padding_before_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_before_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "optionheader_arrow"; type: IMAGE; @@ -1267,19 +1293,15 @@ min: NAVIFRAME_OH_ARROW_SIZE_INC; max: NAVIFRAME_OH_ARROW_SIZE_INC; fixed: 1 1; - align: 0.5 0; - rel1.to: "elm.swallow.more_btn"; - rel1.relative: 0 1; - rel2.to: "elm.swallow.more_btn"; - rel2.relative: 1 1; - image { - normal: "naviframe_optionheader_arrow.png"; - } - color: 255 255 255 0 ; + align: 0.5 0.0; + rel1 { relative: 0.0 1.025; to: "elm.swallow.more_btn"; } + rel2 { relative: 1.0 1.025; to: "elm.swallow.more_btn"; } + image.normal: "00_winset_control_top_arrow.png"; + color: 255 255 255 0; } description { state: "show" 0.0; inherit: "default" 0.0; - color: 255 255 255 255; + color: 255 255 255 255; } } part { name: "controlbar_bg"; @@ -1310,30 +1332,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; @@ -1467,7 +1499,7 @@ else set_state(PART:"padding_center_text1", "visible", 0.0); if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } else { @@ -1504,9 +1536,8 @@ source: "elm"; script { set_int(right_btn_visible, 1); - set_state(PART:"elm.swallow.right_btn", "visible", 0.0); if (get_int(more_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -1530,7 +1561,6 @@ source: "elm"; script { set_int(right_btn_visible, 0); - set_state(PART:"elm.swallow.right_btn", "default", 0.0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { set_state(PART:"padding_center_text2", "default", 0.0); @@ -1554,10 +1584,9 @@ signal: "elm,state,elm.swallow.more_btn,show"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "visible", 0.0); set_int(more_btn_visible, 1); if (get_int(right_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -1580,7 +1609,6 @@ signal: "elm,state,elm.swallow.more_btn,hide"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "default", 0.0); set_int(more_btn_visible, 0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { @@ -1946,8 +1974,8 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; - fixed: 1 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; align: 0 0; rel1.relative: 1.0 1.0; rel1.to_x: "padding_before_left_btn"; @@ -1956,21 +1984,15 @@ rel2.to_x: "padding_before_left_btn"; rel2.to_y: "elm.text.title"; } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.right_btn"; type: SWALLOW; scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; - align: 1 0; - fixed: 1 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + align: 1 0.0; + fixed: 1 1; rel1.relative: 0.0 1.0; rel1.to_x: "padding_after_right_btn"; rel1.to_y: "elm.text.title"; @@ -1978,12 +2000,6 @@ rel2.to_x: "padding_after_right_btn"; rel2.to_y: "elm.text.title"; } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.segment2"; type: "SWALLOW"; @@ -2047,30 +2063,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; @@ -2183,30 +2209,6 @@ emit("elm,state,controlbar_bg,hide", "elm"); } } - program { name: "left_btn_show"; - signal: "elm,state,elm.swallow.left_btn,show"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.swallow.left_btn"; - } - program { name: "left_btn_hide"; - signal: "elm,state,elm.swallow.left_btn,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.left_btn"; - } - program { name: "right_btn_show"; - signal: "elm,state,elm.swallow.right_btn,show"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.swallow.right_btn"; - } - program { name: "right_btn_hide"; - signal: "elm,state,elm.swallow.right_btn,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.right_btn"; - } program { name: "controlbar_show"; signal: "elm,state,elm.swallow.controlbar,show"; source: "elm"; @@ -2357,30 +2359,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; @@ -2564,8 +2576,8 @@ alias:"elm/naviframe/item/1line/instant/default"; alias:"elm/naviframe/item/instant/default"; images { - image: "naviframe_optionheader.png" COMP; - image: "naviframe_optionheader_arrow.png" COMP; + image: "00_winset_control_top_bg.png" COMP; + image: "00_winset_control_top_arrow.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -2615,7 +2627,7 @@ rel1.relative: 0 1; rel2.to: "title_bg"; visible: 0; - image { normal: "naviframe_optionheader.png"; + image { normal: "00_winset_control_top_bg.png"; border: 0 0 4 0; } } @@ -2711,6 +2723,32 @@ visible: 0; } } + part { name: "padding_after_left_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.swallow.left_btn"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.left_btn"; } + visible: 0; + } + } + part { name: "padding_before_more_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "elm.swallow.more_btn"; } + rel2 { relative: 0.0 1.0; to: "elm.swallow.more_btn"; } + visible: 0; + } + } part { name: "padding_after_right_btn"; type: RECT; mouse_events: 0; @@ -2800,10 +2838,6 @@ inherit: "default" 0.0; min: NAVIFRAME_TEXT_PADDING_INC 0; } - description { state: "right_and_more_button" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 0; - } } part { name: "elm.text.title"; type: TEXT; @@ -2818,10 +2852,13 @@ } color: NAVIFRAME_TITLE_TEXT_COLOR_INC; align: 0.5 0.5; - rel1.to: "padding_center_text1"; - rel1.relative: 1 0; - rel2.to: "padding_center_text2"; - rel2.relative: 0 1; + rel1 { relative: 1.0 0.0; to: "padding_center_text1"; } + rel2 { relative: 0.0 1.0; to: "padding_center_text2"; } + } + description { state: "right_and_more_button" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "padding_after_left_btn"; } + rel2 { relative: 0.0 1.0; to: "padding_before_more_btn"; } } } part { name: "elm.swallow.icon"; @@ -2849,7 +2886,6 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; fixed: 1 1; align: 0 0.5; @@ -2862,36 +2898,24 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; align: 1 0.5; - fixed: 1 0; + fixed: 1 1; rel1 { relative: 0.0 0.0; to: "padding_after_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_after_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.more_btn"; type: SWALLOW; scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; - fixed: 1 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; align: 1 0.5; rel1 { relative: 0.0 0.0; to: "padding_before_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_before_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "optionheader_arrow"; type: IMAGE; @@ -2900,19 +2924,15 @@ min: NAVIFRAME_OH_ARROW_SIZE_INC; max: NAVIFRAME_OH_ARROW_SIZE_INC; fixed: 1 1; - align: 0.5 0; - rel1.to: "elm.swallow.more_btn"; - rel1.relative: 0 1; - rel2.to: "elm.swallow.more_btn"; - rel2.relative: 1 1; - image { - normal: "naviframe_optionheader_arrow.png"; - } - color: 255 255 255 0 ; + align: 0.5 0.0; + rel1 { relative: 0.0 1.025; to: "elm.swallow.more_btn"; } + rel2 { relative: 1.0 1.025; to: "elm.swallow.more_btn"; } + image.normal: "00_winset_control_top_arrow.png"; + color: 255 255 255 0; } description { state: "show" 0.0; inherit: "default" 0.0; - color: 255 255 255 255; + color: 255 255 255 255; } } part { name: "controlbar_bg"; @@ -2941,30 +2961,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; @@ -3048,7 +3078,7 @@ else set_state(PART:"padding_center_text1", "visible", 0.0); if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } else { @@ -3085,9 +3115,8 @@ source: "elm"; script { set_int(right_btn_visible, 1); - set_state(PART:"elm.swallow.right_btn", "visible", 0.0); if (get_int(more_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -3111,7 +3140,6 @@ source: "elm"; script { set_int(right_btn_visible, 0); - set_state(PART:"elm.swallow.right_btn", "default", 0.0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { set_state(PART:"padding_center_text2", "default", 0.0); @@ -3135,10 +3163,9 @@ signal: "elm,state,elm.swallow.more_btn,show"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "visible", 0.0); set_int(more_btn_visible, 1); if (get_int(right_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -3161,7 +3188,6 @@ signal: "elm,state,elm.swallow.more_btn,hide"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "default", 0.0); set_int(more_btn_visible, 0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { @@ -3352,8 +3378,8 @@ alias:"elm/naviframe/item/2line/instant/default"; alias:"elm/naviframe/item/instant2/default"; images { - image: "naviframe_optionheader.png" COMP; - image: "naviframe_optionheader_arrow.png" COMP; + image: "00_winset_control_top_bg.png" COMP; + image: "00_winset_control_top_arrow.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -3403,7 +3429,7 @@ rel1.relative: 0 1; rel2.to: "title_bg"; visible: 0; - image { normal: "naviframe_optionheader.png"; + image { normal: "00_winset_control_top_bg.png"; border: 0 0 4 0; } } @@ -3524,6 +3550,32 @@ visible: 0; } } + part { name: "padding_after_left_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 0 0.5; + rel1 { relative: 1.0 0.0; to: "elm.swallow.left_btn"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.left_btn"; } + visible: 0; + } + } + part { name: "padding_before_more_btn"; + type: RECT; + scale: 1; + clip_to: "title_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0; + fixed: 1 0; + align: 1.0 0.5; + rel1 { relative: 0.0 0.0; to: "elm.swallow.more_btn"; } + rel2 { relative: 0.0 1.0; to: "elm.swallow.more_btn"; } + visible: 0; + } + } part { name: "padding_after_right_btn"; type: RECT; mouse_events: 0; @@ -3613,10 +3665,6 @@ inherit: "default" 0.0; min: NAVIFRAME_TEXT_PADDING_INC 0; } - description { state: "right_and_more_button" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 0; - } } part { name: "elm.text.title"; type: TEXT; @@ -3631,10 +3679,13 @@ } color: NAVIFRAME_TITLE_TEXT_COLOR_INC; align: 0.5 0.5; - rel1.to: "padding_center_text1"; - rel1.relative: 1 0; - rel2.to: "padding_center_text2"; - rel2.relative: 0 1; + rel1 { relative: 1.0 0.0; to: "padding_center_text1"; } + rel2 { relative: 0.0 1.0; to: "padding_center_text2"; } + } + description { state: "right_and_more_button" 0.0; + inherit: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "padding_after_left_btn"; } + rel2 { relative: 0.0 1.0; to: "padding_before_more_btn"; } } } part { name: "elm.swallow.icon"; @@ -3662,7 +3713,6 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; fixed: 1 1; align: 0 0.5; @@ -3675,36 +3725,24 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; align: 1 0.5; - fixed: 1 0; + fixed: 1 1; rel1 { relative: 0.0 0.0; to: "padding_after_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_after_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.more_btn"; type: SWALLOW; scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; fixed: 1 0; align: 1 0.5; rel1 { relative: 0.0 0.0; to: "padding_before_right_btn"; } rel2 { relative: 0.0 1.0; to: "padding_before_right_btn"; } } - description { state: "visible" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "optionheader_arrow"; type: IMAGE; @@ -3713,19 +3751,15 @@ min: NAVIFRAME_OH_ARROW_SIZE_INC; max: NAVIFRAME_OH_ARROW_SIZE_INC; fixed: 1 1; - align: 0.5 0; - rel1.to: "elm.swallow.more_btn"; - rel1.relative: 0 1; - rel2.to: "elm.swallow.more_btn"; - rel2.relative: 1 1; - image { - normal: "naviframe_optionheader_arrow.png"; - } - color: 255 255 255 0 ; + align: 0.5 0.0; + rel1 { relative: 0.0 1.025; to: "elm.swallow.more_btn"; } + rel2 { relative: 1.0 1.025; to: "elm.swallow.more_btn"; } + image.normal: "00_winset_control_top_arrow.png"; + color: 255 255 255 0; } description { state: "show" 0.0; inherit: "default" 0.0; - color: 255 255 255 255; + color: 255 255 255 255; } } part { name: "controlbar_bg"; @@ -3754,30 +3788,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; @@ -3861,7 +3905,7 @@ else set_state(PART:"padding_center_text1", "visible", 0.0); if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } else { @@ -3898,9 +3942,8 @@ source: "elm"; script { set_int(right_btn_visible, 1); - set_state(PART:"elm.swallow.right_btn", "visible", 0.0); if (get_int(more_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -3924,7 +3967,6 @@ source: "elm"; script { set_int(right_btn_visible, 0); - set_state(PART:"elm.swallow.right_btn", "default", 0.0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { set_state(PART:"padding_center_text2", "default", 0.0); @@ -3948,10 +3990,9 @@ signal: "elm,state,elm.swallow.more_btn,show"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "visible", 0.0); set_int(more_btn_visible, 1); if (get_int(right_btn_visible) == 1) { - set_state(PART:"padding_center_text2", "right_and_more_button", 0.0); + set_state(PART:"elm.text.title", "right_and_more_button", 0.0); set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0); set_int(large_padded_center_align, 0); } @@ -3974,7 +4015,6 @@ signal: "elm,state,elm.swallow.more_btn,hide"; source: "elm"; script { - set_state(PART:"elm.swallow.more_btn", "default", 0.0); set_int(more_btn_visible, 0); set_state(PART:"padding_before_right_btn", "default", 0.0); if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) { @@ -4321,8 +4361,8 @@ scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; - fixed: 1 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + fixed: 1 1; align: 0 0; rel1.relative: 1.0 1.0; rel1.to_x: "padding_before_left_btn"; @@ -4331,21 +4371,15 @@ rel2.to_x: "padding_before_left_btn"; rel2.to_y: "elm.text.title"; } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.right_btn"; type: SWALLOW; scale: 1; clip_to: "title_clip"; description { state: "default" 0.0; - min: 0 0; - align: 1 0; - fixed: 1 0; + max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; + align: 1 0.0; + fixed: 1 1; rel1.relative: 0.0 1.0; rel1.to_x: "padding_after_right_btn"; rel1.to_y: "elm.text.title"; @@ -4353,12 +4387,6 @@ rel2.to_x: "padding_after_right_btn"; rel2.to_y: "elm.text.title"; } - description { state: "show" 0.0; - inherit: "default" 0.0; - min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC; - fixed: 1 1; - } } part { name: "elm.swallow.segment2"; type: "SWALLOW"; @@ -4416,30 +4444,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; @@ -4502,30 +4540,6 @@ emit("elm,state,controlbar_bg,hide", "elm"); } } - program { name: "left_btn_show"; - signal: "elm,state,elm.swallow.left_btn,show"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.swallow.left_btn"; - } - program { name: "left_btn_hide"; - signal: "elm,state,elm.swallow.left_btn,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.left_btn"; - } - program { name: "right_btn_show"; - signal: "elm,state,elm.swallow.right_btn,show"; - source: "elm"; - action: STATE_SET "show" 0.0; - target: "elm.swallow.right_btn"; - } - program { name: "right_btn_hide"; - signal: "elm,state,elm.swallow.right_btn,hide"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.swallow.right_btn"; - } program { name: "controlbar_show"; signal: "elm,state,elm.swallow.controlbar,show"; source: "elm"; @@ -4656,30 +4670,40 @@ rel2 { to: "controlbar_bg"; } } } - part { name: "elm.swallow.prev_btn"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - fixed: 1 1; - align: 0.0 0.5; - rel1.to: "controlbar_bg"; - rel1.relative: 0 0; - rel2.to: "controlbar_bg"; - rel2.relative: 0 1; - } - } - part { name: "elm.swallow.controlbar"; - type: SWALLOW; - scale: 1; - clip_to: "controlbar_clip"; - description { state: "default" 0.0; - rel1.to: "elm.swallow.prev_btn"; - rel1.relative: 1 0; - rel2.to: "padding_after_controlbar"; - rel2.relative: 0 1; - } - } + part { name: "elm.prev_btn_bg"; + type: RECT; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + max: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC CONTROLBAR_SMALL_HEIGHT_INC; + fixed: 1 1; + align: 0.0 0.0; + rel1.to: "controlbar_bg"; + rel2 { relative: 0.0 1.0; to: "controlbar_bg"; } + visible: 0; + } + } + part { name: "elm.swallow.prev_btn"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + fixed: 1 1; + align: 0.5 0.5; + rel1.to: "elm.prev_btn_bg"; + rel2.to: "elm.prev_btn_bg"; + } + } + part { name: "elm.swallow.controlbar"; + type: SWALLOW; + scale: 1; + clip_to: "controlbar_clip"; + description { state: "default" 0.0; + rel1 { relative: 1.0 0.0; to: "elm.prev_btn_bg"; } + rel2 { relative: 0.0 1.0; to: "padding_after_controlbar"; } + } + } part { name: "padding_after_controlbar"; type: RECT; scale: 1; |