image: "telegram_emotion.png" COMP;
image: "telegram_add_object.png" COMP;
image: "telegram_send.png" COMP;
+ image: "telegram_attach_image_round_bg.#.png" COMP;
+ image: "telegram_attach_image_round_line.#.png" COMP;
+ image: "telegram_attach_image_round_shadow.#.png" COMP;
}
group {
}
}
part {
+ name: "pressed,smile";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.5 0.5; to: "image,smile"; }
+ rel2 { relative: 0.5 0.5; to: "image,smile"; }
+ fixed: 1 1;
+ min: 50 50;
+ image.normal: "telegram_attach_image_round_bg.#.png";
+ color: 45 165 224 76;
+ visible: 0;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ min: 72 72;
+ visible: 1;
+ }
+ }
+ part {
name: "image,smile";
type: IMAGE;
description{
}
}
part {
+ name: "pressed,attach";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.5 0.5; to: "image,attach"; }
+ rel2 { relative: 0.5 0.5; to: "image,attach"; }
+ fixed: 1 1;
+ min: 50 50;
+ image.normal: "telegram_attach_image_round_bg.#.png";
+ color: 45 165 224 76;
+ visible: 0;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ min: 72 72;
+ visible: 1;
+ }
+ }
+ part {
name: "image,attach";
type: IMAGE;
description{
visible: 0;
}
}
+ part {
+ name: "pressed,send";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.5 0.5; to: "image,send"; }
+ rel2 { relative: 0.5 0.5; to: "image,send"; }
+ fixed: 1 1;
+ min: 50 50;
+ image.normal: "telegram_attach_image_round_bg.#.png";
+ color: 45 165 224 76;
+ visible: 0;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ min: 72 72;
+ visible: 1;
+ }
+ }
part {
name: "image,send";
type: IMAGE;
target: "image,send";
target: "image,attach";
}
+ /* pressed effect */
+ program {
+ name: "smile,pressed";
+ signal: "mouse,down,1";
+ source: "image,smile";
+ action: STATE_SET "pressed" 0.0;
+ target: "pressed,smile";
+ transition: LINEAR 0.2;
+ }
+ program {
+ name: "smile,release";
+ signal: "mouse,up,1";
+ source: "image,smile";
+ action: STATE_SET "default" 0.0;
+ target: "pressed,smile";
+ }
+ program {
+ name: "attach,pressed";
+ signal: "mouse,down,1";
+ source: "image,attach";
+ action: STATE_SET "pressed" 0.0;
+ target: "pressed,attach";
+ transition: LINEAR 0.2;
+ }
+ program {
+ name: "attach,release";
+ signal: "mouse,up,1";
+ source: "image,attach";
+ action: STATE_SET "default" 0.0;
+ target: "pressed,attach";
+ }
+ program {
+ name: "send,pressed";
+ signal: "mouse,down,1";
+ source: "image,send";
+ action: STATE_SET "pressed" 0.0;
+ target: "pressed,send";
+ transition: LINEAR 0.2;
+ }
+ program {
+ name: "send,release";
+ signal: "mouse,up,1";
+ source: "image,send";
+ action: STATE_SET "default" 0.0;
+ target: "pressed,send";
+ }
+ /* clicked effect and send the signal to c file */
program {
name: "smile,clicked";
signal: "mouse,clicked,1";
}
}
}
-
-
- images {
- image: "telegram_attach_image_round_bg.#.png" COMP;
- image: "telegram_attach_image_round_line.#.png" COMP;
- image: "telegram_attach_image_round_shadow.#.png" COMP;
- }
-
-
-
-
+
group {
name: "rounded_corner_layout";
parts {