#define RECIP_FAILED_COLOR 246 183 183 255
collections {
- BASE_SCALE;
+ BASE_SCALE;
-group {
- name: "recipient_panel";
- images {
- image: "messages_recipients_failed_bg.png" COMP;
- image: "messages_recipients_failed.png" COMP;
- }
- parts {
- part {
- name: "space";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 RECIPIENT_TO_FIELD_MIN_H;
- rel1.to: "swl.mbe";
- rel2.to: "entry.main.bg";
- }
- }
- PADDING_TOP("padding_top", 0);
- PADDING_LEFT("padding_left", 0);
- PADDING_RIGHT("padding_right", 0);
- PADDING_BOTTOM("padding_bottom", 0);
- part {
+ group {
+ name: "recipient_panel";
+ images {
+ image: "messages_recipients_failed_bg.png" COMP;
+ image: "messages_recipients_failed.png" COMP;
+ }
+ parts {
+ part {
name: "mbe.bg";
type: RECT;
scale: 1;
description {
- rel1 { to: "swl.mbe";}
- rel2 { to: "swl.mbe";}
- color: CONV_BG_COLOR;
+ rel.to: "swl.mbe";
+ color: CONV_BG_COLOR;
}
- }
- part {
+ }
+ part {
name: "swl.mbe";
type: SWALLOW;
scale: 1;
description {
- state: "default" 0.0; //when TO mbe is hidden
- rel1 { to_x: "padding_left"; relative: 1.0 0.0; }
- rel2 { to_x: "padding_right"; relative: 0.0 0.0; }
- align: 0.0 1.0;
- visible: 0;
+ state: "default" 0.0; //when TO mbe is hidden
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.0 1.0;
+ visible: 1;
}
description {
- state: "show" 0.0; //When TO mbe is shown
- rel1 { to_x: "padding_left"; to_y: "padding_top"; relative: 1.0 1.0; }
- rel2 { to_x: "padding_right"; to_y: "padding_top"; relative: 0.0 1.0; }
- align: 0.0 0.0;
- visible: 1;
+ state: "show" 0.0; //When TO mbe is shown
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.0 0.0;
+ visible: 1;
}
- }
- part {
+ }
+ part {
name: "entry.main.bg";
type: RECT;
scale: 1;
description {
- state: "default" 0.0;
- min: 0 0;
- max: -1 0;
- visible: 0;
- }
- description {
- state: "show" 0.0;
- min: 0 RECIPIENT_TO_FIELD_MIN_H;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- color: CONV_BG_COLOR;
- rel1 { to_y: "swl.mbe"; relative: 0.0 1.0; }
- rel2 { to_y: "swl.mbe"; relative: 1.0 1.0; }
- }
- }
- part {
- name: "entry_padding_left";
- type: SPACER;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- rel1{relative: 0.0 0.0; to: "entry.main.bg";}
- rel2{relative: 0.0 1.0; to: "entry.main.bg";}
- align: 0.0 0.0;
+ state: "default" 0.0;
+ rel1.to: "swl.entry";
+ rel1.relative: 0 0;
+ rel2.to_y: "swl.entry";
+ rel2.relative: 1 1;
+ align: 0.5 0.5;
+ color: CONV_BG_COLOR;
+ visible: 1;
}
- }
- part {
- name: "entry_padding_right";
- type: SPACER;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- rel1{relative: 1.0 0.0; to: "entry.main.bg";}
- rel2{relative: 1.0 1.0; to: "entry.main.bg";}
- align: 1.0 0.0;
- }
- }
- part {
- name: "entry_padding_top";
- type: SPACER;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1{relative: 0.0 0.0; to: "entry.main.bg";}
- rel2{relative: 1.0 0.0; to: "entry.main.bg";}
- align: 0.0 0.0;
- }
- }
- part {
- name: "entry_padding_bottom";
- type: SPACER;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1{relative: 0.0 1.0; to: "entry.main.bg";}
- rel2{relative: 1.0 1.0; to: "entry.main.bg";}
- align: 0.0 1.0;
- }
- }
- part {
+ }
+ part {
name: "swl.entry";
type: SWALLOW;
scale: 1;
description {
- state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- min: 0 0;
- max: 0 0;
+ state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ min: 0 0;
+ max: 0 0;
}
description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 RECIPIENT_TO_FIELD_MIN_H;
- max: -1 -1;
- rel1 { to_x: "entry_padding_left"; to_y: "entry_padding_top"; relative: 1.0 1.0; }
- rel2 { to_x: "swl.contact_btn"; to_y: "entry_padding_bottom"; relative: 0.0 0.0; }
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ max: -1 -1;
+ align: 0.5 0.0;
+ rel1 { to: "swl.mbe"; relative: 0.0 1.0; }
+ rel2 { to_x: "swl.contact_btn"; to_y: "swl.mbe"; relative: 0.0 1.0; }
}
- }
- part {
+ }
+ part {
name: "img.invalid_icon_bg";
type: IMAGE;
scale: 1;
description {
- state: "default" 0.0;
- image.normal: "messages_recipients_failed_bg.png";
- min: 0 0;
- max: 0 0;
- fixed: 1 1;
- rel1 { to: "contact_padding_left"; relative: 0.0 0.0;}
- rel2 { to: "contact_padding_left"; relative: 0.0 1.0;}
- align: 1.0 0.5;
- color: RECIP_FAILED_COLOR;
- visible: 0;
+ state: "default" 0.0;
+ image.normal: "messages_recipients_failed_bg.png";
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ rel1 { to: "contact_padding_left"; relative: 0.0 0.0;}
+ rel2 { to: "contact_padding_left"; relative: 0.0 1.0;}
+ align: 1.0 0.5;
+ color: RECIP_FAILED_COLOR;
+ visible: 0;
}
description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- min: BUTTON_SIZE;
- max: BUTTON_SIZE;
- visible: 1;
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SIZE;
+ max: BUTTON_SIZE;
+ visible: 1;
}
- }
- part {
+ }
+ part {
name: "img.invalid_icon";
type: IMAGE;
scale: 1;
description {
- state: "default" 0.0;
- image.normal: "messages_recipients_failed.png";
- min: 0 0;
- max: 0 0;
- fixed: 1 1;
- rel1 { to: "contact_padding_left"; relative: 0.0 0.0;}
- rel2 { to: "contact_padding_left"; relative: 0.0 1.0;}
- align: 1.0 0.5;
- visible: 0;
+ state: "default" 0.0;
+ image.normal: "messages_recipients_failed.png";
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ rel1 { to: "contact_padding_left"; relative: 0.0 0.0;}
+ rel2 { to: "contact_padding_left"; relative: 0.0 1.0;}
+ align: 1.0 0.5;
+ visible: 0;
}
description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- min: BUTTON_SIZE;
- max: BUTTON_SIZE;
- visible: 1;
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_SIZE;
+ max: BUTTON_SIZE;
+ visible: 1;
}
- }
- part {
+ }
+ part {
name: "contact_padding_left";
type: SPACER;
scale: 1;
mouse_events: 0;
description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- rel1{relative: 0.0 0.0; to: "swl.contact_btn";}
- rel2{relative: 0.0 1.0; to: "swl.contact_btn";}
- align: 1.0 0.0;
+ state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ rel1{relative: 0.0 0.0; to: "swl.contact_btn";}
+ rel2{relative: 0.0 1.0; to: "swl.contact_btn";}
+ align: 1.0 0.0;
}
- }
- part {
+ }
+ part {
name: "swl.contact_btn";
type: SWALLOW;
scale: 1;
mouse_events: 1;
description {
- state: "default" 0.0;
- visible: 0;
+ state: "default" 0.0;
+ visible: 0;
+ min: 50 50;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel.to: "rect.btn";
+ align: 0.5 0.5;
}
description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- min: 50 50;
- fixed: 1 1;
- align: 0.5 0.5;
- visible: 1;
- rel1 { to: "rect.btn"; relative: 0.0 0.0; }
- rel2 { to: "rect.btn"; relative: 1.0 1.0; }
- align: 0.5 0.5;
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
}
- }
- part {
+ }
+ part {
name: "rect.btn";
type: SPACER;
scale: 1;
mouse_events: 0;
description {
- state: "default" 0.0; //hide prev button
- min: BUTTON_RECT_SIZE;
- max: BUTTON_RECT_SIZE;
- fixed: 1 1;
- rel1 { to_x: "entry_padding_right"; to_y: "entry_padding_top"; relative: 0.0 1.0; }
- rel2 { to_x: "entry_padding_right"; to_y: "entry_padding_bottom"; relative: 0.0 0.0; }
- align: 1.0 0.5;
+ state: "default" 0.0; //hide prev button
+ min: BUTTON_RECT_SIZE;
+ max: BUTTON_RECT_SIZE;
+ fixed: 1 1;
+ rel1 {
+ to: "swl.entry";
+ relative: 1 0;
+ }
+ rel2 {
+ to_y: "swl.entry";
+ relative: 1 1;
+ }
+ align: 1.0 0.5;
}
- }
- }
- programs {
- program {
+ }
+ }
+ programs {
+ program {
name: "hide.ct_button";
signal: "hide.ct_button";
source: "*";
action: STATE_SET "default" 0.0;
target: "swl.contact_btn";
- }
- program {
+ }
+ program {
name: "show.ct_button";
signal: "show.ct_button";
source: "*";
action: STATE_SET "show" 0.0;
target: "swl.contact_btn";
- }
- program {
+ }
+ program {
name: "show_to_mbe_anim";
signal: "show_to_mbe_anim";
source: "*";
action: STATE_SET "show" 0.0;
target: "swl.mbe";
transition: LINEAR 0.2;
- }
- program {
+ }
+ program {
name: "hide_to_mbe_anim";
signal: "hide_to_mbe_anim";
source: "*";
action: STATE_SET "default" 0.0;
target: "swl.mbe";
transition: LINEAR 0.2;
- }
- program {
+ }
+ program {
name: "show_to_mbe";
signal: "show_to_mbe";
source: "*";
action: STATE_SET "show" 0.0;
target: "swl.mbe";
- }
- program {
+ }
+ program {
name: "hide_to_mbe";
signal: "hide_to_mbe";
source: "*";
action: STATE_SET "default" 0.0;
target: "swl.mbe";
- }
- program {
+ }
+ program {
name: "show_entry";
signal: "show_entry";
source: "*";
action: STATE_SET "show" 0.0;
target: "swl.entry";
- target: "entry.main.bg";
target: "swl.contact_btn";
- }
- program {
+ }
+ program {
name: "hide_entry";
signal: "hide_entry";
source: "*";
action: STATE_SET "default" 0.0;
target: "swl.entry";
- target: "entry.main.bg";
target: "swl.contact_btn";
- }
- program {
+ }
+ program {
name: "show_invalid_icon";
signal: "show_invalid_icon";
source: "*";
action: STATE_SET "show" 0.0;
target: "img.invalid_icon";
target: "img.invalid_icon_bg";
- }
- program {
+ }
+ program {
name: "hide_invalid_icon";
signal: "hide_invalid_icon";
source: "*";
action: STATE_SET "default" 0.0;
target: "img.invalid_icon";
target: "img.invalid_icon_bg";
- }
- }
-}
+ }
+ }
+ }
}