1 /***********************************************************
2 * Copyright (C) 1997, Be Inc. All rights reserved.
4 * FILE: glutOverlay.cpp
6 * DESCRIPTION: we don't support overlays, so this code is
8 ***********************************************************/
10 /***********************************************************
12 ***********************************************************/
15 #include "glutbitmap.h"
16 #include "glutstroke.h"
18 GLUTAPI
void GLUTAPIENTRY
19 glutEstablishOverlay(void)
21 __glutFatalError("OS2PM lacks overlay support.");
24 GLUTAPI
void GLUTAPIENTRY
25 glutUseLayer(GLenum layer
) {
29 GLUTAPI
void GLUTAPIENTRY
30 glutRemoveOverlay(void) {
34 GLUTAPI
void GLUTAPIENTRY
35 glutPostOverlayRedisplay(void) {
39 GLUTAPI
void GLUTAPIENTRY
40 glutShowOverlay(void) {
44 GLUTAPI
void GLUTAPIENTRY
glutHideOverlay(void)
50 glutLayerGet(GLenum param
)
55 /***********************************************************
56 * Unsupported callbacks
57 ***********************************************************/
58 GLUTAPI
void GLUTAPIENTRY
59 glutOverlayDisplayFunc(GLUTdisplayCB displayFunc
)
63 GLUTAPI
void GLUTAPIENTRY
64 glutSpaceballMotionFunc(GLUTspaceMotionCB spaceMotionFunc
)
68 GLUTAPI
void GLUTAPIENTRY
69 glutSpaceballRotateFunc(GLUTspaceRotateCB spaceRotateFunc
)
73 GLUTAPI
void GLUTAPIENTRY
74 glutSpaceballButtonFunc(GLUTspaceButtonCB spaceButtonFunc
)
78 GLUTAPI
void GLUTAPIENTRY
79 glutButtonBoxFunc(GLUTbuttonBoxCB buttonBoxFunc
)
83 GLUTAPI
void GLUTAPIENTRY
84 glutDialsFunc(GLUTdialsCB dialsFunc
)
88 GLUTAPI
void GLUTAPIENTRY
89 glutTabletMotionFunc(GLUTtabletMotionCB tabletMotionFunc
)
93 GLUTAPI
void GLUTAPIENTRY
94 glutTabletButtonFunc(GLUTtabletButtonCB tabletButtonFunc
)
97 GLUTAPI
void GLUTAPIENTRY
98 glutPostWindowOverlayRedisplay(int win
)
103 glutInitDisplayString(const char *string
)
107 glutJoystickFunc(GLUTjoystickCB joystickFunc
, int pollInterval
)
112 glutForceJoystickFunc(void)
118 glutBitmapWidth(GLUTbitmapFont font
, int c
)
122 glutBitmapLength(GLUTbitmapFont font
, const unsigned char *string
)
127 glutStrokeWidth(GLUTstrokeFont font
, int c
)
131 glutStrokeLength(GLUTstrokeFont font
, const unsigned char *string
)