make cursors 32x32.

SVN revision: 16392
This commit is contained in:
Carsten Haitzler 2005-08-28 15:30:58 +00:00
parent 70636ff947
commit d9f6c78904
4 changed files with 20 additions and 67 deletions

View File

@ -12,14 +12,6 @@ group {
mouse_events: 0; mouse_events: 0;
description { description {
state: "default" 0.0; state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.6875 1.0;
offset: -1 -1;
}
image { image {
normal: "e17_pointer.png"; normal: "e17_pointer.png";
} }
@ -29,31 +21,16 @@ group {
state: "faded" 0.0; state: "faded" 0.0;
inherit: "default" 0.0; inherit: "default" 0.0;
rel1 { rel1 {
relative: 0.0 0.0; relative: 0.2 0.2;
offset: 0 0; offset: 0 0;
} }
rel2 { rel2 {
relative: 0.34375 0.5; relative: 0.8 0.8;
offset: -1 -1; offset: -1 -1;
} }
color: 255 255 255 128; color: 255 255 255 128;
} }
*/ */
description {
state: "test" 0.0;
aspect: 0.75 1.0;
rel1 {
relative: 0.0 0.0;
offset: 8 8;
}
rel2 {
relative: 0.0 0.0;
offset: 24 32;
}
image {
normal: "e17_pointer_mono.png";
}
}
} }
part { part {
name: "hotspot"; name: "hotspot";
@ -71,35 +48,9 @@ group {
offset: 1 2; offset: 1 2;
} }
} }
description {
state: "test" 0.0;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 8 8;
}
rel2 {
relative: 0.0 0.0;
offset: 8 8;
}
}
} }
} }
programs { programs {
program {
name: "test_hot";
signal: "test";
source: "";
action: STATE_SET "test" 0.0;
target: "hotspot";
}
program {
name: "test_pointer";
signal: "test";
source: "";
action: STATE_SET "test" 0.0;
target: "pointer";
}
/* /*
program { program {
name: "anim1"; name: "anim1";
@ -130,14 +81,6 @@ group {
mouse_events: 0; mouse_events: 0;
description { description {
state: "default" 0.0; state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.6666 1.0;
offset: -1 -1;
}
image { image {
normal: "e17_pointer_mono.png"; normal: "e17_pointer_mono.png";
} }
@ -152,11 +95,11 @@ group {
visible: 0; visible: 0;
rel1 { rel1 {
relative: 0.0 0.0; relative: 0.0 0.0;
offset: 0 0; offset: 1 1;
} }
rel2 { rel2 {
relative: 0.0 0.0; relative: 0.0 0.0;
offset: 0 0; offset: 1 1;
} }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 278 B

View File

@ -3,8 +3,8 @@
*/ */
#include "e.h" #include "e.h"
//#define INOUTDEBUG_MOUSE 1 #define INOUTDEBUG_MOUSE 1
//#define INOUTDEBUG_FOCUS 1 #define INOUTDEBUG_FOCUS 1
/* These are compatible with netwm */ /* These are compatible with netwm */
#define RESIZE_TL 0 #define RESIZE_TL 0
@ -863,6 +863,7 @@ e_border_focus_set(E_Border *bd, int focus, int set)
{ {
E_OBJECT_CHECK(bd); E_OBJECT_CHECK(bd);
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE); E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
printf("e_border_focus_set(%p, %i %i);\n", bd, focus, set);
if ((bd->visible) && (bd->changes.visible)) if ((bd->visible) && (bd->changes.visible))
{ {
if ((bd->want_focus) && (set) && (!focus)) if ((bd->want_focus) && (set) && (!focus))
@ -964,8 +965,16 @@ e_border_focus_set(E_Border *bd, int focus, int set)
e_hints_active_window_set(bd->zone->container->manager, NULL); e_hints_active_window_set(bd->zone->container->manager, NULL);
} }
#endif #endif
if (bd->focused) focused = bd; if (bd->focused)
else if ((!bd->focused) && (focused == bd)) focused = NULL; {
focused = bd;
printf("set focused to %p\n", focused);
}
else if ((!bd->focused) && (focused == bd))
{
focused = NULL;
printf("set focused to %p\n", focused);
}
} }
void void
@ -2848,7 +2857,8 @@ _e_border_cb_window_focus_out(void *data, int ev_type, void *ev)
else if (e->mode == ECORE_X_EVENT_MODE_UNGRAB) else if (e->mode == ECORE_X_EVENT_MODE_UNGRAB)
{ {
/* for firefox/thunderbird (xul) menu walking */ /* for firefox/thunderbird (xul) menu walking */
// if (e->detail == ECORE_X_EVENT_DETAIL_INFERIOR) return 1; /* NB: why did i disable this before? */
if (e->detail == ECORE_X_EVENT_DETAIL_INFERIOR) return 1;
} }
else if (e->mode == ECORE_X_EVENT_MODE_WHILE_GRABBED) else if (e->mode == ECORE_X_EVENT_MODE_WHILE_GRABBED)
{ {