[interfacekit] Re: :) B_MOUSE_MOVED
- From: "Adi Oanca" <e2joseph@xxxxxxxxxx>
- To: <interfacekit@xxxxxxxxxxxxx>
- Date: Wed, 9 Apr 2003 22:49:08 +0300
> > I will do it as you guys say!, but I still remain convinced that
adding
> > those 4 bytes will have no effect on performance!
>
> Well, adding 4 bytes does not affect performance at all.
>
> But please have a look at the modifiers() function.
> The disassembly clearly shows that is constructs a BMessage,
> askes the input server using
<=5Fcontrol=5Finput=5Fserver=5F=5F=5FFP8BMessageT0>
> where a BMessenger is constructed, etc.
> This is huge overhead when moving the mouse.
I'm not going to call modifiers() when constructing the B_MOUSE_MOVED
BMessage!!! I was hoping that when input_server sends a B_MOUSE_MOVED
message to app_server, it will attach those 4 bytes denoting the modifiers
active at that moment. That way, app_server will send the B_MOUSE_MOVED
message with the modifiers states as an attachment to a BWindow.
Adi.
- References:
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Marcus Overhagen
Other related posts:
- » [interfacekit] :-) B_MOUSE_MOVED
- » [interfacekit] :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Marcus Overhagen