summaryrefslogtreecommitdiff
path: root/FL/glut.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-02-01 21:11:20 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-02-01 21:11:20 +0000
commit85c2e38825f910d63051a92b609293bbace19fd0 (patch)
treef0724e1833b2afa2bf8425994e680d68ce1d8d76 /FL/glut.H
parenteef635336976f6e80a972950a07993dbc763c9b6 (diff)
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
Diffstat (limited to 'FL/glut.H')
-rw-r--r--FL/glut.H2
1 files changed, 1 insertions, 1 deletions
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