On Thu, 31 Mar 2005 17:35:06 -0900 Aaron Luptak <[EMAIL PROTECTED]> babbled:
(B
(B> Added this simple little thing - pretty self-explanitory.
(B>
(B> Also, 2 questions for other folks:
(B> 1) Why is scroll-wheeling over the title bar of a window handled in
(B> e_menu.c?
(B
(Bit isn't. scroll wheel is handled for menu item selection. it has nothing to do
(Bwith titlebars.
(B
(B> 2) I'm planning on trying to implement keybindings for e17 in the future
(B> - if you're already working on this, let me know, and would it be
(B> better/fesable to do this in a module?
(B
(Bwe're in mini freeze and thus are not implementing "new features". some things
(Bin e17 changed because underlying libs changed - so e17 moved to support them so
(Bit works properly - but we are stabilizing the codebase, not adding things.
(Bkeybindings is planned for post mini-freeze (on the TODO list). this requires
(Becore_x support and then using that in e17. note - doing keybindings properly is
(Bnot as simple as it sounds. at the basic level it is, but being able to not just
(Bgrab keys, but also MONITOR keys (and pass them on or not) and locks/modifiers
(Bwill need to be done (in ecore_x)
(B
(BPLEASE attach diffs - not inline. they get 80 column wrapped by mailers and dont
(Bwork then without manual fixing that is a pain! :/
(B
(Band i'm not going to apply this patch because 1. it is a hack - 2. it's not
(Bconfigurable (we already said we want to move to a generic event -> action
(Bsystem - adding in more hacks we dont NEED right now is not going to help). :(
(B
(B> --- /usr/portage/distfiles/cvs-src/e17/apps/e/src/bin/e_zone.c
(B> 2005-03-23 16:10:36.000000000 -0900
(B> +++ src/bin/e_zone.c 2005-03-31 17:29:06.155212050 -0900
(B> @@ -12,6 +12,7 @@
(B> static void _e_zone_cb_bg_mouse_down(void *data, Evas *evas,
(B> Evas_Object *obj, void *event_info);
(B> static void _e_zone_cb_bg_mouse_up(void *data, Evas *evas, Evas_Object
(B> *obj, void *event_info);
(B> static void _e_zone_cb_bg_mouse_move(void *data, Evas *evas,
(B> Evas_Object *obj, void *event_info);
(B> +static void _e_zone_cb_bg_mouse_wheel(void *data, Evas *evas,
(B> Evas_Object *obj, void *event_info);
(B> static void _e_zone_event_zone_desk_count_set_free(void *data, void *ev);
(B>
(B> int E_EVENT_ZONE_DESK_COUNT_SET = 0;
(B> @@ -88,6 +89,7 @@
(B> evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
(B> _e_zone_cb_bg_mouse_down, zone);
(B> evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_UP,
(B> _e_zone_cb_bg_mouse_up, zone);
(B> evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_MOVE,
(B> _e_zone_cb_bg_mouse_move, zone);
(B> + evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_WHEEL,
(B> _e_zone_cb_bg_mouse_wheel, zone);
(B> }
(B>
(B> zone->desk_x_count = 0;
(B> @@ -302,6 +304,32 @@
(B> zone = data;
(B> }
(B>
(B> +static void
(B> +_e_zone_cb_bg_mouse_wheel(void *data, Evas *evas, Evas_Object *obj,
(B> void *event_info)
(B> +{
(B> + E_Zone *zone;
(B> + Evas_Event_Mouse_Wheel *ev;
(B> +
(B> + ev = (Evas_Event_Mouse_Wheel *)event_info;
(B> + zone = data;
(B> +
(B> + if(ev->z < 0)
(B> + {
(B> + int i;
(B> + for(i = 0; i > ev->z; i--)
(B> + //previous desk
(B> + e_desk_prev(zone);
(B> + }
(B> + else if(ev->z > 0)
(B> + {
(B> + int i;
(B> + for(i = 0; i < ev->z; i++)
(B> + //next desk
(B> + e_desk_next(zone);
(B> + }
(B> + return;
(B> +}
(B> +
(B> void
(B> e_zone_desk_count_set(E_Zone *zone, int x_count, int y_count)
(B> {
(B>
(B>
(B>
(B> -------------------------------------------------------
(B> This SF.net email is sponsored by Demarc:
(B> A global provider of Threat Management Solutions.
(B> Download our HomeAdmin security software for free today!
(B> http://www.demarc.com/info/Sentarus/hamr30
(B> _______________________________________________
(B> enlightenment-devel mailing list
(B> [email protected]
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B>
(B
(B
(B--
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
$BMg9%B?(B [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BThis SF.net email is sponsored by Demarc:
(BA global provider of Threat Management Solutions.
(BDownload our HomeAdmin security software for free today!
(Bhttp://www.demarc.com/info/Sentarus/hamr30
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel