#define TOGGLE_BTN_MIN_SIZE 90 90
+#define END_CALL_REPLY_BTN_HEIGHT 190
+#define END_CALL_REPLY_BTN_ICON_PAD_TOP 36
+#define END_CALL_REPLY_BTN_ICON_DIMENT 64
+#define END_CALL_REPLY_BTN_TXT_HEIGHT 38
+#define END_CALL_REPLY_BTN_TXT_PAD_REPLY_BTN_ICON 20
+#define END_CALL_REPLY_BTN_TXT_PAD_TOP (END_CALL_REPLY_BTN_ICON_PAD_TOP + END_CALL_REPLY_BTN_ICON_DIMENT + END_CALL_REPLY_BTN_TXT_PAD_REPLY_BTN_ICON)
+#define END_CALL_REPLY_BTN_ICON_SIZE END_CALL_REPLY_BTN_ICON_DIMENT END_CALL_REPLY_BTN_ICON_DIMENT
+
#define STYLE_TAGS \
tag: "br" "\n";\
tag: "ps" "ps";\
tag: "b" "+ font_weight=Bold";
styles {
- style { name: "active_noti_btn_txt";
- base: "align=center valign=center color=#ffffffff font=Tizen:style=Regular font_size=40 text_class=tizen ellipsis=1.0";
+ style { name: "active_noti_btn";
+ base: "font="VC_FONT_REGULAR" font_size=40 text_class=tizen color=#ffffffff ellipsis=1.0 align=center valign=center";
+ STYLE_TAGS
+ }
+ style { name: "held_call_manage_btn";
+ base: "font="VC_FONT_REGULAR" font_size=27 text_class=tizen color=#fffafaff ellipsis=1.0 align=center valign=center";
+ STYLE_TAGS
+ }
+ style { name: "ec_reply_btn";
+ base: "font="VC_FONT_REGULAR" font_size=34 text_class=tizen color=#808080ff ellipsis=1.0 align=center valign=center";
STYLE_TAGS
}
}
images { \
image: img1 COMP; \
} \
+ script { \
+ public mouse_down = 0; \
+ public multi_down = 0; \
+ public disabled = 0; \
+ public animate = 0; \
+ } \
parts { \
part { name: "bg"; \
type: RECT; \
- mouse_events: 1; \
scale: 1; \
description { state: "default" 0.0; \
color_class: "action_bar_bg_norm"; \
} \
part { name: "bg_press"; \
type: RECT; \
- mouse_events: 1; \
scale: 1; \
description { state: "default" 0.0; \
color_class: "action_bar_bg_norm"; \
} \
} \
part { name: "content_image"; \
+ type: IMAGE; \
+ scale: 1; \
description { state: "default" 0.0; \
image.normal: img1; \
aspect: 0.5 1.0; \
} \
part { name: "elm.text"; \
type: TEXT; \
- mouse_events: 0; \
scale: 1; \
description { state: "default" 0.0; \
fixed: 1 1; \
} \
part { name: "over"; \
type: RECT; \
- mouse_events: 1; \
- repeat_events: 1; \
- ignore_flags: ON_HOLD; \
- description { state: "default" 0.0; \
- color: COLOR_BG_ALPHA; \
- rel1 { relative: 0.25 0.1; } \
- rel2 { relative: 0.75 0.9; } \
- } \
- } \
- part { name: "disabler"; \
- type: RECT; \
+ scale: 1; \
description { state: "default" 0.0; \
color: COLOR_BG_ALPHA; \
- visible: 0; \
- } \
- description { state: "disabled" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 1.0; to: "bg"; } \
} \
} \
} \
programs { \
- program { name: "btn_press"; \
- signal: "mouse,down,1*"; \
- source: "over"; \
+ program { name: "pressed_effect"; \
action: STATE_SET "pressed_effect" 0.0; \
target: "bg_press"; \
- after: "btn_press_anim"; \
+ after: "pressed_effect2"; \
} \
- program { name: "btn_press_anim"; \
+ program { name: "pressed_effect2"; \
action: STATE_SET "pressed" 0.0; \
target: "bg_press"; \
transition: TRANSITION_GLIDE(0.15); \
+ after: "pressed_effect3"; \
+ } \
+ program { name: "pressed_effect3"; \
+ script { \
+ set_int(animate, 0); \
+ } \
+ } \
+ program { name: "delay_unpressed_effect"; \
+ in: 0.1 0.0; \
+ after: "unpressed_effect"; \
+ } \
+ program { name: "unpressed_effect"; \
+ script { \
+ if (get_int(disabled) == 0) { \
+ run_program(PROGRAM:"unpressed_effect2"); \
+ } else { \
+ run_program(PROGRAM:"disabled_effect2"); \
+ run_program(PROGRAM:"disabled_effect3"); \
+ } \
+ } \
} \
- program { name: "btn_unpress_anim"; \
+ program { name: "unpressed_effect2"; \
action: STATE_SET "default" 0.0; \
target: "bg_press"; \
transition: TRANSITION_GLIDE(0.45); \
} \
- program { name: "btn_unpress"; \
+ program { name: "disabled_effect2"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "elm.text"; \
+ target: "content_image"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "disabled_effect3"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_press"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "pressed"; \
+ signal: "mouse,down,1*"; \
+ source: "over"; \
+ script { \
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0) && (get_int(disabled) == 0)) { \
+ stop_program(PROGRAM:"delay_unpressed_effect"); \
+ set_int(mouse_down, 1); \
+ set_int(animate, 1); \
+ emit("elm,action,press", ""); \
+ run_program(PROGRAM:"pressed_effect"); \
+ } \
+ } \
+ } \
+ program { name: "unpressed"; \
signal: "mouse,up,1"; \
source: "over"; \
- action: SIGNAL_EMIT "elm,action,unpress" ""; \
- after: "btn_unpress_anim"; \
+ script { \
+ if (get_int(mouse_down) == 1) { \
+ set_int(mouse_down, 0); \
+ if (get_int(animate) == 0) { \
+ run_program(PROGRAM:"unpressed_effect"); \
+ } else { \
+ set_state(PART:"bg_press", "pressed", 0.0); \
+ set_int(animate, 0); \
+ run_program(PROGRAM:"delay_unpressed_effect"); \
+ } \
+ emit("elm,action,unpress", ""); \
+ } \
+ } \
} \
- program { name: "clicked"; \
+ program { name: "touch_snd"; \
signal: "mouse,clicked,1"; \
source: "over"; \
+ script { \
+ if (get_int(multi_down) == 0) { \
+ if (get_int(disabled) == 0) { \
+ run_program(PROGRAM:"touch_sound"); \
+ run_program(PROGRAM:"clicked_signal"); \
+ } \
+ } \
+ } \
+ } \
+ program { name: "touch_sound"; \
+ action: RUN_PLUGIN "touch_sound"; \
+ } \
+ program { name: "clicked_signal"; \
+ in: 0.001 0.0; \
action: SIGNAL_EMIT "elm,action,click" ""; \
- after: "touch_snd"; \
} \
program { name: "disable"; \
signal: "elm,state,disabled"; \
source: "elm"; \
- action: STATE_SET "disabled" 0.0; \
- target: "elm.text"; \
- target: "content_image"; \
- target: "disabler"; \
+ script { \
+ set_int(disabled, 1); \
+ if (get_int(animate) == 1) return; \
+ set_state(PART:"bg_press", "default", 0.0); \
+ set_state(PART:"elm.text", "disabled", 0.0); \
+ set_state(PART:"content_image", "disabled", 0.0); \
+ } \
} \
program { name: "enable"; \
signal: "elm,state,enabled"; \
source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "elm.text"; \
- target: "content_image"; \
- target: "disabler"; \
+ script { \
+ set_int(disabled, 0); \
+ set_state(PART:"bg_press", "default", 0.0); \
+ set_state(PART:"elm.text", "default", 0.0); \
+ set_state(PART:"content_image", "default", 0.0); \
+ } \
} \
- program { name: "touch_snd"; \
- action: RUN_PLUGIN "touch_sound"; \
+ program { name: "multi_down"; \
+ signal: "elm,action,multi,down"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 1); \
+ } \
+ } \
+ program { name: "multi_up"; \
+ signal: "elm,action,multi,up"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 0); \
+ } \
} \
} \
}
image: ICON_IMG_PATH"/call_onoff_bar.#.png" COMP; \
} \
script { \
+ public mouse_down = 0; \
+ public multi_down = 0; \
public disabled = 0; \
+ public animate = 0; \
public activated = 0; \
} \
parts { \
part { name: "bg"; \
type: RECT; \
- mouse_events: 1; \
scale: 1; \
description { state: "default" 0.0; \
visible: 1; \
} \
part { name: "bg_press"; \
type: RECT; \
- mouse_events: 1; \
scale: 1; \
description { state: "default" 0.0; \
color_class: "action_bar_bg_norm"; \
} \
} \
part { name: "content_image"; \
+ type: IMAGE; \
+ scale: 1; \
description { state: "default" 0.0; \
image.normal: img1; \
aspect: 0.5 1.0; \
} \
part { name: "elm.text"; \
type: TEXT; \
- mouse_events: 0; \
scale: 1; \
description { state: "default" 0.0; \
fixed: 1 1; \
} \
} \
part { name: "toggle_bar_image"; \
+ type: IMAGE; \
+ scale: 1; \
description { state: "default" 0.0; \
image { \
normal: ICON_IMG_PATH"/call_onoff_bar.#.png"; \
} \
part { name: "over"; \
type: RECT; \
- mouse_events: 1; \
- repeat_events: 1; \
- ignore_flags: ON_HOLD; \
- description { state: "default" 0.0; \
- color: COLOR_BG_ALPHA; \
- rel1 { relative: 0.25 0.1; } \
- rel2 { relative: 0.75 0.9; } \
- } \
- } \
- part { name: "disabler"; \
- type: RECT; \
+ scale: 1; \
description { state: "default" 0.0; \
color: COLOR_BG_ALPHA; \
- visible: 0; \
- } \
- description { state: "disabled" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 1.0; to: "bg"; } \
} \
} \
} \
programs { \
- program { name: "btn_press"; \
- signal: "mouse,down,1*"; \
- source: "over"; \
+ program { name: "pressed_effect"; \
action: STATE_SET "pressed_effect" 0.0; \
target: "bg_press"; \
- after: "btn_press_anim"; \
+ after: "pressed_effect2"; \
} \
- program { name: "btn_press_anim"; \
+ program { name: "pressed_effect2"; \
action: STATE_SET "pressed" 0.0; \
target: "bg_press"; \
transition: TRANSITION_GLIDE(0.15); \
+ after: "pressed_effect3"; \
+ } \
+ program { name: "pressed_effect3"; \
+ script { \
+ set_int(animate, 0); \
+ } \
+ } \
+ program { name: "delay_unpressed_effect"; \
+ in: 0.1 0.0; \
+ after: "unpressed_effect"; \
+ } \
+ program { name: "unpressed_effect"; \
+ script { \
+ if (get_int(disabled) == 0) { \
+ run_program(PROGRAM:"unpressed_effect2"); \
+ } else { \
+ run_program(PROGRAM:"disabled_effect2"); \
+ run_program(PROGRAM:"disabled_effect3"); \
+ } \
+ } \
} \
- program { name: "btn_unpress_anim"; \
+ program { name: "unpressed_effect2"; \
action: STATE_SET "default" 0.0; \
target: "bg_press"; \
transition: TRANSITION_GLIDE(0.45); \
} \
- program { name: "btn_unpress"; \
+ program { name: "disabled_effect2"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "elm.text"; \
+ target: "content_image"; \
+ target: "toggle_bar_image"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "disabled_effect3"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_press"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "pressed"; \
+ signal: "mouse,down,1*"; \
+ source: "over"; \
+ script { \
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0) && (get_int(disabled) == 0)) { \
+ stop_program(PROGRAM:"delay_unpressed_effect"); \
+ set_int(mouse_down, 1); \
+ set_int(animate, 1); \
+ emit("elm,action,press", ""); \
+ run_program(PROGRAM:"pressed_effect"); \
+ } \
+ } \
+ } \
+ program { name: "unpressed"; \
signal: "mouse,up,1"; \
source: "over"; \
- action: SIGNAL_EMIT "elm,action,unpress" ""; \
- after: "btn_unpress_anim"; \
+ script { \
+ if (get_int(mouse_down) == 1) { \
+ set_int(mouse_down, 0); \
+ if (get_int(animate) == 0) { \
+ run_program(PROGRAM:"unpressed_effect"); \
+ } else { \
+ set_state(PART:"bg_press", "pressed", 0.0); \
+ set_int(animate, 0); \
+ run_program(PROGRAM:"delay_unpressed_effect"); \
+ } \
+ emit("elm,action,unpress", ""); \
+ } \
+ } \
} \
program { name: "touch_snd"; \
signal: "mouse,clicked,1"; \
source: "over"; \
+ script { \
+ if (get_int(multi_down) == 0) { \
+ if (get_int(disabled) == 0) { \
+ run_program(PROGRAM:"touch_sound"); \
+ run_program(PROGRAM:"clicked_signal"); \
+ } \
+ } \
+ } \
+ } \
+ program { name: "touch_sound"; \
action: RUN_PLUGIN "touch_sound"; \
- after: button_unclick3; \
} \
- program { name: "button_unclick3"; \
+ program { name: "clicked_signal"; \
+ in: 0.001 0.0; \
action: SIGNAL_EMIT "elm,action,click" ""; \
} \
program { name: "disable"; \
signal: "elm,state,disabled"; \
source: "elm"; \
script { \
- if (get_int(disabled) == 0) { \
- set_state(PART:"elm.text", "disabled", 0.0); \
- set_state(PART:"content_image", "disabled", 0.0); \
- set_state(PART:"toggle_bar_image", "disabled", 0.0); \
- } \
- set_state(PART:"disabler", "disabled", 0.0); \
set_int(disabled, 1); \
+ if (get_int(animate) == 1) return; \
+ set_state(PART:"bg_press", "default", 0.0); \
+ set_state(PART:"elm.text", "disabled", 0.0); \
+ set_state(PART:"content_image", "disabled", 0.0); \
+ set_state(PART:"toggle_bar_image", "disabled", 0.0); \
} \
} \
program { name: "enable"; \
signal: "elm,state,enabled"; \
source: "elm"; \
script { \
+ set_int(disabled, 0); \
if (get_int(activated) == 0) { \
set_state(PART:"elm.text", "default", 0.0); \
set_state(PART:"content_image", "default", 0.0); \
set_state(PART:"content_image", "pressed", 0.0); \
set_state(PART:"toggle_bar_image", "pressed", 0.0); \
} \
- set_state(PART:"disabler", "default", 0.0); \
- set_int(disabled, 0); \
+ set_state(PART:"bg_press", "default", 0.0); \
+ } \
+ } \
+ program { name: "multi_down"; \
+ signal: "elm,action,multi,down"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 1); \
+ } \
+ } \
+ program { name: "multi_up"; \
+ signal: "elm,action,multi,up"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 0); \
} \
} \
program { name: "activate"; \
} \
part { name: "tizen_vg_shape_clipper2"; \
type: RECT; \
+ scale: 1; \
description { state: "default" 0.0; \
visible: 0; \
color: COLOR_BG_ALPHA; \
to: "padding_right_bottom"; \
} \
text { \
- style: "active_noti_btn_txt"; \
+ style: "active_noti_btn"; \
max: 1 0; \
} \
color: 250 250 250 255; \
} \
description { state: "pressed" 0.0; \
inherit: "default" 0.0; \
- text.style: "active_noti_btn_txt"; \
+ text.style: "active_noti_btn"; \
color: 250 250 250 255; \
} \
description { state: "disabled" 0.0; \
inherit: "default" 0.0; \
- text.style: "active_noti_btn_txt"; \
+ text.style: "active_noti_btn"; \
color: 250 250 250 163; \
} \
} \
part { name: "clipper"; \
type: RECT; \
+ scale: 1; \
description { state: "default" 0.0; \
} \
description { state: "pressed" 0.0; \
} \
part { name: "event"; \
type: RECT; \
+ scale: 1; \
description { state: "default" 0.0; \
rel1.to: "tizen_vg_shape"; \
rel2.to: "tizen_vg_shape"; \
signal: "elm,action,multi,down"; \
source: "elm"; \
script { \
- set_int(multi_down, 1); \
+ set_int(multi_down, 1); \
} \
} \
program { name: "multi_up"; \
}
#define CIRCLE_BTN_WITH_ICON(grp_name, btn_size, btn_bg_color_norm, btn_bg_color_dim, btn_icon_path, btn_icon_color_norm) \
-group { name: "elm/button/base/"grp_name; \
- data.item: "vector_ux" "circle"; \
- images { \
- image: btn_icon_path COMP; \
- } \
- script { \
- public mouse_down = 0; \
- public multi_down = 0; \
- public disabled = 0; \
- public animate = 0; \
- } \
- parts { \
- part { name: "base"; \
- scale: 1; \
- type: SPACER; \
- description { state: "default" 0.0; \
- min: btn_size btn_size; \
- } \
+ group { name: "elm/button/base/"grp_name; \
+ data.item: "vector_ux" "circle"; \
+ images { \
+ image: btn_icon_path COMP; \
} \
- part { name: "tizen_vg_shape"; \
- type: SWALLOW; \
- clip_to: "tizen_vg_shape_clipper"; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: btn_size btn_size; \
- rel1.relative: 0.5 0; \
- rel2.relative: 0.5 0; \
- align: 0.5 0; \
- fixed: 1 1; \
- } \
+ script { \
+ public mouse_down = 0; \
+ public multi_down = 0; \
+ public disabled = 0; \
+ public animate = 0; \
} \
- part { name: "tizen_vg_shape_clipper"; \
- type: RECT; \
- description { state: "default" 0.0; \
- color_class: btn_bg_color_norm; \
+ parts { \
+ part { name: "base"; \
+ scale: 1; \
+ type: SPACER; \
+ description { state: "default" 0.0; \
+ min: btn_size btn_size; \
+ } \
} \
- description { state: "disabled" 0.0; \
- color_class: btn_bg_color_dim; \
+ part { name: "tizen_vg_shape"; \
+ type: SWALLOW; \
+ clip_to: "tizen_vg_shape_clipper"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ min: btn_size btn_size; \
+ rel1.relative: 0.5 0; \
+ rel2.relative: 0.5 0; \
+ align: 0.5 0; \
+ fixed: 1 1; \
+ } \
} \
- } \
- part { name: "effect_spacer"; \
- type: SPACER; \
- description { state: "default" 0.0; \
- rel1.to: "tizen_vg_shape"; \
- rel2.to: "tizen_vg_shape"; \
+ part { name: "tizen_vg_shape_clipper"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color_class: btn_bg_color_norm; \
+ } \
+ description { state: "disabled" 0.0; \
+ color_class: btn_bg_color_dim; \
+ } \
} \
- } \
- part { name: "tizen_vg_shape2"; \
- type: SWALLOW; \
- clip_to: "tizen_vg_shape_clipper2"; \
- scale: 1; \
- description { state: "default" 0.0; \
- rel1.to: "effect_spacer"; \
- rel2.to: "effect_spacer"; \
- rel1.relative: 0.15 0.15; \
- rel2.relative: 0.85 0.85; \
- } \
- description { state: "ready" 0.0; \
- inherit: "default" 0.0; \
- } \
- description { state: "pressed" 0.0; \
- inherit: "default" 0.0; \
- rel1.relative: 0.0 0.0; \
- rel2.relative: 1.0 1.0; \
+ part { name: "effect_spacer"; \
+ type: SPACER; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "tizen_vg_shape"; \
+ rel2.to: "tizen_vg_shape"; \
+ } \
} \
- } \
- part { name: "tizen_vg_shape_clipper2"; \
- type: RECT; \
- description { state: "default" 0.0; \
- visible: 0; \
- color: COLOR_BG_ALPHA; \
+ part { name: "tizen_vg_shape2"; \
+ type: SWALLOW; \
+ clip_to: "tizen_vg_shape_clipper2"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "effect_spacer"; \
+ rel2.to: "effect_spacer"; \
+ rel1.relative: 0.15 0.15; \
+ rel2.relative: 0.85 0.85; \
+ } \
+ description { state: "ready" 0.0; \
+ inherit: "default" 0.0; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ rel1.relative: 0.0 0.0; \
+ rel2.relative: 1.0 1.0; \
+ } \
+ } \
+ part { name: "tizen_vg_shape_clipper2"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ color: COLOR_BG_ALPHA; \
+ } \
+ description { state: "ready" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ description { state: "pressed" 0.0; \
+ color: 0 0 0 77; \
+ } \
} \
- description { state: "ready" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
+ part { name: "elm.icon"; \
+ type: IMAGE; \
+ scale: 1; \
+ clip_to: "clipper"; \
+ description { state: "default" 0.0; \
+ min: CIRCLE_BTN_DEF_ICON_SIZE; \
+ aspect_preference: SOURCE; \
+ color_class: btn_icon_color_norm; \
+ fixed: 1 1; \
+ rel1.to: "tizen_vg_shape"; \
+ rel2.to: "tizen_vg_shape"; \
+ rel1.relative: 0.5 0.5; \
+ rel2.relative: 0.5 0.5; \
+ image { \
+ normal: btn_icon_path; \
+ middle: DEFAULT; \
+ } \
+ } \
} \
- description { state: "pressed" 0.0; \
- color: 0 0 0 77; \
+ part { name: "clipper"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ } \
+ description { state: "pressed" 0.0; \
+ } \
+ description { state: "disabled" 0.0; \
+ color: 255 255 255 127; \
+ } \
} \
- } \
- part { name: "elm.icon"; \
- type: IMAGE; \
- scale: 1; \
- clip_to: "clipper"; \
- description { state: "default" 0.0; \
- min: CIRCLE_BTN_DEF_ICON_SIZE; \
- aspect_preference: SOURCE; \
- color_class: btn_icon_color_norm; \
- fixed: 1 1; \
- rel1.to: "tizen_vg_shape"; \
- rel2.to: "tizen_vg_shape"; \
- rel1.relative: 0.5 0.5; \
- rel2.relative: 0.5 0.5; \
- image { \
- normal: btn_icon_path; \
- middle: DEFAULT; \
+ part { name: "event"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "tizen_vg_shape"; \
+ rel2.to: "elm.icon"; \
+ color: COLOR_BG_ALPHA; \
} \
} \
} \
- part { name: "clipper"; \
- type: RECT; \
- description { state: "default" 0.0; \
+ programs { \
+ program { name: "pressed_effect"; \
+ action: STATE_SET "ready" 0.0; \
+ target: "tizen_vg_shape2"; \
+ target: "tizen_vg_shape_clipper2"; \
+ after: "pressed_effect2"; \
} \
- description { state: "pressed" 0.0; \
+ program { name: "pressed_effect2"; \
+ action: STATE_SET "pressed" 0.0; \
+ target: "tizen_vg_shape2"; \
+ target: "clipper"; \
+ target: "tizen_vg_shape_clipper2"; \
+ transition: TRANSITION_GLIDE(0.15); \
+ after: "pressed_effect3"; \
+ } \
+ program { name: "pressed_effect3"; \
+ script { \
+ set_int(animate, 0); \
+ } \
} \
- description { state: "disabled" 0.0; \
- color: 255 255 255 127; \
+ program { name: "delay_unpressed_effect"; \
+ in: 0.1 0.0; \
+ after: "unpressed_effect"; \
} \
- } \
- part { name: "event"; \
- type: RECT; \
- description { state: "default" 0.0; \
- rel1.to: "tizen_vg_shape"; \
- rel2.to: "elm.icon"; \
- color: COLOR_BG_ALPHA; \
+ program { name: "unpressed_effect"; \
+ script { \
+ if (get_int(disabled) == 0) { \
+ run_program(PROGRAM:"unpressed_effect2"); \
+ } else { \
+ run_program(PROGRAM:"disabled_effect"); \
+ run_program(PROGRAM:"disabled_effect3"); \
+ } \
+ } \
+ } \
+ program { name: "unpressed_effect2"; \
+ action: STATE_SET "ready" 0.0; \
+ target: "tizen_vg_shape_clipper2"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ after: "unpressed_effect4"; \
+ } \
+ program { name: "unpressed_effect4"; \
+ action: STATE_SET "default" 0.0; \
+ target: "clipper"; \
+ after: "finished_animation"; \
+ } \
+ program { name: "disabled_effect"; \
+ action: STATE_SET "ready" 0.0; \
+ target: "tizen_vg_shape_clipper2"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "disabled_effect3"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "clipper"; \
+ target: "tizen_vg_shape_clipper"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ after: "finished_animation"; \
+ } \
+ program { name: "finished_animation"; \
+ action: STATE_SET "default" 0.0; \
+ target: "tizen_vg_shape2"; \
+ target: "tizen_vg_shape_clipper2"; \
+ } \
+ program { name: "pressed"; \
+ signal: "mouse,down,1*"; \
+ source: "event"; \
+ script { \
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0) && (get_int(disabled) == 0)) { \
+ stop_program(PROGRAM:"delay_unpressed_effect"); \
+ set_int(mouse_down, 1); \
+ set_int(animate, 1); \
+ emit("elm,action,press", ""); \
+ run_program(PROGRAM:"pressed_effect"); \
+ } \
+ } \
+ } \
+ program { name: "unpressed"; \
+ signal: "mouse,up,1"; \
+ source: "event"; \
+ script { \
+ if (get_int(mouse_down) == 1) { \
+ set_int(mouse_down, 0); \
+ if (get_int(disabled) == 0) { \
+ if (get_int(animate) == 0) { \
+ emit("elm,action,unpress", ""); \
+ run_program(PROGRAM:"unpressed_effect"); \
+ } else { \
+ set_state(PART:"clipper", "pressed", 0.0); \
+ set_state(PART:"tizen_vg_shape2", "pressed", 0.0); \
+ set_state(PART:"tizen_vg_shape_clipper2", "pressed", 0.0); \
+ set_int(animate, 0); \
+ run_program(PROGRAM:"delay_unpressed_effect"); \
+ } \
+ } \
+ } \
+ } \
+ } \
+ program { name: "touch_snd"; \
+ signal: "mouse,clicked,1"; \
+ source: "event"; \
+ script { \
+ if (get_int(multi_down) == 0) { \
+ if (get_int(disabled) == 0) { \
+ run_program(PROGRAM:"touch_sound"); \
+ run_program(PROGRAM:"clicked_signal"); \
+ } \
+ } \
+ } \
+ } \
+ program { name: "touch_sound"; \
+ action: RUN_PLUGIN "touch_sound"; \
+ } \
+ program { name: "clicked_signal"; \
+ in: 0.001 0.0; \
+ action: SIGNAL_EMIT "elm,action,click" ""; \
+ } \
+ program { name: "disable"; \
+ signal: "elm,state,disabled"; \
+ source: "elm"; \
+ script { \
+ set_int(disabled, 1); \
+ if (get_int(animate) == 1) return; \
+ set_state(PART:"clipper", "disabled", 0.0); \
+ set_state(PART:"tizen_vg_shape_clipper", "disabled", 0.0); \
+ } \
+ } \
+ program { name: "enable"; \
+ signal: "elm,state,enabled"; \
+ source: "elm"; \
+ script { \
+ set_int(disabled, 0); \
+ set_state(PART:"clipper", "default", 0.0); \
+ set_state(PART:"tizen_vg_shape_clipper", "default", 0.0); \
+ } \
+ } \
+ program { name: "multi_down"; \
+ signal: "elm,action,multi,down"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 1); \
+ } \
+ } \
+ program { name: "multi_up"; \
+ signal: "elm,action,multi,up"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 0); \
+ } \
+ } \
+ program { name: "pass_event_enable"; \
+ signal: "elm,event,pass,enabled"; \
+ source: "elm"; \
+ script { \
+ set_mouse_events(PART:"event", 0); \
+ } \
+ } \
+ program { name: "pass_event_disable"; \
+ signal: "elm,event,pass,disabled"; \
+ source:"elm"; \
+ script { \
+ set_mouse_events(PART:"event", 1); \
+ } \
+ } \
+ program { name: "repeat_event_enable"; \
+ signal: "elm,event,repeat,enabled"; \
+ source: "elm"; \
+ script { \
+ set_mouse_events(PART:"event", 1); \
+ } \
+ } \
+ program { name: "repeat_event_disable"; \
+ signal: "elm,event,repeat,disabled"; \
+ source:"elm"; \
+ script { \
+ set_mouse_events(PART:"event", 0); \
+ } \
} \
} \
+ }
+
+#define PRESS_EFFECT_DEFAULT_SCRIPT_VAR \
+ public mouse_down = 0; \
+ public multi_down = 0; \
+ public animate = 0; \
+
+#define PRESS_EFFECT_DEFAULT_PROGRAMS \
+ program { name: "pressed_effect"; \
+ action: STATE_SET "pressed_effect" 0.0; \
+ target: "bg_press"; \
+ after: "pressed_effect2"; \
} \
- programs { \
- program { name: "pressed_effect"; \
- action: STATE_SET "ready" 0.0; \
- target: "tizen_vg_shape2"; \
- target: "tizen_vg_shape_clipper2"; \
- after: "pressed_effect2"; \
- } \
- program { name: "pressed_effect2"; \
- action: STATE_SET "pressed" 0.0; \
- target: "tizen_vg_shape2"; \
- target: "clipper"; \
- target: "tizen_vg_shape_clipper2"; \
- transition: TRANSITION_GLIDE(0.15); \
- after: "pressed_effect3"; \
+ program { name: "pressed_effect2"; \
+ action: STATE_SET "pressed" 0.0; \
+ target: "bg_press"; \
+ transition: TRANSITION_GLIDE(0.15); \
+ after: "pressed_effect3"; \
+ } \
+ program { name: "pressed_effect3"; \
+ script { \
+ set_int(animate, 0); \
} \
- program { name: "pressed_effect3"; \
- script { \
- set_int(animate, 0); \
+ } \
+ program { name: "delay_unpressed_effect"; \
+ in: 0.1 0.0; \
+ after: "unpressed_effect"; \
+ } \
+ program { name: "unpressed_effect"; \
+ action: STATE_SET "default" 0.0; \
+ target: "bg_press"; \
+ transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "pressed"; \
+ signal: "mouse,down,1*"; \
+ source: "over"; \
+ script { \
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0)) { \
+ stop_program(PROGRAM:"delay_unpressed_effect"); \
+ set_int(mouse_down, 1); \
+ set_int(animate, 1); \
+ emit("elm,action,press", ""); \
+ run_program(PROGRAM:"pressed_effect"); \
} \
} \
- program { name: "delay_unpressed_effect"; \
- in: 0.1 0.0; \
- after: "unpressed_effect"; \
- } \
- program { name: "unpressed_effect"; \
- script { \
- if (get_int(disabled) == 0) { \
- run_program(PROGRAM:"unpressed_effect2"); \
+ } \
+ program { name: "unpressed"; \
+ signal: "mouse,up,1"; \
+ source: "over"; \
+ script { \
+ if (get_int(mouse_down) == 1) { \
+ set_int(mouse_down, 0); \
+ if (get_int(animate) == 0) { \
+ run_program(PROGRAM:"unpressed_effect"); \
} else { \
- run_program(PROGRAM:"disabled_effect"); \
- run_program(PROGRAM:"disabled_effect3"); \
+ set_state(PART:"bg_press", "pressed", 0.0); \
+ set_int(animate, 0); \
+ run_program(PROGRAM:"delay_unpressed_effect"); \
} \
+ emit("elm,action,unpress", ""); \
} \
} \
- program { name: "unpressed_effect2"; \
- action: STATE_SET "ready" 0.0; \
- target: "tizen_vg_shape_clipper2"; \
- transition: TRANSITION_GLIDE(0.45); \
- after: "unpressed_effect4"; \
- } \
- program { name: "unpressed_effect4"; \
- action: STATE_SET "default" 0.0; \
- target: "clipper"; \
- after: "finished_animation"; \
+ } \
+ program { name: "touch_snd"; \
+ signal: "mouse,clicked,1"; \
+ source: "over"; \
+ script { \
+ if (get_int(multi_down) == 0) { \
+ run_program(PROGRAM:"touch_sound"); \
+ run_program(PROGRAM:"clicked_signal"); \
+ } \
+ } \
+ } \
+ program { name: "touch_sound"; \
+ action: RUN_PLUGIN "touch_sound"; \
+ } \
+ program { name: "clicked_signal"; \
+ in: 0.001 0.0; \
+ action: SIGNAL_EMIT "elm,action,click" ""; \
+ } \
+ program { name: "multi_down"; \
+ signal: "elm,action,multi,down"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 1); \
} \
- program { name: "disabled_effect"; \
- action: STATE_SET "ready" 0.0; \
- target: "tizen_vg_shape_clipper2"; \
- transition: TRANSITION_GLIDE(0.45); \
+ } \
+ program { name: "multi_up"; \
+ signal: "elm,action,multi,up"; \
+ source: "elm"; \
+ script { \
+ set_int(multi_down, 0); \
} \
- program { name: "disabled_effect3"; \
- action: STATE_SET "disabled" 0.0; \
- target: "clipper"; \
- target: "tizen_vg_shape_clipper"; \
- transition: TRANSITION_GLIDE(0.45); \
- after: "finished_animation"; \
+ } \
+
+#define SPLIT_CALL_MANAGE_BTN(grp_name, bg_image, icon, bg_color_norm, bg_color_press) \
+ group { name: "elm/button/base/"grp_name; \
+ images { \
+ image: bg_image COMP; \
+ image: icon COMP; \
} \
- program { name: "finished_animation"; \
- action: STATE_SET "default" 0.0; \
- target: "tizen_vg_shape2"; \
- target: "tizen_vg_shape_clipper2"; \
+ script { \
+ PRESS_EFFECT_DEFAULT_SCRIPT_VAR \
} \
- program { name: "pressed"; \
- signal: "mouse,down,1*"; \
- source: "event"; \
- script { \
- if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0) && (get_int(disabled) == 0)) { \
- stop_program(PROGRAM:"delay_unpressed_effect"); \
- set_int(mouse_down, 1); \
- set_int(animate, 1); \
- emit("elm,action,press", ""); \
- run_program(PROGRAM:"pressed_effect"); \
+ parts { part { name: "bg"; \
+ type: IMAGE; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ image.normal: bg_image; \
+ color_class: bg_color_norm; \
} \
} \
- } \
- program { name: "unpressed"; \
- signal: "mouse,up,1"; \
- source: "event"; \
- script { \
- if (get_int(mouse_down) == 1) { \
- set_int(mouse_down, 0); \
- if (get_int(disabled) == 0) { \
- if (get_int(animate) == 0) { \
- emit("elm,action,unpress", ""); \
- run_program(PROGRAM:"unpressed_effect"); \
- } else { \
- set_state(PART:"clipper", "pressed", 0.0); \
- set_state(PART:"tizen_vg_shape2", "pressed", 0.0); \
- set_state(PART:"tizen_vg_shape_clipper2", "pressed", 0.0); \
- set_int(animate, 0); \
- run_program(PROGRAM:"delay_unpressed_effect"); \
- } \
- } \
+ part { name: "bg_press"; \
+ type: IMAGE; \
+ scale: 1; \
+ mouse_events: 1; \
+ description { state: "default" 0.0; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 1.0; to: "bg"; } \
+ image.normal: bg_image; \
+ color_class: "transparent_black"; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ color_class: bg_color_press; \
+ } \
+ description { state: "pressed_effect" 0.0; \
+ inherit: "pressed" 0.0; \
+ rel1 { relative: 0.15 0.15; to: "bg"; } \
+ rel2 { relative: 0.85 0.85; to: "bg"; } \
} \
} \
- } \
- program { name: "touch_snd"; \
- signal: "mouse,clicked,1"; \
- source: "event"; \
- script { \
- if (get_int(multi_down) == 0) { \
- if (get_int(disabled) == 0) { \
- run_program(PROGRAM:"touch_sound"); \
- run_program(PROGRAM:"clicked_signal"); \
- } \
+ part { name: "icon"; \
+ type: IMAGE; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ rel1.relative: MS_BTN_ICON_L MS_BTN_ICON_T; \
+ rel2.relative: MS_BTN_ICON_R MS_BTN_ICON_B; \
+ image.normal: icon; \
+ } \
+ } \
+ part { name: "text"; \
+ type: TEXTBLOCK; \
+ scale: 1; \
+ description { \
+ state: "default" 0.0; \
+ rel1 { relative: 0.0 1.0; to_y: "icon"; } \
+ rel2.relative: 1.0 MS_BTN_TEXT_B; \
+ text.style: "held_call_manage_btn"; \
+ } \
+ } \
+ part { name: "over"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: COLOR_BG_ALPHA; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 1.0; to: "bg"; } \
} \
} \
} \
- program { name: "touch_sound"; \
- action: RUN_PLUGIN "touch_sound"; \
+ programs { \
+ PRESS_EFFECT_DEFAULT_PROGRAMS \
} \
- program { name: "clicked_signal"; \
- in: 0.001 0.0; \
- action: SIGNAL_EMIT "elm,action,click" ""; \
+ }
+
+#define END_CALL_REPLY_BTN(grp_name, img_path) \
+ group { name: "elm/button/base/"grp_name; \
+ images { \
+ image: img_path COMP; \
} \
- program { name: "disable"; \
- signal: "elm,state,disabled"; \
- source: "elm"; \
- script { \
- set_int(disabled, 1); \
- if (get_int(animate) == 1) return; \
- set_state(PART:"clipper", "disabled", 0.0); \
- set_state(PART:"tizen_vg_shape_clipper", "disabled", 0.0); \
- } \
+ script { \
+ PRESS_EFFECT_DEFAULT_SCRIPT_VAR \
} \
- program { name: "enable"; \
- signal: "elm,state,enabled"; \
- source: "elm"; \
- script { \
- set_int(disabled, 0); \
- set_state(PART:"clipper", "default", 0.0); \
- set_state(PART:"tizen_vg_shape_clipper", "default", 0.0); \
+ parts { \
+ part { name: "bg"; \
+ type: RECT; \
+ scale: 1 ; \
+ description { state: "default" 0.0; \
+ min: 0 END_CALL_REPLY_BTN_HEIGHT; \
+ color_class: "ec_reply_btn_bg_norm"; \
+ } \
} \
- } \
- program { name: "multi_down"; \
- signal: "elm,action,multi,down"; \
- source: "elm"; \
- script { \
- set_int(multi_down, 1); \
+ part { "bg_press"; \
+ type: RECT; \
+ scale: 1 ; \
+ description { state: "default" 0.0; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 1.0; to: "bg"; } \
+ color_class: "ec_reply_btn_bg_norm"; \
+ } \
+ description { state: "pressed" 0.0; \
+ inherit: "default" 0.0; \
+ color_class: "ec_reply_btn_bg_pressed"; \
+ } \
+ description { state: "pressed_effect" 0.0; \
+ inherit: "pressed" 0.0; \
+ rel1 { relative: 0.15 0.15; to: "bg"; } \
+ rel2 { relative: 0.85 0.85; to: "bg"; } \
+ } \
} \
- } \
- program { name: "multi_up"; \
- signal: "elm,action,multi,up"; \
- source: "elm"; \
- script { \
- set_int(multi_down, 0); \
+ part { name: "icon.padding.top"; \
+ type: SPACER; \
+ scale: 1 ; \
+ description { state: "default" 0.0; \
+ min: 0 END_CALL_REPLY_BTN_ICON_PAD_TOP; \
+ fixed: 0 1; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 0.0; to: "bg"; } \
+ align: 0.0 0.0; \
+ } \
} \
- } \
- program { name: "pass_event_enable"; \
- signal: "elm,event,pass,enabled"; \
- source: "elm"; \
- script { \
- set_mouse_events(PART:"event", 0); \
+ part { name: "icon"; \
+ type: IMAGE; \
+ scale: 1 ; \
+ description { state: "default" 0.0; \
+ rel1 { relative: 0.0 1.0; to: "icon.padding.top"; } \
+ rel2 { relative: 1.0 1.0; to: "icon.padding.top"; } \
+ min: END_CALL_REPLY_BTN_ICON_SIZE; \
+ max: END_CALL_REPLY_BTN_ICON_SIZE; \
+ fixed: 1 1; \
+ image.normal: img_path; \
+ color_class: "ec_reply_btn_icon"; \
+ align: 0.5 0.0; \
+ } \
} \
- } \
- program { name: "pass_event_disable"; \
- signal: "elm,event,pass,disabled"; \
- source:"elm"; \
- script { \
- set_mouse_events(PART:"event", 1); \
+ part { name: "text.padding.top"; \
+ type: SPACER; \
+ scale: 1 ; \
+ description { state: "default" 0.0; \
+ min: 0 END_CALL_REPLY_BTN_TXT_PAD_TOP; \
+ fixed: 0 1; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 0.0; to: "bg"; } \
+ align: 0.0 0.0; \
+ } \
} \
- } \
- program { name: "repeat_event_enable"; \
- signal: "elm,event,repeat,enabled"; \
- source: "elm"; \
- script { \
- set_mouse_events(PART:"event", 1); \
+ part { name: "text"; \
+ type: TEXTBLOCK; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1 { relative: 0.0 1.0; to: "text.padding.top"; } \
+ rel2 { relative: 1.0 1.0; to: "text.padding.top"; } \
+ min: 0 END_CALL_REPLY_BTN_TXT_HEIGHT; \
+ text { \
+ fit: 1 1; \
+ style:"ec_reply_btn"; \
+ } \
+ } \
} \
- } \
- program { name: "repeat_event_disable"; \
- signal: "elm,event,repeat,disabled"; \
- source:"elm"; \
- script { \
- set_mouse_events(PART:"event", 0); \
+ part { name: "over"; \
+ type: RECT; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: COLOR_BG_ALPHA; \
+ rel1 { relative: 0.0 0.0; to: "bg"; } \
+ rel2 { relative: 1.0 1.0; to: "bg"; } \
+ } \
} \
} \
- } \
-}
+ programs { \
+ PRESS_EFFECT_DEFAULT_PROGRAMS \
+ } \
+ }
collections {
}
}
-/* This effect is for buttons of Action bar layout when they are enabled */
+/* Action bar buttons */
ACTION_BTN("callui_action_btn_add", ICON_IMG_PATH"/call_btn_addcall.png")
ACTION_BTN("callui_action_btn_keypad", ICON_IMG_PATH"/call_btn_keypad.png")
+ ACTION_BTN("callui_action_btn_contacts", ICON_IMG_PATH"/call_btn_contacts.png")
ACTION_BTN_TOGGLE("callui_action_btn_speaker", ICON_IMG_PATH"/call_btn_volume.png")
ACTION_BTN_TOGGLE("callui_action_btn_mute", ICON_IMG_PATH"/call_btn_mute.png")
ACTION_BTN_TOGGLE("callui_action_btn_headset", ICON_IMG_PATH"/call_btn_bluetooth.png")
- ACTION_BTN("callui_action_btn_contacts", ICON_IMG_PATH"/call_btn_contacts.png")
-/* This style is for End button in quickpanel view */
- QP_MC_TOGGLE_BTN(callui_qp_btn_end, "qp_mc_reject_norm", "qp_mc_reject_press", ICON_IMG_PATH"/call_noti_btn_end.png");
- QP_MC_TOGGLE_BTN(callui_qp_btn_call, "qp_mc_accept_norm", "qp_mc_accept_press", ICON_IMG_PATH"/call_noti_btn_send.png");
+/* Quick panel Mini Control accept and reject buttons */
+ QP_MC_TOGGLE_BTN("callui_qp_btn_end", "qp_mc_reject_norm", "qp_mc_reject_press", ICON_IMG_PATH"/call_noti_btn_end.png");
+ QP_MC_TOGGLE_BTN("callui_qp_btn_call", "qp_mc_accept_norm", "qp_mc_accept_press", ICON_IMG_PATH"/call_noti_btn_send.png");
-/* This style is for mute/unhold button in quickpanel view */
- QP_MC_TOGGLE_BTN(callui_qp_btn_mute, "qp_mc_toogle_norm", "qp_mc_toogle_norm", ICON_IMG_PATH"/call_noti_btn_mute.png");
- QP_MC_TOGGLE_BTN(callui_qp_btn_mute_on, "qp_mc_toogle_off", "qp_mc_toogle_off", ICON_IMG_PATH"/call_noti_btn_mute.png");
+/* Quick panel Mini Control mute button */
+ QP_MC_TOGGLE_BTN("callui_qp_btn_mute", "qp_mc_toogle_norm", "qp_mc_toogle_norm", ICON_IMG_PATH"/call_noti_btn_mute.png");
+ QP_MC_TOGGLE_BTN("callui_qp_btn_mute_on", "qp_mc_toogle_off", "qp_mc_toogle_off", ICON_IMG_PATH"/call_noti_btn_mute.png");
-/* This style is for speaker/unhold button in quickpanel view */
- QP_MC_TOGGLE_BTN(callui_qp_btn_speaker, "qp_mc_toogle_norm", "qp_mc_toogle_norm", ICON_IMG_PATH"/call_noti_btn_speaker.png");
- QP_MC_TOGGLE_BTN(callui_qp_btn_speaker_on, "qp_mc_toogle_off", "qp_mc_toogle_off", ICON_IMG_PATH"/call_noti_btn_speaker.png");
+/* Quick panel Mini Control speaker button */
+ QP_MC_TOGGLE_BTN("callui_qp_btn_speaker", "qp_mc_toogle_norm", "qp_mc_toogle_norm", ICON_IMG_PATH"/call_noti_btn_speaker.png");
+ QP_MC_TOGGLE_BTN("callui_qp_btn_speaker_on", "qp_mc_toogle_off", "qp_mc_toogle_off", ICON_IMG_PATH"/call_noti_btn_speaker.png");
-/* This style is for speaker/resume button in quickpanel view */
- QP_MC_TOGGLE_BTN(callui_qp_btn_resume, "qp_mc_toogle_norm", "qp_mc_toogle_norm", ICON_IMG_PATH"/call_noti_btn_resume.png");
- QP_MC_TOGGLE_BTN(callui_qp_btn_resume_on, "qp_mc_toogle_off", "qp_mc_toogle_off", ICON_IMG_PATH"/call_noti_btn_resume.png");
+/* Quick panel Mini Control resume button */
+ QP_MC_TOGGLE_BTN("callui_qp_btn_resume", "qp_mc_toogle_norm", "qp_mc_toogle_norm", ICON_IMG_PATH"/call_noti_btn_resume.png");
+ QP_MC_TOGGLE_BTN("callui_qp_btn_resume_on", "qp_mc_toogle_off", "qp_mc_toogle_off", ICON_IMG_PATH"/call_noti_btn_resume.png");
/* Active notification buttons */
ACTIVE_NOTI_BTN("callui_active_noti_accept", "active_noti_accept_call", "active_noti_accept_call");
/* Multicall list buttons */
CIRCLE_BTN_WITH_ICON("callui_multi_list_end_call", MULTI_LIST_LIST_ICON_BG_SIZE, "multi_list_btn_end_call", "multi_list_btn_end_call", IMG_SRC_DIR/"call_btn_ic_end.png", "btn_icon_def_color");
CIRCLE_BTN_WITH_ICON("callui_multi_list_split_call", MULTI_LIST_LIST_ICON_BG_SIZE, "multi_list_btn_split_call", "multi_list_btn_split_call", IMG_SRC_DIR/"call_btn_ic_split.png", "btn_icon_def_color");
+
+/* Multicall split call manage buttons */
+ SPLIT_CALL_MANAGE_BTN("callui_multi_split_merge_btn", IMG_SRC_DIR/"call_multi_hold_btn_merge_bg.png", IMG_SRC_DIR/"call_multi_ic_merge.png", "multi_hold_merge_btn_norm", "multi_hold_merge_btn_press");
+ SPLIT_CALL_MANAGE_BTN("callui_multi_split_swap_btn", IMG_SRC_DIR/"call_multi_hold_btn_swap_bg.png", IMG_SRC_DIR/"call_multi_ic_swap.png", "multi_hold_swap_btn_norm", "multi_hold_swap_btn_press");
+
+/* End call buttons */
+ END_CALL_REPLY_BTN("callui_endcall_callback", IMG_SRC_DIR/"call_end_call.png");
+ END_CALL_REPLY_BTN("callui_endcall_message", IMG_SRC_DIR/"call_end_message.png");
}