nanogui: Thread: GrInjectPointerEvent


[<<] [<] Page 1 of 1 [>] [>>]
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


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.