THEME_IMAGES = \
data/themes/images/bg_call.jpg \
data/themes/images/bg_keypad.jpg \
-data/themes/images/bt_add_call_pressed.png \
-data/themes/images/bt_add_call_released.png \
-data/themes/images/bt_add_contact_pressed.png \
-data/themes/images/bt_add_contact_released.png \
-data/themes/images/bt_arrow_right.png \
-data/themes/images/bt_backspace_pressed.png \
-data/themes/images/bt_backspace_released.png \
-data/themes/images/bt_call_pressed.png \
-data/themes/images/bt_call_released.png \
-data/themes/images/bt_contacts_pressed.png \
-data/themes/images/bt_contacts_released.png \
-data/themes/images/bt_del.png \
-data/themes/images/bt_edit.png \
-data/themes/images/bt_history_pressed.png \
-data/themes/images/bt_history_released.png \
-data/themes/images/bt_keypad_pressed.png \
-data/themes/images/bt_keypad_released.png \
-data/themes/images/bt_merge_pressed.png \
-data/themes/images/bt_merge_released.png \
-data/themes/images/bt_multiparty_hangup.png \
-data/themes/images/bt_multiparty_pressed.png \
-data/themes/images/bt_multiparty_private.png \
-data/themes/images/bt_multiparty_released.png \
-data/themes/images/bt_mute_pressed.png \
-data/themes/images/bt_mute_released.png \
-data/themes/images/bt_speaker_pressed.png \
-data/themes/images/bt_speaker_released.png \
-data/themes/images/bt_swap_pressed.png \
-data/themes/images/bt_swap_released.png \
-data/themes/images/person.png
+data/themes/images/ico_add_call.png \
+data/themes/images/ico_add_contact.png \
+data/themes/images/ico_arrow_right.png \
+data/themes/images/ico_backspace.png \
+data/themes/images/ico_call.png \
+data/themes/images/ico_contacts.png \
+data/themes/images/ico_del.png \
+data/themes/images/ico_edit.png \
+data/themes/images/ico_history.png \
+data/themes/images/ico_keypad.png \
+data/themes/images/ico_merge.png \
+data/themes/images/ico_multiparty_hangup.png \
+data/themes/images/ico_multiparty.png \
+data/themes/images/ico_multiparty_private.png \
+data/themes/images/ico_mute.png \
+data/themes/images/ico_speaker.png \
+data/themes/images/ico_swap.png \
+data/themes/images/ico_person.png
THEME_INCLUDES = \
data/themes/includes/call.edc \
images {
image: "bg_call.jpg" COMP;
- image: "bt_mute_pressed.png" COMP;
- image: "bt_mute_released.png" COMP;
- image: "bt_keypad_pressed.png" COMP;
- image: "bt_keypad_released.png" COMP;
- image: "bt_speaker_pressed.png" COMP;
- image: "bt_speaker_released.png" COMP;
- image: "bt_add_call_pressed.png" COMP;
- image: "bt_add_call_released.png" COMP;
- image: "bt_merge_pressed.png" COMP;
- image: "bt_merge_released.png" COMP;
- image: "bt_swap_pressed.png" COMP;
- image: "bt_swap_released.png" COMP;
- image: "bt_contacts_pressed.png" COMP;
- image: "bt_contacts_released.png" COMP;
- image: "bt_multiparty_pressed.png" COMP;
- image: "bt_multiparty_released.png" COMP;
+ image: "ico_mute.png" COMP;
+ image: "ico_keypad.png" COMP;
+ image: "ico_speaker.png" COMP;
+ image: "ico_add_call.png" COMP;
+ image: "ico_merge.png" COMP;
+ image: "ico_swap.png" COMP;
+ image: "ico_contacts.png" COMP;
+ image: "ico_multiparty.png" COMP;
}
parts {
relative: 1.0 0.0;
offset: -1 141;
}
- image.normal: "bt_multiparty_released.png";
+ image.normal: "ico_multiparty.png";
}
description {
state: "pressed" 0.0;
relative: 1.0 1.0;
offset: -1 161;
}
- image.normal: "bt_multiparty_released.png";
+ image.normal: "ico_multiparty.png";
}
description {
state: "pressed" 0.0;
} \
part { \
name: "button."##id; \
- type: IMAGE; \
+ type: RECT; \
mouse_events: 1; \
clip_to: "clipper."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 255; \
+ color: 255 255 255 0; \
color_class: "action"; \
min: ACTION_WIDTH ACTION_HEIGHT; \
max: ACTION_WIDTH ACTION_HEIGHT; \
relative: r2; \
offset: -1 -1; \
} \
- image.normal: "bt_"##img"_released.png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
} \
} \
part { \
- name: "button.over."##id; \
+ name: "button.ico."##id; \
type: IMAGE; \
- clip_to: "clipper."##id; \
mouse_events: 0; \
+ clip_to: "clipper."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
rel1.to: "button."##id; \
rel2.to: "button."##id; \
- image.normal: "bt_"##img"_pressed.png"; \
+ image.normal: "ico_"##img".png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 255; \
- visible: 1; \
+ color_class: "bg"; \
} \
} \
part { \
action: STATE_SET "default" 0.0; \
transition: DECELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,down,1"; \
action: STATE_SET "pressed" 0.0; \
transition: ACCELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,clicked,1"; \
} \
part { \
name: "button."##id; \
- type: IMAGE; \
+ type: RECT; \
mouse_events: 1; \
clip_to: "clipper."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 255; \
+ color: 255 255 255 0; \
color_class: "action"; \
min: ACTION_WIDTH ACTION_HEIGHT; \
max: ACTION_WIDTH ACTION_HEIGHT; \
relative: r2; \
offset: -1 -1; \
} \
- image.normal: "bt_"##img"_released.png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
} \
} \
part { \
- name: "button.over."##id; \
+ name: "button.ico."##id; \
type: IMAGE; \
- clip_to: "clipper."##id; \
mouse_events: 0; \
+ clip_to: "clipper."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
rel1.to: "button."##id; \
rel2.to: "button."##id; \
- image.normal: "bt_"##img"_pressed.png"; \
+ image.normal: "ico_"##img".png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 255; \
- visible: 1; \
+ color_class: "bg"; \
} \
} \
programs { \
action: STATE_SET "default" 0.0; \
transition: DECELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,down,1"; \
action: STATE_SET "pressed" 0.0; \
transition: ACCELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,clicked,1"; \
} \
part { \
name: "button."##id; \
- type: IMAGE; \
+ type: RECT; \
mouse_events: 1; \
clip_to: "clipper.toggle."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 255; \
+ color: 255 255 255 0; \
color_class: "action"; \
min: ACTION_WIDTH ACTION_HEIGHT; \
max: ACTION_WIDTH ACTION_HEIGHT; \
relative: r2; \
offset: -1 -1; \
} \
- image.normal: "bt_"##img"_released.png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
} \
} \
part { \
- name: "button.over."##id; \
+ name: "button.ico."##id; \
type: IMAGE; \
- clip_to: "clipper."##id; \
+ mouse_events: 0; \
+ clip_to: "clipper.toggle."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
rel1.to: "button."##id; \
rel2.to: "button."##id; \
- image.normal: "bt_"##img"_pressed.png"; \
+ image.normal: "ico_"##img".png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 255; \
- visible: 1; \
+ color_class: "bg"; \
} \
} \
part { \
} \
part { \
name: "button.toggle."##id; \
- type: IMAGE; \
- clip_to: "clipper."##id; \
+ type: RECT; \
mouse_events: 1; \
description { \
state: "default" 0.0; \
color: 255 255 255 0; \
- visible: 0; \
color_class: "action"; \
- rel1.to: "button."##id; \
- rel2.to: "button."##id; \
- image.normal: "bt_"##img"_pressed.png"; \
+ min: ACTION_WIDTH ACTION_HEIGHT; \
+ max: ACTION_WIDTH ACTION_HEIGHT; \
+ fixed: 1 1; \
+ visible: 0; \
+ rel1 { \
+ to: "bg.actions"; \
+ relative: r1; \
+ } \
+ rel2 { \
+ to: "bg.actions"; \
+ relative: r2; \
+ offset: -1 -1; \
+ } \
} \
description { \
state: "on" 0.0; \
} \
} \
part { \
+ name: "button.toggle.ico."##id; \
+ type: IMAGE; \
+ mouse_events: 0; \
+ description { \
+ state: "default" 0.0; \
+ color: 255 255 255 255; \
+ color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
+ visible: 0; \
+ rel1.to: "button.toggle."##id; \
+ rel2.to: "button.toggle."##id; \
+ image.normal: "ico_"##img".png"; \
+ } \
+ description { \
+ state: "on" 0.0; \
+ inherit: "default" 0.0; \
+ color_class: "bg"; \
+ visible: 1; \
+ } \
+ } \
+ part { \
name: "blocker."##id; \
type: RECT; \
mouse_events: 1; \
action: STATE_SET "default" 0.0; \
transition: DECELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,down,1"; \
action: STATE_SET "pressed" 0.0; \
transition: ACCELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,clicked,1"; \
action: STATE_SET "on" 0.0; \
target: "clipper.toggle."##id; \
target: "button.toggle."##id; \
+ target: "button.toggle.ico."##id; \
api: id"_toggle_on" "toggle on "##id; \
} \
program { \
action: STATE_SET "default" 0.0; \
target: "clipper.toggle."##id; \
target: "button.toggle."##id; \
+ target: "button.toggle.ico."##id; \
api: id"_toggle_off" "toggle off "##id; \
} \
}
name: "elm/icon/no-picture/default";
images{
- image: "person.png" COMP;
+ image: "ico_person.png" COMP;
}
parts {
state: "default" 0.0;
aspect: 1.0 1.0;
aspect_preference: BOTH;
- image.normal: "person.png";
+ image.normal: "ico_person.png";
}
}
}
images {
image: "bg_keypad.jpg" COMP;
- image: "bt_edit.png" COMP;
+ image: "ico_edit.png" COMP;
}
parts {
offset: (-BORDER_PADDING - 1) -1;
}
image {
- normal: "bt_edit.png";
+ normal: "ico_edit.png";
scale_hint: STATIC;
}
}
}
images {
- image: "bt_arrow_right.png" COMP;
- image: "bt_del.png" COMP;
+ image: "ico_arrow_right.png" COMP;
+ image: "ico_del.png" COMP;
}
parts{
rel2.to: "call.swallow.more";
color_class: "action";
image {
- normal: "bt_arrow_right.png";
+ normal: "ico_arrow_right.png";
scale_hint: STATIC;
}
}
color: 255 255 255 255;
color_class: "caution";
image {
- normal: "bt_del.png";
+ normal: "ico_del.png";
scale_hint: STATIC;
}
}
images {
image: "bg_keypad.jpg" COMP;
- image: "bt_call_pressed.png" COMP;
- image: "bt_call_released.png" COMP;
- image: "bt_backspace_pressed.png" COMP;
- image: "bt_backspace_released.png" COMP;
- image: "bt_add_contact_released.png" COMP;
- image: "bt_add_contact_pressed.png" COMP;
+ image: "ico_call.png" COMP;
+ image: "ico_backspace.png" COMP;
+ image: "ico_add_contact.png" COMP;
}
parts {
} \
part { \
name: "button."##id; \
- type: IMAGE; \
+ type: RECT; \
mouse_events: 1; \
clip_to: "clipper."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 255; \
+ color: 255 255 255 0; \
color_class: "action"; \
min: ACTION_WIDTH ACTION_HEIGHT; \
max: ACTION_WIDTH ACTION_HEIGHT; \
relative: x1 1.0; \
offset: -1 -1; \
} \
- image.normal: "bt_"##img"_released.png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
} \
} \
part { \
- name: "button.over."##id; \
+ name: "button.ico."##id; \
type: IMAGE; \
+ mouse_events: 0; \
clip_to: "clipper."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
rel1.to: "button."##id; \
rel2.to: "button."##id; \
- image.normal: "bt_"##img"_pressed.png"; \
+ image.normal: "ico_"##img".png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 255; \
- visible: 1; \
+ color_class: "bg"; \
} \
} \
part { \
action: STATE_SET "default" 0.0; \
transition: DECELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,down,1"; \
action: STATE_SET "pressed" 0.0; \
transition: ACCELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,clicked,1"; \
*/
images {
- image: "bt_keypad_pressed.png" COMP;
- image: "bt_keypad_released.png" COMP;
- image: "bt_contacts_pressed.png" COMP;
- image: "bt_contacts_released.png" COMP;
- image: "bt_history_pressed.png" COMP;
- image: "bt_history_released.png" COMP;
+ image: "ico_keypad.png" COMP;
+ image: "ico_contacts.png" COMP;
+ image: "ico_history.png" COMP;
}
parts {
#define ACTION_TOGGLE(id, x1, x2) \
part { \
name: "button."##id; \
- type: IMAGE; \
+ type: RECT; \
mouse_events: 1; \
clip_to: "clipper.toggle."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 255; \
+ color: 255 255 255 0; \
color_class: "action"; \
min: ACTION_WIDTH ACTION_HEIGHT; \
- max: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_WIDTH ACTION_HEIGHT; \
fixed: 1 1; \
rel1 { \
to: "bg.actions"; \
relative: x2 1.0; \
offset: -1 -1; \
} \
- image.normal: "bt_"##id"_released.png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
} \
} \
part { \
- name: "button.over."##id; \
+ name: "button.ico."##id; \
type: IMAGE; \
+ mouse_events: 0; \
+ clip_to: "clipper.toggle."##id; \
description { \
state: "default" 0.0; \
- color: 255 255 255 0; \
- visible: 0; \
+ color: 255 255 255 255; \
color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
rel1.to: "button."##id; \
rel2.to: "button."##id; \
- image.normal: "bt_"##id"_pressed.png"; \
+ image.normal: "ico_"##id".png"; \
} \
description { \
state: "pressed" 0.0; \
inherit: "default" 0.0; \
- color: 255 255 255 255; \
- visible: 1; \
+ color_class: "bg"; \
} \
} \
part { \
} \
part { \
name: "button.toggle."##id; \
- type: IMAGE; \
+ type: RECT; \
mouse_events: 1; \
description { \
state: "default" 0.0; \
color: 255 255 255 0; \
- visible: 0; \
color_class: "action"; \
- rel1.to: "button."##id; \
- rel2.to: "button."##id; \
- image.normal: "bt_"##id"_pressed.png"; \
+ min: ACTION_WIDTH ACTION_HEIGHT; \
+ max: ACTION_WIDTH ACTION_HEIGHT; \
+ fixed: 1 1; \
+ visible: 0; \
+ rel1 { \
+ to: "bg.actions"; \
+ relative: x1 0.0; \
+ } \
+ rel2 { \
+ to: "bg.actions"; \
+ relative: x2 1.0; \
+ offset: -1 -1; \
+ } \
} \
description { \
state: "on" 0.0; \
} \
} \
part { \
+ name: "button.toggle.ico."##id; \
+ type: IMAGE; \
+ mouse_events: 0; \
+ description { \
+ state: "default" 0.0; \
+ color: 255 255 255 255; \
+ color_class: "action"; \
+ min: ACTION_HEIGHT ACTION_HEIGHT; \
+ max: ACTION_HEIGHT ACTION_HEIGHT; \
+ fixed: 1 1; \
+ visible: 0; \
+ rel1.to: "button.toggle."##id; \
+ rel2.to: "button.toggle."##id; \
+ image.normal: "ico_"##id".png"; \
+ } \
+ description { \
+ state: "on" 0.0; \
+ inherit: "default" 0.0; \
+ color_class: "bg"; \
+ visible: 1; \
+ } \
+ } \
+ part { \
name: "blocker."##id; \
type: RECT; \
mouse_events: 1; \
action: STATE_SET "default" 0.0; \
transition: DECELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,down,1"; \
action: STATE_SET "pressed" 0.0; \
transition: ACCELERATE 0.1; \
target: "button."##id; \
- target: "button.over."##id; \
+ target: "button.ico."##id; \
} \
program { \
signal: "mouse,clicked,1"; \
action: STATE_SET "on" 0.0; \
target: "clipper.toggle."##id; \
target: "button.toggle."##id; \
+ target: "button.toggle.ico."##id; \
} \
program { \
signal: "toggle,off,"##id; \
action: STATE_SET "default" 0.0; \
target: "clipper.toggle."##id; \
target: "button.toggle."##id; \
+ target: "button.toggle.ico."##id; \
} \
}
name: "elm/layout/dialer/multiparty-details";
images {
- image: "bt_multiparty_hangup.png" COMP;
- image: "bt_multiparty_private.png" COMP;
+ image: "ico_multiparty_hangup.png" COMP;
+ image: "ico_multiparty_private.png" COMP;
}
parts {
relative: 0.0 1.0;
offset: (LIST_ICON_SIZE + BORDER_PADDING - 1) -1;
}
- image.normal: "bt_multiparty_hangup.png";
+ image.normal: "ico_multiparty_hangup.png";
}
description {
state: "pressed" 0.0;
relative: 1.0 1.0;
offset: (-BORDER_PADDING - 1) -1;
}
- image.normal: "bt_multiparty_private.png";
+ image.normal: "ico_multiparty_private.png";
}
description {
state: "pressed" 0.0;