From 85c2e38825f910d63051a92b609293bbace19fd0 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 1 Feb 2007 21:11:20 +0000 Subject: Update documentation and move glutDeviceGet() into code so we can return the correct value for GLUT_NUM_MOUSE_BUTTONS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/glut.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/glut.H b/FL/glut.H index e4c7cdce4..875dd0406 100644 --- a/FL/glut.H +++ b/FL/glut.H @@ -370,7 +370,7 @@ enum { # define GLUT_NUM_BUTTON_BOX_BUTTONS 607 # define GLUT_NUM_DIALS 608 # define GLUT_NUM_TABLET_BUTTONS 609 -inline int glutDeviceGet(GLenum type) { return type <= GLUT_HAS_MOUSE; } +FL_EXPORT int glutDeviceGet(GLenum type); // WARNING: these values are different than GLUT uses: # define GLUT_ACTIVE_SHIFT FL_SHIFT -- cgit v1.2.3