From 3bf2400e2ac69c943a25c4fdef84694061eefa1a Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Mon, 23 Jul 2012 14:43:48 +0530 Subject: [PATCH] [Image used in title area and shadow part added to option header] Change-Id: I10af12dc04ef6b36726b2e2aa1d4bc0784c4a3a4 --- themes/images/tizen-hd/00_winset_title_bg.png | Bin 0 -> 2799 bytes themes/inc/tizen-hd-inc.edc | 9 ++-- themes/widgets/naviframe.edc | 57 ++++++++++++++++++++++---- 3 files changed, 53 insertions(+), 13 deletions(-) create mode 100644 themes/images/tizen-hd/00_winset_title_bg.png diff --git a/themes/images/tizen-hd/00_winset_title_bg.png b/themes/images/tizen-hd/00_winset_title_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..7de4386d138157891b04c322487df7d97da6161c GIT binary patch literal 2799 zcmV)P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFU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8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z0000QNklZ002ovPDHLkV1iHt BF4F)2 literal 0 HcmV?d00001 diff --git a/themes/inc/tizen-hd-inc.edc b/themes/inc/tizen-hd-inc.edc index 18edb72..6bfbfc8 100644 --- a/themes/inc/tizen-hd-inc.edc +++ b/themes/inc/tizen-hd-inc.edc @@ -29,11 +29,12 @@ #define NAVIFRAME_TITLE_H_INC 108 #define NAVIFRAME_SEGMENT_TITLE_H_INC 124 -#define NAVIFRAME_OH_OPENED_H_INC 106 -#define NAVIFRAME_OH_CONTENT_H_INC 74 +#define NAVIFRAME_OH_OPENED_H_INC 114 +#define NAVIFRAME_OH_CONTENT_H_INC 72 #define NAVIFRAME_OH_PADDING_INC 16 +#define NAVIFRAME_OH_SHADOW_INC 10 #define NAVIFRAME_OH_ARROW_SIZE_INC 28 24 -#define NAVIFRAME_OH_OPENED_DOUBLE_H_INC 196 +#define NAVIFRAME_OH_OPENED_DOUBLE_H_INC 202 #define NAVIFRAME_PREV_BTN_W_INC 124 #define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 120 72 #define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 144 @@ -47,10 +48,8 @@ #define NAVIFRAME_SUBTITLE_FONT_SIZE_INC 32 #define NAVIFRAME_ICON_SIZE_INC 32 32 #define NAVIFRAME_ICON_PADDING_INC 16 0 -#define NAVIFRAME_CONTROLBAR_BG_COLOR_INC 31 31 31 255 #define NAVIFRAME_TITLE_TEXT_COLOR_INC 249 249 249 255 #define NAVIFRAME_SUBTITLE_TEXT_COLOR_INC 249 249 249 255 -#define NAVIFRAME_TITLE_BG_COLOR_INC 108 108 108 255 #define NAVIFRAME_OH_BORDER_INC 1 1 5 1 #define PROGRESSBAR_TITLE_FONT_SIZE_INC 28 diff --git a/themes/widgets/naviframe.edc b/themes/widgets/naviframe.edc index 1b37790..a029fef 100644 --- a/themes/widgets/naviframe.edc +++ b/themes/widgets/naviframe.edc @@ -33,6 +33,7 @@ image: "00_winset_control_top_arrow.png" COMP; image: "00_winset_title_line.png" COMP; image: "00_winset_control_toolbar_bg.png" COMP; + image: "00_winset_title_bg.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -64,7 +65,6 @@ } } part { name: "title_bg"; - type: RECT; scale: 1; description { state: "default" 0.0; min: 1 NAVIFRAME_TITLE_H_INC; @@ -72,7 +72,7 @@ fixed: 0 1; rel1 { relative: 0.0 0.0; to: "base"; } rel2 { relative: 1.0 0.0; to: "base"; } - color: NAVIFRAME_TITLE_BG_COLOR_INC; + image.normal: "00_winset_title_bg.png"; } description { state: "hide" 0.0; inherit: "default" 0.0; @@ -162,6 +162,19 @@ visible: 0; } } + part { name: "optionheader_shadow"; + type: RECT; + scale: 1; + clip_to: "optionheader_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_OH_SHADOW_INC; + rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; } + rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; } + fixed: 0 1; + align: 0.0 0.0; + visible: 0; + } + } part { name: "elm.swallow.content"; type: SWALLOW; scale: 1; @@ -946,6 +959,7 @@ image: "00_winset_control_top_arrow.png" COMP; image: "00_winset_title_line.png" COMP; image: "00_winset_control_toolbar_bg.png" COMP; + image: "00_winset_title_bg.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -977,7 +991,6 @@ } } part { name: "title_bg"; - type: RECT; scale: 1; description { state: "default" 0.0; min: 1 NAVIFRAME_TITLE_H_INC; @@ -985,7 +998,7 @@ fixed: 0 1; rel1 { relative: 0.0 0.0; to: "base"; } rel2 { relative: 1.0 0.0; to: "base"; } - color: NAVIFRAME_TITLE_BG_COLOR_INC; + image.normal: "00_winset_title_bg.png"; } description { state: "hide" 0.0; inherit: "default" 0.0; @@ -1100,6 +1113,19 @@ visible: 0; } } + part { name: "optionheader_shadow"; + type: RECT; + scale: 1; + clip_to: "optionheader_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_OH_SHADOW_INC; + rel1 { relative: 0.0 1.0; to: "optionheader.bottom.padding"; } + rel2 { relative: 1.0 1.0; to: "optionheader.bottom.padding"; } + fixed: 0 1; + align: 0.0 0.0; + visible: 0; + } + } part { name: "elm.swallow.content"; type: SWALLOW; scale: 1; @@ -1883,6 +1909,7 @@ } images { image: "00_winset_control_toolbar_bg.png" COMP; + image: "00_winset_title_bg.png" COMP; } parts { part { name: "base"; @@ -1903,7 +1930,6 @@ } } part { name: "title_bg"; - type: RECT; scale: 1; description { state: "default" 0.0; min: 1 NAVIFRAME_SEGMENT_TITLE_H_INC; @@ -1911,7 +1937,7 @@ fixed: 0 1; rel1 { relative: 0.0 0.0; to: "base"; } rel2 { relative: 1.0 0.0; to: "base"; } - color: NAVIFRAME_TITLE_BG_COLOR_INC; + image.normal: "00_winset_title_bg.png"; } description { state: "hide" 0.0; inherit: "default" 0.0; @@ -2274,6 +2300,7 @@ } images { image: "00_winset_control_toolbar_bg.png" COMP; + image: "00_winset_title_bg.png" COMP; } parts { part { name: "base"; @@ -2705,6 +2732,8 @@ images { image: "00_winset_control_top_bg.png" COMP; image: "00_winset_control_top_arrow.png" COMP; + image: "00_winset_control_toolbar_bg.png" COMP; + image: "00_winset_title_bg.png" COMP; } script { public oh_show = 0; //optionheader show/hide @@ -2730,7 +2759,6 @@ } } part { name: "title_bg"; - type: RECT; scale: 1; description { state: "default" 0.0; min: 1 NAVIFRAME_TITLE_H_INC; @@ -2738,7 +2766,7 @@ fixed: 0 1; rel1 { relative: 0.0 0.0; to: "base"; } rel2 { relative: 1.0 0.0; to: "base"; } - color: NAVIFRAME_TITLE_BG_COLOR_INC; + image.normal: "00_winset_title_bg.png"; } description { state: "hide" 0.0; inherit: "default" 0.0; @@ -2828,6 +2856,19 @@ visible: 0; } } + part { name: "optionheader_shadow"; + type: RECT; + scale: 1; + clip_to: "optionheader_clip"; + description { state: "default" 0.0; + min: 0 NAVIFRAME_OH_SHADOW_INC; + rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; } + rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; } + fixed: 0 1; + align: 0.0 0.0; + visible: 0; + } + } part { name: "elm.swallow.content"; type: SWALLOW; scale: 1; -- 2.7.4