images {
image: "00_title_bg.png" COMP;
image: "00_badge_bg.png" COMP;
+ image: "00_effect_title_text_dim_left.png" COMP;
+ image: "00_effect_title_text_dim_right.png" COMP;
}
script {
public tbar_bg = 0; //Toolbar BG Show call count
public start_slide(val) {
new Float:len;
new buf[128];
+ new st[31];
+ new Float:vl;
+ get_state(PART:"title_bg", st, 30, vl);
+ if (!strcmp(st, "hide"))
+ return;
// Title Text
if (val == 0) {
return;
}
+ set_state(PART:"title_text_slide_effect_left", "visible", 0.0);
+ set_state(PART:"title_text_slide_effect_right", "visible", 0.0);
+
len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP;
set_float(title_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT);
return;
}
+ set_state(PART:"subtitle_text_slide_effect_left", "visible", 0.0);
+ set_state(PART:"subtitle_text_slide_effect_right", "visible", 0.0);
+
len = get_int(subtitle_text_w) + NAVIFRAME_SUBTITLE_SLIDE_TEXT_GAP;
if (!get_int(landscape))
set_float(subtitle_duration, len * NAVIFRAME_TITLE_SLIDE_SPEED_WEIGHT);
set_state(PART:"title_text_clip", "default", 0.0);
set_state(PART:"slide_title_text_clip", "default", 0.0);
+
+ set_state(PART:"title_text_slide_effect_left", "default", 0.0);
+ set_state(PART:"title_text_slide_effect_right", "default", 0.0);
}
// Subtitle Text
else {
set_state(PART:"subtitle_text_clip", "default", 0.0);
set_state(PART:"slide_subtitle_text_clip", "default", 0.0);
+
+ set_state(PART:"subtitle_text_slide_effect_left", "default", 0.0);
+ set_state(PART:"subtitle_text_slide_effect_right", "default", 0.0);
}
}
}
scale: 1;
description { state: "default" 0.0;
min: NAVIFRAME_PADDING_INC;
- fixed: 1 0;
+ fixed: 1 1;
align: 1.0 0.0;
rel1 { relative: 1.0 0.0; to: "divider2"; }
rel2 { relative: 1.0 1.0; to: "divider2"; }
mouse_events: 0;
description { state: "default" 0.0;
min: NAVIFRAME_PADDING_INC;
- fixed: 1 0;
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to: "title_bg"; }
rel2 { relative: 0.0 1.0; to: "title_bg"; }
visible: 0;
min: 0 NAVIFRAME_TITLE_TEXT_BG_H_INC;
max: -1 NAVIFRAME_TITLE_TEXT_BG_H_INC;
- fixed: 0 1;
+ fixed: 1 1;
rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; }
rel2 { relative: 0.0 1.0; to_x: "title_right_padding"; to_y: "title_bg"; }
}
mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
}
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
align: 0.0 0.5;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
align: 0.0 0.5;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
clip_to: "title_clip";
description { state: "default" 0.0;
visible: 0;
- color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
rel1.to: "elm.text.title";
rel2.to: "elm.text.title";
}
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1 { relative: 0.0 0.0; to: "maintitle_text_bg"; }
rel2 { relative: 0.0 1.0; to: "maintitle_text_bg"; }
text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC;
}
}
+ part { name: "title_text_slide_effect_left_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING_INC;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to: "elm.text.title"; }
+ rel2 { relative: 0.0 1.0; to: "elm.text.title"; }
+ }
+ }
+ part { name: "title_text_slide_effect_left";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; }
+ image {
+ normal: "00_effect_title_text_dim_left.png";
+ border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "elm.text.full_title";
type: TEXT;
scale: 1;
align: 0.0 0.5;
text_class: "tizen";
}
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
align: 0.0 0.5;
text_class: "tizen";
}
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "maintitle_text_bg";
rel2.to: "maintitle_text_bg";
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1 { relative: 1.0 0.0; to: "slide_text_gap2"; }
rel2 { relative: 1.0 1.0; to: "slide_text_gap2"; }
text.size: NAVIFRAME_LANDSCAPE_TITLE_SMALL_FONT_SIZE_INC;
}
}
+ part { name: "title_text_slide_effect_right_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to: "elm.text.title"; }
+ rel2 { relative: 1.0 1.0; to: "elm.text.title"; }
+ }
+ }
+ part { name: "title_text_slide_effect_right";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; }
+ image {
+ normal: "00_effect_title_text_dim_right.png";
+ border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "subtitle_top_padding";
type: RECT;
scale: 1;
mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
rel1.to: "subtitle_text_bg";
rel2.to: "subtitle_text_bg";
}
}
part { name: "elm.text.subtitle";
type: TEXT;
+ effect: FAR_SHADOW BOTTOM;
scale: 1;
clip_to: "subtitle_text_clip";
description { state: "default" 0.0;
text_class: "tizen";
}
color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ color3: NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC;
align: 0.0 0.5;
rel1.to: "subtitle_text_bg";
rel2.to: "subtitle_text_bg";
clip_to: "title_clip";
description { state: "default" 0.0;
visible: 0;
- color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
rel1.to: "elm.text.subtitle";
rel2.to: "elm.text.subtitle";
}
}
part { name: "elm.text.slide_begin_subtitle";
type: TEXT;
+ effect: FAR_SHADOW BOTTOM;
scale: 1;
clip_to: "slide_subtitle_text_clip";
description { state: "default" 0.0;
text_class: "tizen";
}
color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ color3: NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "subtitle_text_bg";
rel2.to: "subtitle_text_bg";
rel2 { relative: 0.0 1.0; to: "slide_subtitle_divider1"; }
}
}
+ part { name: "subtitle_text_slide_effect_left";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to_x: "title_text_slide_effect_left_bg"; to_y: "subtitle_text_bg"; }
+ rel2 { relative: 0.0 1.0; to_x: "title_text_slide_effect_left_bg"; to_y: "subtitle_text_bg"; }
+ image {
+ normal: "00_effect_title_text_dim_left.png";
+ border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "elm.text.full_subtitle";
type: TEXT;
scale: 1;
align: 0.0 0.5;
text_class: "tizen";
}
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "subtitle_text_bg";
rel2.to: "subtitle_text_bg";
}
part { name: "elm.text.slide_end_subtitle";
type: TEXT;
+ effect: FAR_SHADOW BOTTOM;
scale: 1;
clip_to: "slide_subtitle_text_clip";
description { state: "default" 0.0;
text_class: "tizen";
}
color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ color3: NAVIFRAME_SUBTITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "subtitle_text_bg";
rel2.to: "subtitle_text_bg";
rel2.relative: 0.0 1.0;
}
}
+ part { name: "subtitle_text_slide_effect_right_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to: "elm.text.subtitle"; }
+ rel2 { relative: 1.0 1.0; to: "elm.text.subtitle"; }
+ }
+ }
+ part { name: "subtitle_text_slide_effect_right";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to: "subtitle_text_slide_effect_right_bg"; }
+ rel2 { relative: 1.0 1.0; to: "subtitle_text_slide_effect_right_bg"; }
+ image {
+ normal: "00_effect_title_text_dim_right.png";
+ border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "padding_before_text";
type: RECT;
scale: 1;
min: 0 0;
fixed: 1 1;
rel1 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "badge_top_padding"; }
- rel2 { relative: 1.0 0.5; to_x: "elm.text.title"; to_y: "title_bg"; }
- align: 0.0 0.5;
+ rel2 { relative: 1.0 1.0; to_x: "elm.text.title"; to_y: "badge_top_padding"; }
+ align: 0.0 0.0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
description {
state: "visible" 0.0;
inherit: "default" 0.0;
- min: NAVIFRAME_BADGE_TEXT_RIGHT_PADDING_INC;
+ min: NAVIFRAME_BADGE_TEXT_LEFT_PADDING_INC;
}
}
part { name: "badge_bg";
visible: 0;
min: NAVIFRAME_BADGE_TEXT_MIN_W_INC 0;
max: NAVIFRAME_BADGE_TEXT_MAX_W_INC -1;
- fixed: 1 0;
+ fixed: 1 1;
rel1 { relative: 1.0 0.0; to: "left.padding.text"; }
rel2 { relative: 1.0 1.0; to_y: "left.padding.text"; to_x: "badge_padding"; }
align: 0.0 0.5;
text {
font: "Tizen:style=Bold";
size: NAVIFRAME_BADGE_TEXT_H_INC;
- min: 1 1;
+ min: 0 0;
max: 1 0;
text_class: "tizen";
}
}
part { name: "divider1";
type: RECT;
+ scale: 1;
+ mouse_events: 0;
description { state: "default" 0.0;
min: 0 0;
max: 0 -1;
}
part { name: "divider2";
type: RECT;
+ scale: 1;
+ mouse_events: 0;
description { state: "default" 0.0;
min: 0 0;
max: 0 -1;
clip_to: "title_clip";
description { state: "default" 0.0;
max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
- align: 1.0 0.5;
fixed: 1 1;
+ align: 1.0 0.5;
rel1 { relative: 1.0 0.0; to: "title_bg"; }
rel2 { relative: 1.0 1.0; to: "title_bg"; }
}
source: "click_event_area";
script {
emit("elm,action,title,clicked", "");
- emit("elm,action,title,slide", "");
}
}
program {
group { name: "elm/naviframe/item/tabbar/default";
images {
image: "00_title_bg.png" COMP;
+ image: "00_effect_title_text_dim_left.png" COMP;
+ image: "00_effect_title_text_dim_right.png" COMP;
}
script {
public tbar_bg = 0; //Controlbar BG Show call count
public start_slide(val) {
new Float:len;
new buf[128];
+ new st[31];
+ new Float:vl;
+ get_state(PART:"title_bg", st, 30, vl);
+ if (!strcmp(st, "hide"))
+ return;
set_int(title_slide_count, get_int(title_slide_count) + 1);
return;
}
+ set_state(PART:"title_text_slide_effect_left", "visible", 0.0);
+ set_state(PART:"title_text_slide_effect_right", "visible", 0.0);
+
len = get_int(title_text_w) + NAVIFRAME_TITLE_SLIDE_TEXT_GAP;
if (get_int(landscape))
set_state(PART:"title_text_clip", "default", 0.0);
set_state(PART:"slide_title_text_clip", "default", 0.0);
+
+ set_state(PART:"title_text_slide_effect_left", "default", 0.0);
+ set_state(PART:"title_text_slide_effect_right", "default", 0.0);
}
}
visible: 0;
min: 0 NAVIFRAME_TITLE_TAB_TEXT_H_INC;
max: -1 NAVIFRAME_TITLE_TAB_TEXT_H_INC;
- fixed: 0 1;
+ fixed: 1 1;
align: 0.5 0.0;
rel1 { relative: 1.0 0.0; to_x: "title_left_padding"; to_y: "title_bg"; }
rel2 { relative: 0.0 0.0; to_x: "title_right_padding"; to_y: "title_bg"; }
mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
rel1.to: "title_text_bg";
rel2.to: "title_text_bg";
}
}
part { name: "elm.text.title";
type: TEXT;
- scale: 1;
effect: FAR_SHADOW BOTTOM;
+ scale: 1;
clip_to: "title_text_clip";
description { state: "default" 0.0;
visible: 1;
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
align: 0.0 0.5;
rel1.to: "title_text_bg";
rel2.to: "title_text_bg";
clip_to: "title_clip";
description { state: "default" 0.0;
visible: 0;
- color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
rel1.to: "elm.text.title";
rel2.to: "elm.text.title";
}
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "title_text_bg";
rel2.to: "title_text_bg";
text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC;
}
}
+ part { name: "title_text_slide_effect_left_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING_INC;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to: "elm.text.title"; }
+ rel2 { relative: 0.0 1.0; to: "elm.text.title"; }
+ }
+ }
+ part { name: "title_text_slide_effect_left";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 0.0 0.0; to: "title_text_slide_effect_left_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_text_slide_effect_left_bg"; }
+ image {
+ normal: "00_effect_title_text_dim_left.png";
+ border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "elm.text.full_title";
type: TEXT;
scale: 1;
- effect: FAR_SHADOW BOTTOM;
clip_to: "slide_title_text_clip";
description { state: "default" 0.0;
visible: 0;
align: 0.0 0.5;
text_class: "tizen";
}
- color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "title_text_bg";
rel2.to: "title_text_bg";
text_class: "tizen";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- color3: 0 0 0 255;
+ color3: NAVIFRAME_TITLE_TEXT_SHADOW_COLOR_INC;
+ fixed: 1 0;
align: 0.0 0.5;
rel1.to: "title_text_bg";
rel2.to: "title_text_bg";
text.size: NAVIFRAME_LANDSCAPE_TITLE_TAB_FONT_SIZE_INC;
}
}
+ part { name: "title_text_slide_effect_right_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_PADDING_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to: "elm.text.title"; }
+ rel2 { relative: 1.0 1.0; to: "elm.text.title"; }
+ }
+ }
+ part { name: "title_text_slide_effect_right";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_SIZE_INC;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ rel1 { relative: 1.0 0.0; to: "title_text_slide_effect_right_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_text_slide_effect_right_bg"; }
+ image {
+ normal: "00_effect_title_text_dim_right.png";
+ border: NAVIFRAME_TITLE_TEXT_SLIDE_EFFECT_IMAGE_BORDER_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
part { name: "click_event_area";
type: RECT;
ignore_flags: ON_HOLD;
source: "click_event_area";
script {
emit("elm,action,title,clicked", "");
- emit("elm,action,title,slide", "");
}
}
program {