Frederic Bouvier wrote:
> Martin Spott wrote:
>
> > Andy Ross wrote:
> >
> > > Note that the current version is still using glut, so nothing should
> > > have changed in FlightGear's behavior.
> >
> > Great, worksforme,
>
> Notforme :-(
>
> MOUSE_CURSOR_INHERIT and MOUSE_CURSOR_LEFT_RIGHT are not defined and
> not handled.
This patch worksforme.
-Fred
Index: src/GUI/mouse.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/GUI/mouse.cxx,v
retrieving revision 1.10
diff -u -r1.10 mouse.cxx
--- a/src/GUI/mouse.cxx 31 Mar 2004 23:53:51 -0000 1.10
+++ b/src/GUI/mouse.cxx 1 Apr 2004 09:25:44 -0000
@@ -239,13 +239,13 @@
#if defined(WIN32)
switch (mouse_mode) {
case MOUSE_POINTER:
- fgSetMouseCursor(MOUSE_CURSOR_INHERIT);
+ fgSetMouseCursor(MOUSE_CURSOR_POINTER);
break;
case MOUSE_YOKE:
fgSetMouseCursor(MOUSE_CURSOR_CROSSHAIR);
break;
case MOUSE_VIEW:
- fgSetMouseCursor(MOUSE_CURSOR_LEFT_RIGHT);
+ fgSetMouseCursor(MOUSE_CURSOR_LEFTRIGHT);
break;
}
#endif
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel