inherit: "default" 0.0;
min: 1 NAVIFRAME_OH_OPENED_H_INC;
}
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
}
part { name: "optionheader_bg";
type: IMAGE;
}
part { name: "title_base";
type: RECT;
- clip_to: "title_clip";
- scale: 1;
description { state: "default" 0.0;
- min: 1 NAVIFRAME_TITLE_H_INC;
- align: 0.5 0.0;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
+ rel1 { to: "title_clip"; }
+ rel2 { to: "title_clip"; }
color: NAVIFRAME_TITLE_BG_COLOR_INC;
}
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "title_clip";
+ script {
+ set_state(PART:"title_clip", "default", 0.0);
+ if (get_int(oh_show) == 1) {
+ if (get_int(oh_close) == 1) {
+ emit("elm,state,optionheader,instant_close", "");
+ }else {
+ emit("elm,state,optionheader,instant_open", "");
+ }
+ }
+ else
+ set_state(PART:"optionheader_clip", "default", 0.0);
+ }
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
+ target: "optionheader_clip";
}
program { name: "optionheader_show";
signal: "elm,state,elm.swallow.optionheader,show";
inherit: "default" 0.0;
min: 1 NAVIFRAME_OH_OPENED_DOUBLE_H_INC;
}
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
}
part { name: "optionheader_bg";
type: IMAGE;
}
part { name: "title_base";
type: RECT;
- clip_to: "title_clip";
- scale: 1;
description { state: "default" 0.0;
- min: 1 NAVIFRAME_TITLE_H_INC;
- align: 0.5 0.0;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
+ rel1 { to: "title_clip"; }
+ rel2 { to: "title_clip"; }
color: NAVIFRAME_TITLE_BG_COLOR_INC;
}
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "title_clip";
+ script {
+ set_state(PART:"title_clip", "default", 0.0);
+ if (get_int(oh_show) == 1) {
+ if (get_int(oh_close) == 1) {
+ emit("elm,state,optionheader,instant_close", "");
+ }else {
+ emit("elm,state,optionheader,instant_open", "");
+ }
+ }
+ else
+ set_state(PART:"optionheader_clip", "default", 0.0);
+ }
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
+ target: "optionheader_clip";
}
program { name: "optionheader_show";
signal: "elm,state,elm.swallow.optionheader,show";
inherit: "default" 0.0;
min: 1 NAVIFRAME_OH_OPENED_H_INC;
}
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
}
part { name: "optionheader_bg";
type: IMAGE;
}
part { name: "title_base";
type: RECT;
- clip_to: "title_clip";
- scale: 1;
description { state: "default" 0.0;
- min: 1 NAVIFRAME_TITLE_H_INC;
- align: 0.5 0.0;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
+ rel1 { to: "title_clip"; }
+ rel2 { to: "title_clip"; }
color: NAVIFRAME_TITLE_BG_COLOR_INC;
}
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "title_clip";
+ script {
+ set_state(PART:"title_clip", "default", 0.0);
+ if (get_int(oh_show) == 1) {
+ if (get_int(oh_close) == 1) {
+ emit("elm,state,optionheader,instant_close", "");
+ }else {
+ emit("elm,state,optionheader,instant_open", "");
+ }
+ }
+ else
+ set_state(PART:"optionheader_clip", "default", 0.0);
+ }
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
+ target: "optionheader_clip";
}
program { name: "optionheader_show";
signal: "elm,state,elm.swallow.optionheader,show";
inherit: "default" 0.0;
min: 1 NAVIFRAME_OH_OPENED_DOUBLE_H_INC;
}
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
}
part { name: "optionheader_bg";
type: IMAGE;
}
part { name: "title_base";
type: RECT;
- clip_to: "title_clip";
- scale: 1;
description { state: "default" 0.0;
- min: 1 NAVIFRAME_TITLE_H_INC;
- align: 0.5 0.0;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
+ rel1 { to: "title_clip"; }
+ rel2 { to: "title_clip"; }
color: NAVIFRAME_TITLE_BG_COLOR_INC;
}
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "title_clip";
+ script {
+ set_state(PART:"title_clip", "default", 0.0);
+ if (get_int(oh_show) == 1) {
+ if (get_int(oh_close) == 1) {
+ emit("elm,state,optionheader,instant_close", "");
+ }else {
+ emit("elm,state,optionheader,instant_open", "");
+ }
+ }
+ else
+ set_state(PART:"optionheader_clip", "default", 0.0);
+ }
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
+ target: "optionheader_clip";
}
program { name: "optionheader_show";
signal: "elm,state,elm.swallow.optionheader,show";