nanogui: drag the window!


Previous by date: 17 Jul 2002 09:28:04 -0000 drag the window!, wang
Next by date: 17 Jul 2002 09:28:04 -0000 Re: nanox+flnx problem, Florian Berger
Previous in thread: 17 Jul 2002 09:28:04 -0000 drag the window!, wang
Next in thread:

Subject: Re: [nanogui] drag the window!
From: Alex Holden ####@####.####
Date: 17 Jul 2002 09:28:04 -0000
Message-Id: <3D3535BD.7010007@linuxhacker.org>

wang wrote:
> Alex,greg:
>   A question : when we press down mouse button,
> and drag the window ,which event be triggered,
> GR_EVENT_TYPE_MOUSE_POSITION or GR_EVENT_TYPE_BUTTON_DOWN,
> I try to read the code of GsCheckMouseEvent(),
> but I failed.

Assuming the window you're talking about has selected for both events,
it will receive MOUSE_POSITION events whenever you move the mouse over
the window, and BUTTON_DOWN events every time the button is pressed down
over the window.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


Previous by date: 17 Jul 2002 09:28:04 -0000 drag the window!, wang
Next by date: 17 Jul 2002 09:28:04 -0000 Re: nanox+flnx problem, Florian Berger
Previous in thread: 17 Jul 2002 09:28:04 -0000 drag the window!, wang
Next in thread:


Powered by ezmlm-browse 0.20.