On Fri, 30 Apr 2004 09:03:01 +0200 Xavier Allamigeon <[EMAIL PROTECTED]>
babbled:

> > z indicates how far it spins and in what
> > direction. 
> 
> OK, I see. Of course, I check ((Evas_Event_Mouse_Wheel *) event_info)->z, and 
> it has the same behaviour as ((Evas_Event_Mouse_Wheel *) 
> event_info)->direction : it's always the same value, as if the *event_info 
> pointer was not initialized (the value is a big integer, that's why I have 
> this idea...). What's wrong ? Here is a part a of my code (relativ to the 
> callback)
> 
> void cb_turn(void *data, Evas_Object *o, void *event_info) 
> {
>       printf("%d\n", ((Evas_Event_Mouse_Wheel *) event_info)->z);
> }
> 
> and it displays 12467821348 or something like that...
> 
> Any idea ? What's wrong in my code ? Thank you for your help !!!

are you sure this callback is being called for mouse wheel events, and not mouse
move, down, up, in, out etc. events? if you set the wrong callback the event
info will not be what you expect it to be.

> Regards
> 
> Xavier
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君 (数田)                  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to