2 more icons.

SVN revision: 12577
This commit is contained in:
Carsten Haitzler 2004-12-24 07:45:21 +00:00
parent 3d71d871c8
commit 588bb376f2
6 changed files with 75 additions and 9 deletions

View File

@ -7,6 +7,10 @@ images {
image: "reset_button_0.png" LOSSY 90;
image: "reset_button_glow_0.png" LOSSY 90;
image: "windows.png" LOSSY 90;
image: "module.png" LOSSY 90;
}
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";
}
}
}
}
}
}

View File

@ -9,4 +9,6 @@ power_button_glow_1.png \
reset_button_0.png \
reset_button_1.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

View File

@ -56,10 +56,20 @@ _e_focus_cb_window_focus_in(void *data, int ev_type, void *ev)
};
e = ev;
if (e_border_find_by_client_window(e->win))
{
printf("BI 0x%x md=%s dt=%s\n",
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;
}
@ -85,9 +95,19 @@ _e_focus_cb_window_focus_out(void *data, int ev_type, void *ev)
};
e = ev;
if (e_border_find_by_client_window(e->win))
{
printf("BO 0x%x md=%s dt=%s\n",
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;
}

View File

@ -53,11 +53,15 @@ e_int_menus_main_new(void)
dat->modules = subm;
mi = e_menu_item_new(m);
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);
subm = e_int_menus_clients_new();
mi = e_menu_item_new(m);
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);
mi = e_menu_item_new(m);