nanogui: GrInjectPointerEvent


Previous by date: 24 Jul 2002 17:23:50 -0000 kbd_pipe.c, Shiro Ninomiya
Next by date: 24 Jul 2002 17:23:50 -0000 Re: About Widgets, Greg Haerr
Previous in thread:
Next in thread:

Subject: GrInjectPointerEvent
From: "Shiro Ninomiya" ####@####.####
Date: 24 Jul 2002 17:23:50 -0000
Message-Id: <016b01c23335$e64ec380$c28cdfd0@shiro>

GrInjectPointerEvent(x, y, button, visible)

The document says if visible=GR_FALSE it hides cursor, and if
visible=GR_TRUE it shows cursor.
But in order to hide cursor, I need to set visible some value which is
neither 0 nor 1.

In "srvfunc.c"
/* visible =0, no cursor change; =1, show; else hide*/
void
GrInjectPointerEvent(GR_COORD x, GR_COORD y, int button, int visible)
{
...
}

What comment line said looks right.
Is this documentation error?

Shiro Ninomiya



Previous by date: 24 Jul 2002 17:23:50 -0000 kbd_pipe.c, Shiro Ninomiya
Next by date: 24 Jul 2002 17:23:50 -0000 Re: About Widgets, Greg Haerr
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.