/*
- * freeglut_state.c
+ * fg_state.c
*
* Freeglut state query methods.
*
fgState.StrokeFontDrawJoinDots = !!value;
break;
+ case GLUT_ALLOW_NEGATIVE_WINDOW_POSITION:
+ fgState.AllowNegativeWindowPosition = !!value;
+ break;
+
default:
fgWarning( "glutSetOption(): missing enum handle %d", eWhat );
break;
case GLUT_STROKE_FONT_DRAW_JOIN_DOTS:
return fgState.StrokeFontDrawJoinDots;
+ case GLUT_ALLOW_NEGATIVE_WINDOW_POSITION:
+ return fgState.AllowNegativeWindowPosition;
+
default:
return fgPlatformGlutGet ( eWhat );
break;
case GLUT_NUM_DIALS:
if ( fgState.InputDevsInitialised ) return 8;
return 0;
-
+
case GLUT_NUM_BUTTON_BOX_BUTTONS:
return 0;
return fgState.KeyRepeat;
default:
- return fgPlatformGlutDeviceGet ( eWhat );
+ return fgPlatformGlutDeviceGet ( eWhat );
}
}