parent
3d71d871c8
commit
588bb376f2
|
@ -7,6 +7,10 @@ images {
|
||||||
|
|
||||||
image: "reset_button_0.png" LOSSY 90;
|
image: "reset_button_0.png" LOSSY 90;
|
||||||
image: "reset_button_glow_0.png" LOSSY 90;
|
image: "reset_button_glow_0.png" LOSSY 90;
|
||||||
|
|
||||||
|
image: "windows.png" LOSSY 90;
|
||||||
|
|
||||||
|
image: "module.png" LOSSY 90;
|
||||||
}
|
}
|
||||||
|
|
||||||
collections {
|
collections {
|
||||||
|
@ -190,4 +194,40 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
group {
|
||||||
|
name: "windows";
|
||||||
|
max: 64 64;
|
||||||
|
parts {
|
||||||
|
part {
|
||||||
|
name: "icon";
|
||||||
|
mouse_events: 0;
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
aspect: 1.0 1.0;
|
||||||
|
max: 64 64;
|
||||||
|
image {
|
||||||
|
normal: "windows.png";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
group {
|
||||||
|
name: "module";
|
||||||
|
max: 64 64;
|
||||||
|
parts {
|
||||||
|
part {
|
||||||
|
name: "icon";
|
||||||
|
mouse_events: 0;
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
aspect: 1.0 1.0;
|
||||||
|
max: 64 64;
|
||||||
|
image {
|
||||||
|
normal: "module.png";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,4 +9,6 @@ power_button_glow_1.png \
|
||||||
reset_button_0.png \
|
reset_button_0.png \
|
||||||
reset_button_1.png \
|
reset_button_1.png \
|
||||||
reset_button_glow_0.png \
|
reset_button_glow_0.png \
|
||||||
reset_button_glow_1.png
|
reset_button_glow_1.png \
|
||||||
|
windows.png \
|
||||||
|
modules.png
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
|
@ -56,10 +56,20 @@ _e_focus_cb_window_focus_in(void *data, int ev_type, void *ev)
|
||||||
};
|
};
|
||||||
|
|
||||||
e = ev;
|
e = ev;
|
||||||
printf("FI 0x%x md=%s dt=%s\n",
|
if (e_border_find_by_client_window(e->win))
|
||||||
e->win,
|
{
|
||||||
modes[e->mode],
|
printf("BI 0x%x md=%s dt=%s\n",
|
||||||
details[e->detail]);
|
e->win,
|
||||||
|
modes[e->mode],
|
||||||
|
details[e->detail]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("FI 0x%x md=%s dt=%s\n",
|
||||||
|
e->win,
|
||||||
|
modes[e->mode],
|
||||||
|
details[e->detail]);
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,9 +95,19 @@ _e_focus_cb_window_focus_out(void *data, int ev_type, void *ev)
|
||||||
};
|
};
|
||||||
|
|
||||||
e = ev;
|
e = ev;
|
||||||
printf("FO 0x%x md=%s dt=%s\n",
|
if (e_border_find_by_client_window(e->win))
|
||||||
e->win,
|
{
|
||||||
modes[e->mode],
|
printf("BO 0x%x md=%s dt=%s\n",
|
||||||
details[e->detail]);
|
e->win,
|
||||||
|
modes[e->mode],
|
||||||
|
details[e->detail]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf("FO 0x%x md=%s dt=%s\n",
|
||||||
|
e->win,
|
||||||
|
modes[e->mode],
|
||||||
|
details[e->detail]);
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,11 +53,15 @@ e_int_menus_main_new(void)
|
||||||
dat->modules = subm;
|
dat->modules = subm;
|
||||||
mi = e_menu_item_new(m);
|
mi = e_menu_item_new(m);
|
||||||
e_menu_item_label_set(mi, "Modules");
|
e_menu_item_label_set(mi, "Modules");
|
||||||
|
e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.eet"),
|
||||||
|
"module");
|
||||||
e_menu_item_submenu_set(mi, subm);
|
e_menu_item_submenu_set(mi, subm);
|
||||||
|
|
||||||
subm = e_int_menus_clients_new();
|
subm = e_int_menus_clients_new();
|
||||||
mi = e_menu_item_new(m);
|
mi = e_menu_item_new(m);
|
||||||
e_menu_item_label_set(mi, "Windows");
|
e_menu_item_label_set(mi, "Windows");
|
||||||
|
e_menu_item_icon_edje_set(mi, e_path_find(path_icons, "default.eet"),
|
||||||
|
"windows");
|
||||||
e_menu_item_submenu_set(mi, subm);
|
e_menu_item_submenu_set(mi, subm);
|
||||||
|
|
||||||
mi = e_menu_item_new(m);
|
mi = e_menu_item_new(m);
|
||||||
|
|
Loading…
Reference in New Issue