#define BOX_COLOR_BG 28 29 30 255
#define BOX_WIDTH_P 340
-#define BOX_HEIGHT_P 400
-#define BOX_WIDTH_L 409
-#define BOX_HEIGHT_L 400
+#define BOX_HEIGHT_P 322
+#define BOX_WIDTH_L 406
+#define BOX_HEIGHT_L 322
-#define BOX_MARGIN_TEXT_H 14
-#define BOX_TEXT_CONTENTS_HEIGHT 40
-#define BOX_TEXT_INFO_HEIGHT 36
-#define BOX_TEXT_SUB_WIDTH 120
-#define BOX_TEXT_SUB_PADDING_WIDTH 10
+#define BOX_MARGIN_L_TEXT_H 14
+#define BOX_MARGIN_R_TEXT_H 11
+#define BOX_TEXT_CONTENTS_HEIGHT 36
+#define BOX_TEXT_INFO_HEIGHT 35
+#define BOX_TEXT_SUB_WIDTH 90
+#define BOX_TEXT_SUB_PADDING_WIDTH 12
//#define DEBUG
//#define DEBUG_TEXT
image: "quick_image_dimmed_port.png" COMP;
image: "quick_image_dimmed_land.png" COMP;
image: "quick_icon_bg_small.png" COMP;
+ image: "icon_press.png" COMP;
}
#define BOX_FONT_SHADOW_COLOR 0 0 0 191
#define BOX_INFO_FONT_SIZE 28
#define BOX_INFO_FONT_COLOR 248 246 239 127
+#define BOX_INFO_SHORT_FONT "Tizen:style=Medium"
+#define BOX_INFO_SHORT_FONT_SIZE 28
+#define BOX_INFO_SHORT_FONT_COLOR 248 246 239 127
+
#define BOX_INFO_SUB_FONT "Tizen:style=Regular"
-#define BOX_INFO_SUB_FONT_SIZE 28
+#define BOX_INFO_SUB_FONT_SIZE 20
#define BOX_INFO_SUB_FONT_COLOR 248 246 239 127
#define BOX_INFO_COUNT_FONT "Tizen:style=Medium"
-#define BOX_INFO_COUNT_FONT_SIZE 58
+#define BOX_INFO_COUNT_FONT_SIZE 46
#define BOX_INFO_COUNT_FONT_COLOR 248 246 239 255
#define TEXT_CLASS_TIZEN "tizen"
styles {
style {
name: "notibox_title";
- base: "font=Tizen:style=Regular text_class=tizen font_size=40 color=#F8F6EF ellipsis=1.0 wrap=mixed";
+ base: "font=Tizen:style=Regular text_class=tizen font_size=38 color=#F8F6EF ellipsis=1.0 wrap=mixed";
}
style {
name: "notibox_title_effect";
- base: "font=Tizen:style=Regular text_class=tizen font_size=40 color=#F8F6EF ellipsis=1.0 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
+ base: "font=Tizen:style=Regular text_class=tizen font_size=38 color=#F8F6EF ellipsis=1.0 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
}
style {
name: "notibox_info_effect";
base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
}
+
+ style {
+ name: "notibox_info_short";
+ base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed";
+ }
+
+ style {
+ name: "notibox_info_short_effect";
+ base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
+ }
+
+ style {
+ name: "notibox_info_sub";
+ base: "font=Tizen:style=Regular text_class=tizen font_size=20 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed";
+ }
+
+ style {
+ name: "notibox_info_sub_effect";
+ base: "font=Tizen:style=Regular text_class=tizen font_size=20 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
+ }
}
group {
name: "quickpanel/notibox/single_multi";
script {
- public g_is_cloase_button_disabled;
+ public g_is_close_button_disabled;
public g_is_show_dim_bg;
public init_variables() {
- set_int(g_is_cloase_button_disabled, 0);
+ set_int(g_is_close_button_disabled, 0);
set_int(g_is_show_dim_bg, 0);
}
}
scale: 1;
description {
state: "default" 0.0;
- min: BOX_MARGIN_TEXT_H 0;
+ min: BOX_MARGIN_L_TEXT_H 0;
fixed: 1 0;
rel1 {
relative: 0.0 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: BOX_MARGIN_TEXT_H 0;
+ min: BOX_MARGIN_R_TEXT_H 0;
fixed: 1 0;
rel1 {
relative: 1.0 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 6 0;
+ min: 8 0;
fixed: 1 0;
rel1 {
relative: 1.0 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 0 22;
+ min: 0 14;
fixed: 0 1;
rel1 {
relative: 0.0 1.0;
scale: 1;
description {
state: "default" 0.0;
- min: 124 124;
- max: 124 124;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
fixed: 1 1;
rel1 {
to_x:"margin.right.icon";
scale: 1;
description {
state: "default" 0.0;
- min: 124 124;
- max: 124 124;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
fixed: 1 1;
rel1 {
to:"rect.icon.bg";
scale: 1;
description {
state: "default" 0.0;
- min: 0 12;
+ min: 0 15;
fixed: 0 1;
rel1 {
to:"rect.icon.bg";
scale: 1;
description {
state: "default" 0.0;
- min: 56 56;
- max: 56 56;
+ min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
+ max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
fixed: 1 1;
rel1 {
to:"rect.icon.sub.padding";
scale: 1;
description {
state: "default" 0.0;
- min: 190 189;
- max: 190 189;
+ min: 190 150;
+ max: 190 150;
fixed: 1 1;
rel1 {
to_x:"margin.left";
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 260 189;
- max: 260 189;
+ min: 260 132;
+ max: 260 132;
}
}
scale: 1;
description {
state: "default" 0.0;
- min: 0 20;
+ min: 0 14;
+ fixed: 0 1;
+ rel1 {
+ to_x:"margin.left";
+ to_y:"rect.text.info.1";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x:"margin.right";
+ to_y:"rect.text.info.1";
+ relative: 0.0 0.0;
+ }
+ align: 0.0 1.0;
+#ifdef DEBUG
+ color: 255 255 255 255;
+#else
+ visible:0;
+#endif
+ }
+ }
+ part {
+ name: "rect.text.margin.count";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 5;
fixed: 0 1;
rel1 {
to_x:"margin.left";
scale: 1;
description {
state: "default" 0.0;
- min: 40 58;
- max: 40 58;
+ min: 30 50;
+ max: 30 50;
fixed: 1 1;
rel1 {
to_x:"margin.left";
- to_y:"rect.text.margin.contents";
+ to_y:"rect.text.margin.count";
relative: 1.0 0.0;
}
rel2 {
to_x:"margin.left";
- to_y:"rect.text.margin.contents";
+ to_y:"rect.text.margin.count";
relative: 1.0 0.0;
}
align: 0.0 1.0;
description {
state: "count2" 0.0;
inherit: "default" 0.0;
- min: 72 58;
+ min: 60 50;
}
description {
state: "count3" 0.0;
inherit: "default" 0.0;
- min: 103 58;
+ min: 90 50;
}
description {
state: "count4" 0.0;
inherit: "default" 0.0;
- min: 137 58;
+ min: 120 50;
}
description {
state: "count5" 0.0;
inherit: "default" 0.0;
- min: 167 58;
+ min: 150 50;
}
}
part {
}
}
part{
- name: "object.icon";
+ name: BOX_PART_ICON;
type:SWALLOW;
scale: 1;
description {
state: "default" 0.0;
- fixed: 0 0;
+ fixed: 1 1;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
rel1 {to: "rect.icon";}
rel2 {to: "rect.icon";}
visible:0;
}
}
part{
+ name: "object.icon.press";
+ type:IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ rel1 {to: "rect.icon";}
+ rel2 {to: "rect.icon";}
+ image {
+ normal:"icon_press.png";
+ border: 0 0 0 0;
+ border_scale: 1;
+ }
+ visible:0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible:1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible:0;
+ }
+ }
+ part{
name: "object.icon.sub.bg";
type:IMAGE;
scale:1;
}
}
part{
- name: "object.icon.sub";
+ name: BOX_PART_ICON_SUB;
type:SWALLOW;
scale: 1;
description {
state: "default" 0.0;
- fixed: 0 0;
+ fixed: 1 1;
+ min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
+ max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
rel1 {to: "rect.icon.sub";}
rel2 {to: "rect.icon.sub";}
visible:0;
font: BOX_INFO_COUNT_FONT;
text_class: TEXT_CLASS_TIZEN;
size: BOX_INFO_COUNT_FONT_SIZE;
- align: 0.0 0.5;
+ align: 0.0 1.0;
#ifdef DEBUG_TEXT
text: "3";
#endif
state: "default" 0.0;
rel1 {to: "rect.text.info.1.short";}
rel2 {to: "rect.text.info.1.short";}
- color: BOX_INFO_FONT_COLOR;
+ color: BOX_INFO_SHORT_FONT_COLOR;
text {
- font: BOX_INFO_FONT;
+ font: BOX_INFO_SHORT_FONT;
text_class: TEXT_CLASS_TIZEN;
- size: BOX_INFO_FONT_SIZE;
+ size: BOX_INFO_SHORT_FONT_SIZE;
align: 0.0 0.5;
}
visible:0;
font: BOX_INFO_SUB_FONT;
text_class: TEXT_CLASS_TIZEN;
size: BOX_INFO_SUB_FONT_SIZE;
- align: 0.0 0.5;
+ align: 1.0 0.5;
#ifdef DEBUG_TEXT
text: "some string of text to display";
#endif
state: "default" 0.0;
rel1 {to: "rect.text.info.2.short";}
rel2 {to: "rect.text.info.2.short";}
- color: BOX_INFO_FONT_COLOR;
+ color: BOX_INFO_SHORT_FONT_COLOR;
text {
- font: BOX_INFO_FONT;
+ font: BOX_INFO_SHORT_FONT;
text_class: TEXT_CLASS_TIZEN;
- size: BOX_INFO_FONT_SIZE;
+ size: BOX_INFO_SHORT_FONT_SIZE;
align: 0.0 0.5;
}
visible:0;
font: BOX_INFO_SUB_FONT;
text_class: TEXT_CLASS_TIZEN;
size: BOX_INFO_SUB_FONT_SIZE;
- align: 0.0 0.5;
+ align: 1.0 0.5;
#ifdef DEBUG_TEXT
text: "some string of text to display";
#endif
}
}
part {
- name: "object.layer.touch";
+ name: "object.layer.touch.background";
mouse_events: 1;
repeat_events: 1;
scale: 1;
color: 0 0 0 0;
}
}
+ part {
+ name: "object.layer.touch.button.1";
+ mouse_events: 1;
+ repeat_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "rect.icon";
+ to_y: "object.button.close";
+ relative: 0.0 1.0;
+ }
+ rel2 {to: "rect.icon";}
+ color: 0 0 0 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible:1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
part{
name: "object.button.close";
type:RECT;
scale:1;
description {
state: "default" 0.0;
- min:100 100;
+ min:100 64;
rel1 {
to: "rect.button.close";
relative: 1.0 0.0;
align: 0.0 1.0;
}
}
+ part {
+ name: "accessibility";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "background";
+ }
+ rel2 {
+ to: "background";
+ }
+ color: QP_ACCESSIBILITY_TEST_COLOR;
+ visible: 1;
+ }
+ }
+ part {
+ name: "accessibility.closebutton";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "rect.button.close";
+ }
+ rel2 {
+ to: "rect.button.close";
+ }
+ color: QP_ACCESSIBILITY_TEST_COLOR;
+ visible: 1;
+ }
+ }
}
programs {
program{
name: "box.touch.down";
signal: "mouse,clicked,1";
- source: "object.layer.touch";
- action: SIGNAL_EMIT "selected" "object.layer.touch";
+ source: "object.layer.touch.background";
+ action: SIGNAL_EMIT "selected" "edje";
+ }
+ program{
+ name: "box.button.1.touch.clicked";
+ signal: "mouse,clicked,1";
+ source: "object.layer.touch.button.1";
+ action: SIGNAL_EMIT "button_1" "edje";
+ }
+ program{
+ name: "box.button.1.touch.down";
+ signal: "mouse,down,1";
+ source: "object.layer.touch.button.1";
+ action: STATE_SET "show" 0.0;
+ target: "object.icon.press";
+ }
+ program{
+ name: "box.button.1.touch.up";
+ signal: "mouse,up,1";
+ source: "object.layer.touch.button.1";
+ action: STATE_SET "hide" 0.0;
+ target: "object.icon.press";
}
program{
name: "box.button.close.1";
signal: "mouse,down,1";
source: "object.button.close";
script {
- if (get_int(g_is_cloase_button_disabled) == 0) {
+ if (get_int(g_is_close_button_disabled) == 0) {
set_state(PART:"object.image.button.close", "pressed", 0.0);
}
}
signal: "mouse,clicked,1";
source: "object.button.close";
script {
- if (get_int(g_is_cloase_button_disabled) == 0) {
+ if (get_int(g_is_close_button_disabled) == 0) {
set_state(PART:"object.image.button.close", "normal", 0.0);
- emit("deleted", "object.layer.touch");
+ emit("deleted", "edje");
}
}
}
source: "object.button.close";
script {
set_state(PART:"object.image.button.close", "disabled", 0.0);
- set_int(g_is_cloase_button_disabled, 1);
+ set_int(g_is_close_button_disabled, 1);
}
}
program{
source: "box.prog";
action: STATE_SET "show" 0.0;
target: "object.icon.bg";
+ target: "object.layer.touch.button.1";
}
program{
name: "box.hide.icon.bg";
source: "box.prog";
action: STATE_SET "hide" 0.0;
target: "object.icon.bg";
+ target: "object.layer.touch.button.1";
}
program{
name: "box.show.icon.sub.bg";
name: "quickpanel/notibox/thumbnail";
script {
- public g_is_cloase_button_disabled;
+ public g_is_close_button_disabled;
public g_is_show_dim_bg;
public init_variables() {
- set_int(g_is_cloase_button_disabled, 0);
+ set_int(g_is_close_button_disabled, 0);
set_int(g_is_show_dim_bg, 0);
}
}
scale: 1;
description {
state: "default" 0.0;
- min: BOX_MARGIN_TEXT_H 0;
+ min: BOX_MARGIN_L_TEXT_H 0;
rel1 {
relative: 0.0 0.0;
}
scale: 1;
description {
state: "default" 0.0;
- min: BOX_MARGIN_TEXT_H 0;
+ min: BOX_MARGIN_R_TEXT_H 0;
rel1 {
relative: 1.0 0.0;
}
scale: 1;
description {
state: "default" 0.0;
- min: 15 0;
+ min: 12 0;
rel1 {
relative: 0.0 0.0;
}
scale: 1;
description {
state: "default" 0.0;
- min: 15 0;
+ min: 12 0;
rel1 {
relative: 1.0 0.0;
}
scale: 1;
description {
state: "default" 0.0;
- min: 6 0;
+ min: 8 0;
rel1 {
relative: 1.0 0.0;
}
scale: 1;
description {
state: "default" 0.0;
- min: 0 26;
+ min: 0 14;
rel1 {
relative: 0.0 1.0;
}
scale: 1;
description {
state: "default" 0.0;
- min: 124 124;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
rel1 {
to_x:"margin.right.icon";
to_y:"margin.top.icon";
scale: 1;
description {
state: "default" 0.0;
- min: 124 124;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
rel1 {
to:"rect.icon.bg";
relative: 0.5 0.5;
scale: 1;
description {
state: "default" 0.0;
- min: 0 12;
+ min: 0 15;
rel1 {
to:"rect.icon.bg";
relative: 0.0 1.0;
scale: 1;
description {
state: "default" 0.0;
- min: 56 56;
+ min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
+ max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
rel1 {
to:"rect.icon.sub.padding";
relative: 1.0 1.0;
scale: 1;
description {
state: "default" 0.0;
- min: 190 189;
- max: 190 189;
+ min: 190 150;
+ max: 190 150;
fixed: 1 1;
rel1 {
to_x:"margin.left";
scale: 1;
description {
state: "default" 0.0;
- min: 0 20;
+ min: 0 14;
rel1 {
to_x:"margin.left";
to_y:"rect.thumbnail.list.1";
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
+ min: 12 0;
rel1 {
to:"rect.thumbnail.list.1";
relative: 1.0 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
+ min: 12 0;
rel1 {
to:"rect.thumbnail.list.2";
relative: 1.0 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
+ min: 12 0;
rel1 {
to:"rect.thumbnail.list.3";
relative: 1.0 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
+ min: 12 0;
rel1 {
to:"rect.thumbnail.list.4";
relative: 1.0 0.0;
}
}
part{
- name: "object.icon";
+ name: BOX_PART_ICON;
type:SWALLOW;
scale: 1;
description {
state: "default" 0.0;
fixed: 0 0;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
rel1 {to: "rect.icon";}
rel2 {to: "rect.icon";}
visible:0;
}
}
part{
+ name: "object.icon.press";
+ type:IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
+ rel1 {to: "rect.icon";}
+ rel2 {to: "rect.icon";}
+ image {
+ normal:"icon_press.png";
+ border: 0 0 0 0;
+ border_scale: 1;
+ }
+ visible:0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible:1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible:0;
+ }
+ }
+ part{
name: "object.icon.sub.bg";
type:IMAGE;
scale:1;
}
}
part{
- name: "object.icon.sub";
+ name: BOX_PART_ICON_SUB;
type:SWALLOW;
scale: 1;
description {
state: "default" 0.0;
fixed: 0 0;
+ min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
+ max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
rel1 {to: "rect.icon.sub";}
rel2 {to: "rect.icon.sub";}
visible:0;
}
}
part {
- name: "object.layer.touch";
+ name: "object.layer.touch.background";
mouse_events: 1;
repeat_events: 1;
scale: 1;
color: 0 0 0 0;
}
}
+ part {
+ name: "object.layer.touch.button.1";
+ mouse_events: 1;
+ repeat_events: 0;
+ scale: 1;
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "rect.icon";
+ to_y: "object.button.close";
+ relative: 0.0 1.0;
+ }
+ rel2 {to: "rect.icon";}
+ color: 0 0 0 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible:1;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
part{
name: "object.button.close";
type:RECT;
scale:1;
description {
state: "default" 0.0;
- min:64 64;
+ min:100 64;
rel1 {
to: "rect.button.close";
relative: 1.0 0.0;
align: 0.0 1.0;
}
}
+ part {
+ name: "accessibility";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "background";
+ }
+ rel2 {
+ to: "background";
+ }
+ color: QP_ACCESSIBILITY_TEST_COLOR;
+ visible: 1;
+ }
+ }
+ part {
+ name: "accessibility.closebutton";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "rect.button.close";
+ }
+ rel2 {
+ to: "rect.button.close";
+ }
+ color: QP_ACCESSIBILITY_TEST_COLOR;
+ visible: 1;
+ }
+ }
}
programs {
program{
name: "box.touch.down";
signal: "mouse,clicked,1";
- source: "object.layer.touch";
- action: SIGNAL_EMIT "selected" "object.layer.touch";
+ source: "object.layer.touch.background";
+ action: SIGNAL_EMIT "selected" "edje";
+ }
+ program{
+ name: "box.button.1.touch.clicked";
+ signal: "mouse,clicked,1";
+ source: "object.layer.touch.button.1";
+ action: SIGNAL_EMIT "button_1" "edje";
+ }
+ program{
+ name: "box.button.1.touch.down";
+ signal: "mouse,down,1";
+ source: "object.layer.touch.button.1";
+ action: STATE_SET "show" 0.0;
+ target: "object.icon.press";
+ }
+ program{
+ name: "box.button.1.touch.up";
+ signal: "mouse,up,1";
+ source: "object.layer.touch.button.1";
+ action: STATE_SET "hide" 0.0;
+ target: "object.icon.press";
}
program{
name: "box.button.close.1";
signal: "mouse,down,1";
source: "object.button.close";
script {
- if (get_int(g_is_cloase_button_disabled) == 0) {
+ if (get_int(g_is_close_button_disabled) == 0) {
set_state(PART:"object.image.button.close", "pressed", 0.0);
}
}
signal: "mouse,clicked,1";
source: "object.button.close";
script {
- if (get_int(g_is_cloase_button_disabled) == 0) {
+ if (get_int(g_is_close_button_disabled) == 0) {
set_state(PART:"object.image.button.close", "normal", 0.0);
- emit("deleted", "object.layer.touch");
+ emit("deleted", "edje");
}
}
}
source: "object.button.close";
script {
set_state(PART:"object.image.button.close", "disabled", 0.0);
- set_int(g_is_cloase_button_disabled, 1);
+ set_int(g_is_close_button_disabled, 1);
}
}
program{
source: "box.prog";
action: STATE_SET "show" 0.0;
target: "object.icon.bg";
+ target: "object.layer.touch.button.1";
}
program{
name: "box.hide.icon.bg";
source: "box.prog";
action: STATE_SET "hide" 0.0;
target: "object.icon.bg";
+ target: "object.layer.touch.button.1";
}
program{
name: "box.show.icon.sub.bg";