data/themes/images/ico_multiparty_private.png \
data/themes/images/ico_mute.png \
data/themes/images/ico_person.png \
+data/themes/images/ico_quit.png \
data/themes/images/ico_speaker.png \
data/themes/images/ico_swap.png \
data/themes/images/ico_voicemail.png \
image: "ico_contacts.png" COMP;
image: "ico_history.png" COMP;
image: "ico_voicemail.png" COMP;
+ image: "ico_quit.png" COMP;
}
parts {
state: "default" 0.0; \
color: 255 255 255 0; \
color_class: "action"; \
- min: (WIDTH / 4) ACTION_HEIGHT; \
- max: (WIDTH / 4) ACTION_HEIGHT; \
+ min: (WIDTH / 5) ACTION_HEIGHT; \
+ max: (WIDTH / 5) ACTION_HEIGHT; \
fixed: 1 1; \
rel1 { \
to: "bg.actions"; \
state: "default" 0.0; \
color: 255 255 255 0; \
color_class: "action"; \
- min: (WIDTH / 4) ACTION_HEIGHT; \
- max: (WIDTH / 4) ACTION_HEIGHT; \
+ min: (WIDTH / 5) ACTION_HEIGHT; \
+ max: (WIDTH / 5) ACTION_HEIGHT; \
fixed: 1 1; \
visible: 0; \
rel1 { \
} \
}
- ACTION_TOGGLE("keypad", 0.00, 0.25);
- ACTION_TOGGLE("contacts", 0.25, 0.50);
- ACTION_TOGGLE("history", 0.50, 0.75);
+ ACTION_TOGGLE("quit", 0.00, 0.20);
+ ACTION_TOGGLE("keypad", 0.20, 0.40);
+ ACTION_TOGGLE("contacts", 0.40, 0.60);
+ ACTION_TOGGLE("history", 0.60, 0.80);
#undef ACTION_TOGGLE
part {
state: "default" 0.0;
color: 255 255 255 0;
color_class: "action";
- min: (WIDTH / 4) ACTION_HEIGHT;
- max: (WIDTH / 4) ACTION_HEIGHT;
+ min: (WIDTH / 5) ACTION_HEIGHT;
+ max: (WIDTH / 5) ACTION_HEIGHT;
fixed: 1 1;
rel1 {
to: "bg.actions";
state: "default" 0.0;
color: 255 255 255 0;
color_class: "caution";
- min: (WIDTH / 4) ACTION_HEIGHT;
- max: (WIDTH / 4) ACTION_HEIGHT;
+ min: (WIDTH / 5) ACTION_HEIGHT;
+ max: (WIDTH / 5) ACTION_HEIGHT;
fixed: 1 1;
rel1 {
to: "bg.actions";
gui_dial(number);
}
+static void _gui_quit(void)
+{
+ elm_exit();
+}
+
static void _on_clicked(void *data __UNUSED__, Evas_Object *o __UNUSED__,
const char *emission, const char *source __UNUSED__)
{
_gui_show(history);
else if (strcmp(emission, "voicemail") == 0)
_gui_voicemail();
+ else if (strcmp(emission, "quit") == 0)
+ _gui_quit();
}
static void _ofono_changed(void *data __UNUSED__)