/* Color */
#define COLOR_ITEM_BG 191 191 191 255
-#define COLOR_ITEM_FOCUS 0 119 246 255
+#define COLOR_ITEM_FOCUS 191 191 191 255
+#define COLOR_ITEM_SELECTED 0 119 246 255
+
#define COLOR_ITEM_BORDER 194 194 194 255
#define COLOR_ITEM_WHITE 255 255 255 255
+#define COLOR_TEXT_ITEM 92 92 92 255
+#define COLOR_TEXT_FOCUS 92 92 92 255
+#define COLOR_TEXT_SELECTED 255 255 255 255
-#define COLOR_TEXT_ITEM 255 255 255 255
-#define COLOR_TEXT_FOCUS 255 255 255 255
#define COLOR_TEXT_DISABLE 92 92 92 155
#define COLOR_TEXT_VALUE 89 89 89 255
-#define COLOR_TEXT_VALUE_FOCUS 189 189 189 255
+
+#define COLOR_TEXT_VALUE_ITEM 0 129 198 255
+#define COLOR_TEXT_VALUE_FOCUS 0 129 198 255
+#define COLOR_TEXT_VALUE_SELECTED 255 255 255 255
+
#define COLOR_TEXT_VALUE_DISABLE 64 136 211 155
#define COLOR_TEXT_SLIDER 92 92 92 255
#define COLOR_TEXT_SLIDER_VALUE 64 136 211 255
state: "default" 0.0;
rel1.relative: 0.0510 0.3648;
rel2.relative: 0.9490 0.6370;
+ align: 0.5 0.5;
}
}
part {
}
parts {
part {
+ name: "area";
+ type: RECT;
+ scale: 0;
+ description {
+ state: "default" 0.0;
+ min: 428 294;
+ color: 0 0 128 128;
+ align: 0.0 0.0;
+ }
+ }
+ part {
name, "bg";
type, RECT;
scale: 0;
description {
state, "default" 0.0;
- min, 428 294;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
color, COLOR_ITEM_BG;
- align, 0.0 0.0;
- fixed, 1 1;
+ align, 0.5 0.5;
}
description {
state, "focused" 0.0;
inherit, "default" 0.0;
- color, COLOR_ITEM_FOCUS;
+ rel1.relative: -0.0368 -0.0377;
+ rel2.relative: 1.0368 1.0377;
+ color: COLOR_ITEM_FOCUS;
}
}
part {
rel2.to, "bg.content";
text {
font, FONT_LIGHT;
- size, 40;
+ size, 32;
align, 0.5 0.5;
}
color, COLOR_TEXT_ITEM;
relative, 0.0 0.5;
}
rel2.to, "bg.content";
+
+ color: COLOR_TEXT_VALUE_ITEM;
text {
align, 0.5 0.0;
- style, style.subtext2;
+// style, style.subtext2;
+ font: "BreezeSans:style=Light";
+ size: 68;
}
}
description {
}
part {
name, PART_MENU_VALUE;
- type, TEXTBLOCK;
+ type, TEXT;
repeat_events, 1;
scale: 0;
description {
Elm_Object_Item *item)
{
struct menumgr *m = (struct menumgr *)data;
+ Elm_Focus_Direction focus_dir[] = {ELM_FOCUS_LEFT, ELM_FOCUS_RIGHT, ELM_FOCUS_UP, ELM_FOCUS_DOWN};
+ int i;
+ Evas_Object *neighbour;
if (!obj || !m)
return;
if (m->info[id] && m->info[id]->focused)
m->info[id]->focused(m->data, id);
+
+ for (i = 0; i < sizeof(focus_dir) / sizeof(focus_dir[0]); ++i) {
+ neighbour = elm_object_focus_next_object_get(obj, i);
+ evas_object_stack_above(obj, neighbour);
+ }
}
static input_handler _handler = {