Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

glutint.h File Reference

#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <GL/glx.h>
#include "glutwacom.h"
#include <sys/types.h>
#include <sys/time.h>

Include dependency graph for glutint.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _Criterion
struct  _FrameBufferMode
struct  _DisplayMode
struct  _GLUTcolorcell
struct  _GLUTcolormap
struct  _GLUTwindow
struct  _GLUToverlay
struct  _GLUTstale
struct  _GLUTmenu
struct  _GLUTmenuItem
struct  _GLUTtimer
struct  _GLUTeventParser
struct  MotifWmHints

Defines

#define GETTIMEOFDAY(_x)   gettimeofday(_x, NULL)
#define ADD_TIME(dest, src1, src2)
#define TIMEDELTA(dest, src1, src2)
#define IS_AFTER(t1, t2)
#define IS_AT_OR_AFTER(t1, t2)
#define IGNORE_IN_GAME_MODE()   { if (__glutGameModeWindow) return; }
#define GLUT_WIND_IS_RGB(x)   (((x) & GLUT_INDEX) == 0)
#define GLUT_WIND_IS_INDEX(x)   (((x) & GLUT_INDEX) != 0)
#define GLUT_WIND_IS_SINGLE(x)   (((x) & GLUT_DOUBLE) == 0)
#define GLUT_WIND_IS_DOUBLE(x)   (((x) & GLUT_DOUBLE) != 0)
#define GLUT_WIND_HAS_ACCUM(x)   (((x) & GLUT_ACCUM) != 0)
#define GLUT_WIND_HAS_ALPHA(x)   (((x) & GLUT_ALPHA) != 0)
#define GLUT_WIND_HAS_DEPTH(x)   (((x) & GLUT_DEPTH) != 0)
#define GLUT_WIND_HAS_STENCIL(x)   (((x) & GLUT_STENCIL) != 0)
#define GLUT_WIND_IS_MULTISAMPLE(x)   (((x) & GLUT_MULTISAMPLE) != 0)
#define GLUT_WIND_IS_STEREO(x)   (((x) & GLUT_STEREO) != 0)
#define GLUT_WIND_IS_LUMINANCE(x)   (((x) & GLUT_LUMINANCE) != 0)
#define GLUT_MAP_WORK   (1 << 0)
#define GLUT_EVENT_MASK_WORK   (1 << 1)
#define GLUT_REDISPLAY_WORK   (1 << 2)
#define GLUT_CONFIGURE_WORK   (1 << 3)
#define GLUT_COLORMAP_WORK   (1 << 4)
#define GLUT_DEVICE_MASK_WORK   (1 << 5)
#define GLUT_FINISH_WORK   (1 << 6)
#define GLUT_DEBUG_WORK   (1 << 7)
#define GLUT_DUMMY_WORK   (1 << 8)
#define GLUT_FULL_SCREEN_WORK   (1 << 9)
#define GLUT_OVERLAY_REDISPLAY_WORK   (1 << 10)
#define GLUT_REPAIR_WORK   (1 << 11)
#define GLUT_OVERLAY_REPAIR_WORK   (1 << 12)
#define RGBA   0
#define BUFFER_SIZE   1
#define DOUBLEBUFFER   2
#define STEREO   3
#define AUX_BUFFERS   4
#define RED_SIZE   5
#define GREEN_SIZE   6
#define BLUE_SIZE   7
#define ALPHA_SIZE   8
#define DEPTH_SIZE   9
#define STENCIL_SIZE   10
#define ACCUM_RED_SIZE   11
#define ACCUM_GREEN_SIZE   12
#define ACCUM_BLUE_SIZE   13
#define ACCUM_ALPHA_SIZE   14
#define LEVEL   15
#define NUM_GLXCAPS   (LEVEL + 1)
#define XVISUAL   (NUM_GLXCAPS + 0)
#define TRANSPARENT   (NUM_GLXCAPS + 1)
#define SAMPLES   (NUM_GLXCAPS + 2)
#define XSTATICGRAY   (NUM_GLXCAPS + 3)
#define XGRAYSCALE   (NUM_GLXCAPS + 4)
#define XSTATICCOLOR   (NUM_GLXCAPS + 5)
#define XPSEUDOCOLOR   (NUM_GLXCAPS + 6)
#define XTRUECOLOR   (NUM_GLXCAPS + 7)
#define XDIRECTCOLOR   (NUM_GLXCAPS + 8)
#define SLOW   (NUM_GLXCAPS + 9)
#define CONFORMANT   (NUM_GLXCAPS + 10)
#define NUM_CAPS   (NUM_GLXCAPS + 11)
#define NUM   (NUM_CAPS + 0)
#define RGBA_MODE   (NUM_CAPS + 1)
#define CI_MODE   (NUM_CAPS + 2)
#define LUMINANCE_MODE   (NUM_CAPS + 3)
#define NONE   0
#define EQ   1
#define NEQ   2
#define LTE   3
#define GTE   4
#define GT   5
#define LT   6
#define MIN   7
#define DM_WIDTH   0
#define DM_HEIGHT   1
#define DM_PIXEL_DEPTH   2
#define DM_HERTZ   3
#define DM_NUM   4
#define NUM_DM_CAPS   (DM_NUM+1)
#define GLUT_MAX_MENUS   3
#define GLUT_OVERLAY_EVENT_FILTER_MASK
#define GLUT_DONT_PROPAGATE_FILTER_MASK
#define GLUT_HACK_STOP_PROPAGATE_MASK
#define MWM_HINTS_DECORATIONS   2
#define MAKE_CURRENT_LAYER(window)   glXMakeCurrent(__glutDisplay, window->renderWin, window->renderCtx)
#define MAKE_CURRENT_WINDOW(window)   glXMakeCurrent(__glutDisplay, window->win, window->ctx)
#define MAKE_CURRENT_OVERLAY(overlay)   glXMakeCurrent(__glutDisplay, overlay->win, overlay->ctx)
#define UNMAKE_CURRENT()   glXMakeCurrent(__glutDisplay, None, NULL)
#define SWAP_BUFFERS_WINDOW(window)   glXSwapBuffers(__glutDisplay, window->win)
#define SWAP_BUFFERS_LAYER(window)   glXSwapBuffers(__glutDisplay, window->renderWin)

Typedefs

typedef _Criterion Criterion
typedef _FrameBufferMode FrameBufferMode
typedef _DisplayMode DisplayMode
typedef void(* GLUTdisplayCB )(void)
typedef void(* GLUTreshapeCB )(int, int)
typedef void(* GLUTkeyboardCB )(unsigned char, int, int)
typedef void(* GLUTmouseCB )(int, int, int, int)
typedef void(* GLUTmotionCB )(int, int)
typedef void(* GLUTpassiveCB )(int, int)
typedef void(* GLUTentryCB )(int)
typedef void(* GLUTvisibilityCB )(int)
typedef void(* GLUTwindowStatusCB )(int)
typedef void(* GLUTidleCB )(void)
typedef void(* GLUTtimerCB )(int)
typedef void(* GLUTmenuStateCB )(int)
typedef void(* GLUTmenuStatusCB )(int, int, int)
typedef void(* GLUTselectCB )(int)
typedef void(* GLUTspecialCB )(int, int, int)
typedef void(* GLUTspaceMotionCB )(int, int, int)
typedef void(* GLUTspaceRotateCB )(int, int, int)
typedef void(* GLUTspaceButtonCB )(int, int)
typedef void(* GLUTdialsCB )(int, int)
typedef void(* GLUTbuttonBoxCB )(int, int)
typedef void(* GLUTtabletMotionCB )(int, int)
typedef void(* GLUTtabletButtonCB )(int, int, int, int)
typedef void(* GLUTwacomMotionCB )(int, int, float, float, float, float, float, int)
typedef void(* GLUTwacomButtonCB )(int, int, int, int, float, float, float, float, float, int)
typedef void(* GLUTmoveCB )(int, int)
typedef void(* GLUTjoystickCB )(unsigned int buttonMask, int x, int y, int z)
typedef _GLUTcolorcell GLUTcolorcell
typedef _GLUTcolormap GLUTcolormap
typedef _GLUTwindow GLUTwindow
typedef _GLUToverlay GLUToverlay
typedef _GLUTstale GLUTstale
typedef _GLUTmenu GLUTmenu
typedef _GLUTmenuItem GLUTmenuItem
typedef _GLUTtimer GLUTtimer
typedef _GLUTeventParser GLUTeventParser

Functions

void __glutMenuModificationError (void)
void __glutSetMenuItem (GLUTmenuItem *item, const char *label, int value, Bool isTrigger)
XVisualInfo * __glutDetermineWindowVisual (Bool *treatAsSingle, Bool *visAlloced, void **fbc)
GLUTcolormap__glutAssociateNewColormap (XVisualInfo *vis)
void __glutFreeColormap (GLUTcolormap *)
void __glutSetupColormap (XVisualInfo *vi, GLUTcolormap **colormap, Colormap *cmap)
void __glutEstablishColormapsProperty (GLUTwindow *window)
GLUTwindow__glutToplevelOf (GLUTwindow *window)
void __glutSetCursor (GLUTwindow *window)
void __glutPutOnWorkList (GLUTwindow *window, int work_mask)
void __glutRegisterEventParser (GLUTeventParser *parser)
void __glutPostRedisplay (GLUTwindow *window, int layerMask)
void __glutOpenXConnection (char *display)
void __glutInitTime (struct timeval *beginning)
void __glutSetMenu (GLUTmenu *menu)
char * __glutStrdup (const char *string)
void __glutWarning (char *format,...)
void __glutFatalError (char *format,...)
void __glutFatalUsage (char *format,...)
void __glutWacomSetOffset (int x, int y)
void __glutWacomSetButton (int device, int button)
void __glutWacomUpdate (int x, int y, int pressure, int xtilt, int ytilt)
void __glutWacomCalibrate (void)
GLUTwindow__glutGetWindow (Window win)
void __glutChangeWindowEventMask (long mask, Bool add)
XVisualInfo * __glutDetermineVisual (unsigned int mode, Bool *fakeSingle, XVisualInfo *(getVisualInfo)(unsigned int))
XVisualInfo * __glutGetVisualInfo (unsigned int mode)
void __glutSetWindow (GLUTwindow *window)
void __glutReshapeFunc (GLUTreshapeCB reshapeFunc, int callingConvention)
void __glutDefaultReshape (int, int)
GLUTwindow__glutCreateWindow (GLUTwindow *parent, int x, int y, int width, int height, int gamemode)
void __glutDestroyWindow (GLUTwindow *window, GLUTwindow *initialWindow)
int __glutIsSupportedByGLX (char *)
void __glutUpdateInputDeviceMask (GLUTwindow *window)
void __glutDetermineMesaSwapHackSupport (void)
void __glutCloseDownGameMode (void)

Variables

GLUTstale__glutStaleWindowList
GLUTwindow__glutWindowWorkList
int __glutWindowDamaged
GLUTmenu__glutMappedMenu
void(* __glutUpdateInputDeviceMaskFunc )(GLUTwindow *)
void(* __glutMenuItemEnterOrLeave )(GLUTmenuItem *item, int num, int type)
void(* __glutFinishMenu )(Window win, int x, int y)
void(* __glutPaintMenu )(GLUTmenu *menu)
void(* __glutStartMenu )(GLUTmenu *menu, GLUTwindow *window, int x, int y, int x_win, int y_win)
GLUTmenu *(* __glutGetMenuByNum )(int menunum)
GLUTmenuItem *(* __glutGetMenuItem )(GLUTmenu *menu, Window win, int *which)
GLUTmenu *(* __glutGetMenu )(Window win)
Atom __glutWMDeleteWindow
Display * __glutDisplay
unsigned int __glutDisplayMode
char * __glutDisplayString
XVisualInfo *(* __glutDetermineVisualFromString )(char *string, Bool *treatAsSingle, Criterion *requiredCriteria, int nRequired, int requiredMask, void **fbc)
GLboolean __glutDebug
GLboolean __glutForceDirect
GLboolean __glutIconic
GLboolean __glutTryDirect
Window __glutRoot
XSizeHints __glutSizeHints
char ** __glutArgv
char * __glutProgramName
int __glutArgc
int __glutConnectionFD
int __glutInitHeight
int __glutInitWidth
int __glutInitX
int __glutInitY
int __glutScreen
int __glutScreenHeight
int __glutScreenWidth
Atom __glutMotifHints
unsigned int __glutModifierMask
GLUTmenuItem__glutItemSelected
GLUTmenu ** __glutMenuList
void(* __glutMenuStatusFunc )(int, int, int)
int __glutWacomButton
int __glutWacomState
float __glutWacomX
float __glutWacomY
float __glutWacomPressure
float __glutWacomXTilt
float __glutWacomYTilt
GLUTwindow ** __glutWindowList
GLUTwindow__glutCurrentWindow
GLUTwindow__glutMenuWindow
GLUTmenu__glutCurrentMenu
int __glutWindowListSize
void(* __glutFreeOverlayFunc )(GLUToverlay *)
int __glutMesaSwapHackSupport
GLUTwindow__glutGameModeWindow


Define Documentation

#define ACCUM_ALPHA_SIZE   14
 

Definition at line 158 of file glutint.h.

#define ACCUM_BLUE_SIZE   13
 

Definition at line 157 of file glutint.h.

#define ACCUM_GREEN_SIZE   12
 

Definition at line 156 of file glutint.h.

#define ACCUM_RED_SIZE   11
 

Definition at line 154 of file glutint.h.

#define ADD_TIME dest,
src1,
src2   ) 
 

Value:

{ \
  if(((dest).tv_usec = \
    (src1).tv_usec + (src2).tv_usec) >= 1000000) { \
    (dest).tv_usec -= 1000000; \
    (dest).tv_sec = (src1).tv_sec + (src2).tv_sec + 1; \
  } else { \
    (dest).tv_sec = (src1).tv_sec + (src2).tv_sec; \
    if(((dest).tv_sec >= 1) && (((dest).tv_usec <0))) { \
      (dest).tv_sec --;(dest).tv_usec += 1000000; \
    } \
  } \
}

Definition at line 83 of file glutint.h.

Referenced by glutTimerFunc().

#define ALPHA_SIZE   8
 

Definition at line 151 of file glutint.h.

#define AUX_BUFFERS   4
 

Definition at line 146 of file glutint.h.

#define BLUE_SIZE   7
 

Definition at line 150 of file glutint.h.

#define BUFFER_SIZE   1
 

Definition at line 143 of file glutint.h.

#define CI_MODE   (NUM_CAPS + 2)
 

Definition at line 185 of file glutint.h.

#define CONFORMANT   (NUM_GLXCAPS + 10)
 

Definition at line 177 of file glutint.h.

#define DEPTH_SIZE   9
 

Definition at line 152 of file glutint.h.

#define DM_HEIGHT   1
 

Definition at line 224 of file glutint.h.

#define DM_HERTZ   3
 

Definition at line 226 of file glutint.h.

#define DM_NUM   4
 

Definition at line 227 of file glutint.h.

#define DM_PIXEL_DEPTH   2
 

Definition at line 225 of file glutint.h.

#define DM_WIDTH   0
 

Definition at line 223 of file glutint.h.

#define DOUBLEBUFFER   2
 

Definition at line 144 of file glutint.h.

#define EQ   1
 

Definition at line 189 of file glutint.h.

#define GETTIMEOFDAY _x   )     gettimeofday(_x, NULL)
 

Definition at line 81 of file glutint.h.

Referenced by __glutInitTime(), glutTimerFunc(), handleTimeouts(), and waitForSomething().

#define GLUT_COLORMAP_WORK   (1 << 4)
 

Definition at line 131 of file glutint.h.

Referenced by glutCreateSubWindow(), glutDestroyWindow(), glutEstablishOverlay(), glutRemoveOverlay(), and processWindowWorkList().

#define GLUT_CONFIGURE_WORK   (1 << 3)
 

Definition at line 130 of file glutint.h.

Referenced by processWindowWorkList().

#define GLUT_DEBUG_WORK   (1 << 7)
 

Definition at line 134 of file glutint.h.

Referenced by __glutSetWindow(), and processWindowWorkList().

#define GLUT_DEVICE_MASK_WORK   (1 << 5)
 

Definition at line 132 of file glutint.h.

Referenced by glutTabletButtonFunc(), glutTabletMotionFunc(), glutWacomButtonFunc(), glutWacomMotionFunc(), and processWindowWorkList().

#define GLUT_DONT_PROPAGATE_FILTER_MASK
 

Value:

(ButtonReleaseMask | \
  ButtonPressMask | \
  KeyPressMask | \
  KeyReleaseMask | \
  PointerMotionMask | \
  Button1MotionMask | \
  Button2MotionMask | \
  Button3MotionMask)

Definition at line 480 of file glutint.h.

Referenced by __glutCreateWindow(), and processWindowWorkList().

#define GLUT_DUMMY_WORK   (1 << 8)
 

Definition at line 135 of file glutint.h.

Referenced by processWindowWorkList().

#define GLUT_EVENT_MASK_WORK   (1 << 1)
 

Definition at line 128 of file glutint.h.

Referenced by __glutChangeWindowEventMask(), and processWindowWorkList().

#define GLUT_FINISH_WORK   (1 << 6)
 

Definition at line 133 of file glutint.h.

Referenced by __glutSetWindow(), and processWindowWorkList().

#define GLUT_FULL_SCREEN_WORK   (1 << 9)
 

Definition at line 136 of file glutint.h.

Referenced by processWindowWorkList().

#define GLUT_HACK_STOP_PROPAGATE_MASK
 

Value:

(KeyPressMask | \
  KeyReleaseMask)

Definition at line 489 of file glutint.h.

Referenced by __glutCreateWindow(), and processWindowWorkList().

#define GLUT_MAP_WORK   (1 << 0)
 

Definition at line 127 of file glutint.h.

Referenced by __glutCreateWindow(), and processWindowWorkList().

#define GLUT_MAX_MENUS   3
 

Definition at line 351 of file glutint.h.

Referenced by __glutCreateWindow().

#define GLUT_OVERLAY_EVENT_FILTER_MASK
 

Value:

(ExposureMask | \
  StructureNotifyMask | \
  EnterWindowMask | \
  LeaveWindowMask)

Definition at line 475 of file glutint.h.

Referenced by glutEstablishOverlay(), and processWindowWorkList().

#define GLUT_OVERLAY_REDISPLAY_WORK   (1 << 10)
 

Definition at line 137 of file glutint.h.

Referenced by glutPostOverlayRedisplay(), glutPostWindowOverlayRedisplay(), and processWindowWorkList().

#define GLUT_OVERLAY_REPAIR_WORK   (1 << 12)
 

Definition at line 139 of file glutint.h.

Referenced by glutLayerGet(), processEventsAndTimeouts(), and processWindowWorkList().

#define GLUT_REDISPLAY_WORK   (1 << 2)
 

Definition at line 129 of file glutint.h.

Referenced by __glutPostRedisplay(), glutPostRedisplay(), glutPostWindowRedisplay(), and processWindowWorkList().

#define GLUT_REPAIR_WORK   (1 << 11)
 

Definition at line 138 of file glutint.h.

Referenced by __glutPostRedisplay(), glutLayerGet(), processEventsAndTimeouts(), and processWindowWorkList().

#define GLUT_WIND_HAS_ACCUM x   )     (((x) & GLUT_ACCUM) != 0)
 

Definition at line 120 of file glutint.h.

Referenced by checkOverlayAcceptability(), and getVisualInfoRGB().

#define GLUT_WIND_HAS_ALPHA x   )     (((x) & GLUT_ALPHA) != 0)
 

Definition at line 121 of file glutint.h.

Referenced by checkOverlayAcceptability(), and getVisualInfoRGB().

#define GLUT_WIND_HAS_DEPTH x   )     (((x) & GLUT_DEPTH) != 0)
 

Definition at line 122 of file glutint.h.

Referenced by checkOverlayAcceptability(), getVisualInfoCI(), and getVisualInfoRGB().

#define GLUT_WIND_HAS_STENCIL x   )     (((x) & GLUT_STENCIL) != 0)
 

Definition at line 123 of file glutint.h.

Referenced by checkOverlayAcceptability(), getVisualInfoCI(), and getVisualInfoRGB().

#define GLUT_WIND_IS_DOUBLE x   )     (((x) & GLUT_DOUBLE) != 0)
 

Definition at line 119 of file glutint.h.

Referenced by checkOverlayAcceptability(), getVisualInfoCI(), and getVisualInfoRGB().

#define GLUT_WIND_IS_INDEX x   )     (((x) & GLUT_INDEX) != 0)
 

Definition at line 117 of file glutint.h.

#define GLUT_WIND_IS_LUMINANCE x   )     (((x) & GLUT_LUMINANCE) != 0)
 

Definition at line 126 of file glutint.h.

Referenced by __glutGetVisualInfo(), and getOverlayVisualInfo().

#define GLUT_WIND_IS_MULTISAMPLE x   )     (((x) & GLUT_MULTISAMPLE) != 0)
 

Definition at line 124 of file glutint.h.

Referenced by __glutDetermineVisual(), checkOverlayAcceptability(), and getVisualInfoRGB().

#define GLUT_WIND_IS_RGB x   )     (((x) & GLUT_INDEX) == 0)
 

Definition at line 116 of file glutint.h.

Referenced by __glutGetVisualInfo(), and getOverlayVisualInfo().

#define GLUT_WIND_IS_SINGLE x   )     (((x) & GLUT_DOUBLE) == 0)
 

Definition at line 118 of file glutint.h.

Referenced by __glutDetermineVisual().

#define GLUT_WIND_IS_STEREO x   )     (((x) & GLUT_STEREO) != 0)
 

Definition at line 125 of file glutint.h.

Referenced by checkOverlayAcceptability(), getVisualInfoCI(), and getVisualInfoRGB().

#define GREEN_SIZE   6
 

Definition at line 149 of file glutint.h.

#define GT   5
 

Definition at line 193 of file glutint.h.

#define GTE   4
 

Definition at line 192 of file glutint.h.

 
#define IGNORE_IN_GAME_MODE  )     { if (__glutGameModeWindow) return; }
 

Definition at line 113 of file glutint.h.

#define IS_AFTER t1,
t2   ) 
 

Value:

(((t2).tv_sec > (t1).tv_sec) || \
  (((t2).tv_sec == (t1).tv_sec) && \
  ((t2).tv_usec > (t1).tv_usec)))

Definition at line 103 of file glutint.h.

Referenced by glutTimerFunc(), and waitForSomething().

#define IS_AT_OR_AFTER t1,
t2   ) 
 

Value:

(((t2).tv_sec > (t1).tv_sec) || \
  (((t2).tv_sec == (t1).tv_sec) && \
  ((t2).tv_usec >= (t1).tv_usec)))

Definition at line 107 of file glutint.h.

Referenced by handleTimeouts().

#define LEVEL   15
 

Definition at line 159 of file glutint.h.

#define LT   6
 

Definition at line 194 of file glutint.h.

#define LTE   3
 

Definition at line 191 of file glutint.h.

#define LUMINANCE_MODE   (NUM_CAPS + 3)
 

Definition at line 186 of file glutint.h.

#define MAKE_CURRENT_LAYER window   )     glXMakeCurrent(__glutDisplay, window->renderWin, window->renderCtx)
 

Definition at line 601 of file glutint.h.

Referenced by __glutDefaultReshape(), and __glutSetWindow().

#define MAKE_CURRENT_OVERLAY overlay   )     glXMakeCurrent(__glutDisplay, overlay->win, overlay->ctx)
 

Definition at line 605 of file glutint.h.

Referenced by __glutDefaultReshape().

#define MAKE_CURRENT_WINDOW window   )     glXMakeCurrent(__glutDisplay, window->win, window->ctx)
 

Definition at line 603 of file glutint.h.

Referenced by __glutDefaultReshape().

#define MIN   7
 

Definition at line 195 of file glutint.h.

Referenced by mem_push::insert_bottom(), mem_push::insert_top(), mem_push::peek_top(), and mem_push::remove_top().

#define MWM_HINTS_DECORATIONS   2
 

Definition at line 564 of file glutint.h.

Referenced by processWindowWorkList().

#define NEQ   2
 

Definition at line 190 of file glutint.h.

#define NONE   0
 

Definition at line 188 of file glutint.h.

Referenced by GL_VIEW::paint(), REF_CLASS(), and VIEW::VIEW().

#define NUM   (NUM_CAPS + 0)
 

Definition at line 183 of file glutint.h.

#define NUM_CAPS   (NUM_GLXCAPS + 11)
 

Definition at line 179 of file glutint.h.

#define NUM_DM_CAPS   (DM_NUM+1)
 

Definition at line 229 of file glutint.h.

#define NUM_GLXCAPS   (LEVEL + 1)
 

Definition at line 161 of file glutint.h.

#define RED_SIZE   5
 

Definition at line 147 of file glutint.h.

#define RGBA   0
 

Definition at line 142 of file glutint.h.

#define RGBA_MODE   (NUM_CAPS + 1)
 

Definition at line 184 of file glutint.h.

#define SAMPLES   (NUM_GLXCAPS + 2)
 

Definition at line 165 of file glutint.h.

#define SLOW   (NUM_GLXCAPS + 9)
 

Definition at line 176 of file glutint.h.

#define STENCIL_SIZE   10
 

Definition at line 153 of file glutint.h.

#define STEREO   3
 

Definition at line 145 of file glutint.h.

#define SWAP_BUFFERS_LAYER window   )     glXSwapBuffers(__glutDisplay, window->renderWin)
 

Definition at line 611 of file glutint.h.

#define SWAP_BUFFERS_WINDOW window   )     glXSwapBuffers(__glutDisplay, window->win)
 

Definition at line 609 of file glutint.h.

Referenced by processWindowWorkList().

#define TIMEDELTA dest,
src1,
src2   ) 
 

Value:

{ \
  if(((dest).tv_usec = (src1).tv_usec - (src2).tv_usec) < 0) { \
    (dest).tv_usec += 1000000; \
    (dest).tv_sec = (src1).tv_sec - (src2).tv_sec - 1; \
  } else { \
     (dest).tv_sec = (src1).tv_sec - (src2).tv_sec; \
  } \
}

Definition at line 95 of file glutint.h.

Referenced by waitForSomething().

#define TRANSPARENT   (NUM_GLXCAPS + 1)
 

Definition at line 164 of file glutint.h.

 
#define UNMAKE_CURRENT  )     glXMakeCurrent(__glutDisplay, None, NULL)
 

Definition at line 607 of file glutint.h.

Referenced by __glutDestroyWindow().

#define XDIRECTCOLOR   (NUM_GLXCAPS + 8)
 

Definition at line 175 of file glutint.h.

#define XGRAYSCALE   (NUM_GLXCAPS + 4)
 

Definition at line 171 of file glutint.h.

#define XPSEUDOCOLOR   (NUM_GLXCAPS + 6)
 

Definition at line 173 of file glutint.h.

#define XSTATICCOLOR   (NUM_GLXCAPS + 5)
 

Definition at line 172 of file glutint.h.

#define XSTATICGRAY   (NUM_GLXCAPS + 3)
 

Definition at line 166 of file glutint.h.

#define XTRUECOLOR   (NUM_GLXCAPS + 7)
 

Definition at line 174 of file glutint.h.

#define XVISUAL   (NUM_GLXCAPS + 0)
 

Definition at line 163 of file glutint.h.


Typedef Documentation

typedef struct _Criterion Criterion
 

typedef struct _DisplayMode DisplayMode
 

typedef struct _FrameBufferMode FrameBufferMode
 

typedef void(* GLUTbuttonBoxCB)(int, int)
 

Definition at line 265 of file glutint.h.

typedef struct _GLUTcolorcell GLUTcolorcell
 

Definition at line 299 of file glutint.h.

typedef struct _GLUTcolormap GLUTcolormap
 

Definition at line 305 of file glutint.h.

typedef void(* GLUTdialsCB)(int, int)
 

Definition at line 264 of file glutint.h.

typedef void(* GLUTdisplayCB)(void)
 

Definition at line 246 of file glutint.h.

typedef void(* GLUTentryCB)(int)
 

Definition at line 252 of file glutint.h.

typedef struct _GLUTeventParser GLUTeventParser
 

Definition at line 549 of file glutint.h.

typedef void(* GLUTidleCB)(void)
 

Definition at line 255 of file glutint.h.

typedef void(* GLUTjoystickCB)(unsigned int buttonMask, int x, int y, int z)
 

Definition at line 271 of file glutint.h.

typedef void(* GLUTkeyboardCB)(unsigned char, int, int)
 

Definition at line 248 of file glutint.h.

typedef struct _GLUTmenu GLUTmenu
 

Definition at line 493 of file glutint.h.

typedef struct _GLUTmenuItem GLUTmenuItem
 

Definition at line 494 of file glutint.h.

typedef void(* GLUTmenuStateCB)(int)
 

Definition at line 257 of file glutint.h.

typedef void(* GLUTmenuStatusCB)(int, int, int)
 

Definition at line 258 of file glutint.h.

typedef void(* GLUTmotionCB)(int, int)
 

Definition at line 250 of file glutint.h.

typedef void(* GLUTmouseCB)(int, int, int, int)
 

Definition at line 249 of file glutint.h.

typedef void(* GLUTmoveCB)(int, int)
 

Definition at line 270 of file glutint.h.

typedef struct _GLUToverlay GLUToverlay
 

Definition at line 317 of file glutint.h.

typedef void(* GLUTpassiveCB)(int, int)
 

Definition at line 251 of file glutint.h.

typedef void(* GLUTreshapeCB)(int, int)
 

Definition at line 247 of file glutint.h.

typedef void(* GLUTselectCB)(int)
 

Definition at line 259 of file glutint.h.

typedef void(* GLUTspaceButtonCB)(int, int)
 

Definition at line 263 of file glutint.h.

typedef void(* GLUTspaceMotionCB)(int, int, int)
 

Definition at line 261 of file glutint.h.

typedef void(* GLUTspaceRotateCB)(int, int, int)
 

Definition at line 262 of file glutint.h.

typedef void(* GLUTspecialCB)(int, int, int)
 

Definition at line 260 of file glutint.h.

typedef struct _GLUTstale GLUTstale
 

Definition at line 466 of file glutint.h.

typedef void(* GLUTtabletButtonCB)(int, int, int, int)
 

Definition at line 267 of file glutint.h.

typedef void(* GLUTtabletMotionCB)(int, int)
 

Definition at line 266 of file glutint.h.

typedef struct _GLUTtimer GLUTtimer
 

Definition at line 538 of file glutint.h.

typedef void(* GLUTtimerCB)(int)
 

Definition at line 256 of file glutint.h.

typedef void(* GLUTvisibilityCB)(int)
 

Definition at line 253 of file glutint.h.

typedef void(* GLUTwacomButtonCB)(int, int, int, int, float, float, float, float, float, int)
 

Definition at line 269 of file glutint.h.

typedef void(* GLUTwacomMotionCB)(int, int, float, float, float, float, float, int)
 

Definition at line 268 of file glutint.h.

typedef struct _GLUTwindow GLUTwindow
 

Definition at line 316 of file glutint.h.

typedef void(* GLUTwindowStatusCB)(int)
 

Definition at line 254 of file glutint.h.


Function Documentation

GLUTcolormap* __glutAssociateNewColormap XVisualInfo *  vis  ) 
 

void __glutChangeWindowEventMask long  mask,
Bool  add
 

Definition at line 855 of file glut_win.c.

References __glutPutOnWorkList(), _GLUTwindow::eventMask, and GLUT_EVENT_MASK_WORK.

Referenced by glutEntryFunc(), glutMotionFunc(), glutMouseFunc(), glutPassiveMotionFunc(), and glutWindowStatusFunc().

void __glutCloseDownGameMode void   ) 
 

Referenced by __glutDestroyWindow().

GLUTwindow* __glutCreateWindow GLUTwindow parent,
int  x,
int  y,
int  width,
int  height,
int  gamemode
 

Definition at line 457 of file glut_win.c.

References __glutDefaultDisplay(), __glutDefaultReshape(), __glutDetermineMesaSwapHackSupport(), __glutDetermineWindowVisual(), __glutDisplay, __glutFatalError(), __glutForceDirect, __glutGameModeWindow, __glutOpenXConnection(), __glutRoot, __glutSetupColormap(), __glutSetWindow(), __glutTryDirect, __glutWindowWorkList, _GLUTwindow::buttonBox, _GLUTwindow::buttonUses, _GLUTwindow::children, _GLUTwindow::cmap, _GLUTwindow::colormap, _GLUTwindow::ctx, _GLUTwindow::cursor, _GLUTwindow::desiredConfMask, _GLUTwindow::desiredMapState, _GLUTwindow::dials, _GLUTwindow::display, _GLUTwindow::entry, _GLUTwindow::entryState, _GLUTwindow::eventMask, _GLUTwindow::forceReshape, getUnusedWindowSlot(), GL_FRONT, glDrawBuffer(), glReadBuffer(), GLUT_DONT_PROPAGATE_FILTER_MASK, GLUT_HACK_STOP_PROPAGATE_MASK, GLUT_MAP_WORK, GLUT_MAX_MENUS, GLX_RGBA_TYPE_SGIX, glXCreateContext(), glXCreateContextWithConfigSGIX, glXIsDirect(), _GLUTwindow::height, _GLUTwindow::ignoreKeyRepeat, _GLUTwindow::isDirect, _GLUTwindow::keyboard, _GLUTwindow::keyboardUp, _GLUTwindow::menu, _GLUTwindow::motion, _GLUTwindow::mouse, _GLUTwindow::move, _GLUTwindow::num, _GLUTwindow::overlay, _GLUTwindow::parent, _GLUTwindow::passive, _GLUTwindow::prevWorkWin, _GLUTwindow::renderCtx, _GLUTwindow::renderWin, _GLUTwindow::reshape, _GLUTwindow::shownState, _GLUTwindow::siblings, _GLUTwindow::spaceButton, _GLUTwindow::spaceMotion, _GLUTwindow::spaceRotate, _GLUTwindow::special, _GLUTwindow::specialUp, _GLUTwindow::tabletButton, _GLUTwindow::tabletMotion, _GLUTwindow::tabletPos, _GLUTwindow::treatAsSingle, _GLUTwindow::vis, _GLUTwindow::visAlloced, _GLUTwindow::visibility, _GLUTwindow::visState, _GLUTwindow::wacomButton, _GLUTwindow::wacomMotion, _GLUTwindow::width, _GLUTwindow::win, _GLUTwindow::windowStatus, _GLUTwindow::workMask, _GLUTwindow::x, and _GLUTwindow::y.

Referenced by glutCreateSubWindow(), and glutCreateWindow().

void __glutDefaultReshape int  ,
int 
 

Definition at line 408 of file glut_win.c.

References glViewport(), MAKE_CURRENT_LAYER, MAKE_CURRENT_OVERLAY, MAKE_CURRENT_WINDOW, and _GLUTwindow::overlay.

Referenced by __glutCreateWindow(), and glutReshapeFunc().

void __glutDestroyWindow GLUTwindow window,
GLUTwindow initialWindow
 

Definition at line 762 of file glut_win.c.

References __glutCloseDownGameMode(), __glutDestroyWindow(), __glutDisplay, __glutFreeColormap(), __glutFreeOverlayFunc, __glutGameModeWindow, _GLUTwindow::children, cleanStaleWindowList(), cleanWindowWorkList(), _GLUTwindow::colormap, _GLUTwindow::ctx, glXDestroyContext(), _GLUTwindow::num, _GLUTwindow::overlay, _GLUTwindow::parent, _GLUTwindow::siblings, UNMAKE_CURRENT, _GLUTwindow::vis, _GLUTwindow::visAlloced, and _GLUTwindow::win.

Referenced by __glutDestroyWindow(), and glutDestroyWindow().

void __glutDetermineMesaSwapHackSupport void   ) 
 

Referenced by __glutCreateWindow().

XVisualInfo* __glutDetermineVisual unsigned int  mode,
Bool *  fakeSingle,
XVisualInfo *  (getVisualInfo)(unsigned int)
 

Definition at line 357 of file glut_win.c.

References __glutDisplayString, GLUT_WIND_IS_MULTISAMPLE, and GLUT_WIND_IS_SINGLE.

Referenced by __glutDetermineWindowVisual(), and determineOverlayVisual().

XVisualInfo* __glutDetermineWindowVisual Bool *  treatAsSingle,
Bool *  visAlloced,
void **  fbc
 

Definition at line 428 of file glut_win.c.

References __glutDetermineVisual(), __glutDetermineVisualFromString, __glutDisplayMode, __glutDisplayString, __glutGetVisualInfo(), numRequiredWindowCriteria, and requiredWindowCriteriaMask.

Referenced by __glutCreateWindow().

void __glutEstablishColormapsProperty GLUTwindow window  ) 
 

Referenced by processWindowWorkList().

void __glutFatalError char *  format,
  ...
 

Referenced by __glutCreateWindow(), __glutDefaultDisplay(), __glutOpenXConnection(), addStaleWindow(), getUnusedWindowSlot(), glutCreateWindow(), glutDisplayFunc(), glutEstablishOverlay(), glutInit(), glutTimerFunc(), interruptibleXNextEvent(), and waitForSomething().

void __glutFatalUsage char *  format,
  ...
 

Referenced by glutDestroyWindow(), and glutMainLoop().

void __glutFreeColormap GLUTcolormap  ) 
 

Referenced by __glutDestroyWindow(), and __glutFreeOverlay().

XVisualInfo* __glutGetVisualInfo unsigned int  mode  ) 
 

Definition at line 344 of file glut_win.c.

References getVisualInfoCI(), getVisualInfoRGB(), GLUT_WIND_IS_LUMINANCE, and GLUT_WIND_IS_RGB.

Referenced by __glutDetermineWindowVisual().

GLUTwindow* __glutGetWindow Window  win  ) 
 

Definition at line 87 of file glut_win.c.

References __glutWindowListSize, _GLUTstale::next, _GLUTwindow::overlay, _GLUTstale::win, _GLUToverlay::win, _GLUTwindow::win, and _GLUTstale::window.

Referenced by __glutProcessDeviceEvents(), and processEventsAndTimeouts().

void __glutInitTime struct timeval *  beginning  ) 
 

Definition at line 149 of file glut_init.c.

References GETTIMEOFDAY.

Referenced by glutInit().

int __glutIsSupportedByGLX char *   ) 
 

Referenced by checkOverlayAcceptability(), and getVisualInfoRGB().

void __glutMenuModificationError void   ) 
 

void __glutOpenXConnection char *  display  ) 
 

Definition at line 123 of file glut_init.c.

References __glutConnectionFD, __glutDisplay, __glutFatalError(), __glutRoot, __glutScreen, __glutScreenHeight, __glutScreenWidth, __glutWMDeleteWindow, glXQueryExtension(), synchronize, and XSGIFastInternAtom.

Referenced by __glutCreateWindow(), and glutInit().

void __glutPostRedisplay GLUTwindow window,
int  layerMask
 

Definition at line 191 of file glut_event.c.

References __glutPutOnWorkList(), GLUT_REDISPLAY_WORK, GLUT_REPAIR_WORK, _GLUTwindow::overlay, _GLUToverlay::shownState, _GLUTwindow::shownState, and _GLUTwindow::visState.

Referenced by glutPostOverlayRedisplay(), glutPostRedisplay(), glutPostWindowOverlayRedisplay(), glutPostWindowRedisplay(), and processEventsAndTimeouts().

void __glutPutOnWorkList GLUTwindow window,
int  work_mask
 

Definition at line 173 of file glut_event.c.

References _GLUTwindow::prevWorkWin, and _GLUTwindow::workMask.

Referenced by __glutChangeWindowEventMask(), __glutPostRedisplay(), __glutSetWindow(), glutCreateSubWindow(), glutDestroyWindow(), glutEstablishOverlay(), glutRemoveOverlay(), glutTabletButtonFunc(), glutTabletMotionFunc(), glutWacomButtonFunc(), and glutWacomMotionFunc().

void __glutRegisterEventParser GLUTeventParser parser  ) 
 

Definition at line 232 of file glut_event.c.

References _GLUTeventParser::next.

Referenced by addDeviceEventParser().

void __glutReshapeFunc GLUTreshapeCB  reshapeFunc,
int  callingConvention
 

void __glutSetCursor GLUTwindow window  ) 
 

void __glutSetMenu GLUTmenu menu  ) 
 

void __glutSetMenuItem GLUTmenuItem item,
const char *  label,
int  value,
Bool  isTrigger
 

void __glutSetupColormap XVisualInfo *  vi,
GLUTcolormap **  colormap,
Colormap *  cmap
 

Referenced by __glutCreateWindow(), and glutEstablishOverlay().

void __glutSetWindow GLUTwindow window  ) 
 

Definition at line 141 of file glut_win.c.

References __glutDebug, __glutPutOnWorkList(), GLUT_DEBUG_WORK, GLUT_FINISH_WORK, _GLUTwindow::isDirect, and MAKE_CURRENT_LAYER.

Referenced by __glutCreateWindow(), __glutProcessDeviceEvents(), glutSetWindow(), glutUseLayer(), markWindowHidden(), processEventsAndTimeouts(), and processWindowWorkList().

char* __glutStrdup const char *  string  ) 
 

Referenced by glutInit().

GLUTwindow* __glutToplevelOf GLUTwindow window  ) 
 

Referenced by glutCreateSubWindow(), glutDestroyWindow(), glutEstablishOverlay(), and glutRemoveOverlay().

void __glutUpdateInputDeviceMask GLUTwindow window  ) 
 

Definition at line 1103 of file glut_input.c.

References __glutDeviceButtonPress, __glutDeviceButtonPressGrab, __glutDeviceButtonRelease, __glutDeviceMotionNotify, __glutDeviceStateNotify, __glutDials, __glutDisplay, __glutProximityIn, __glutProximityOut, __glutSpaceball, __glutTablet, __glutWacomCursor, __glutWacomEraser, __glutWacomStylus, __glutWacomTablet, _GLUTwindow::buttonBox, _GLUTwindow::children, _GLUTwindow::dials, _GLUTwindow::overlay, probeDevices(), _GLUTwindow::siblings, _GLUTwindow::spaceButton, _GLUTwindow::spaceMotion, _GLUTwindow::spaceRotate, _GLUTwindow::tabletButton, _GLUTwindow::tabletMotion, _GLUTwindow::wacomButton, _GLUTwindow::wacomMotion, _GLUToverlay::win, and _GLUTwindow::win.

Referenced by glutTabletButtonFunc(), glutTabletMotionFunc(), glutWacomButtonFunc(), and glutWacomMotionFunc().

void __glutWacomCalibrate void   ) 
 

Definition at line 143 of file glut_wacom.c.

References __glutWacomPressureMin, __glutWacomPressureRange, __glutWacomScreenHeight, __glutWacomScreenWidth, __glutWacomXCoordRange, __glutWacomXScale, __glutWacomXTiltHalfRange, __glutWacomYCoordRange, __glutWacomYScale, __glutWacomYTiltHalfRange, GLUT_WACOM_STYLUS_PRESSURE_MIN, GLUT_WACOM_STYLUS_PRESSURE_RANGE, GLUT_WACOM_STYLUS_XCOORD_RANGE, GLUT_WACOM_STYLUS_XTILT_RANGE, GLUT_WACOM_STYLUS_YCOORD_RANGE, GLUT_WACOM_STYLUS_YTILT_RANGE, GLUT_WACOM_TABLET_PRESSURE_MIN, GLUT_WACOM_TABLET_PRESSURE_RANGE, GLUT_WACOM_TABLET_XCOORD_RANGE, GLUT_WACOM_TABLET_XTILT_RANGE, GLUT_WACOM_TABLET_YCOORD_RANGE, GLUT_WACOM_TABLET_YTILT_RANGE, glutDeviceGet(), and int().

Referenced by glutInitWacom().

void __glutWacomSetButton int  device,
int  button
 

Definition at line 42 of file glut_wacom.c.

References __glutWacomButton, __glutWacomState, GLUT_WACOM_BOTTOM_BUTTON, GLUT_WACOM_BOTTOM_LEFT_BUTTON, GLUT_WACOM_BOTTOM_RIGHT_BUTTON, GLUT_WACOM_CURSOR, GLUT_WACOM_DOWN, GLUT_WACOM_ERASER, GLUT_WACOM_NO_BUTTON, GLUT_WACOM_STYLUS, GLUT_WACOM_TOP_BUTTON, GLUT_WACOM_TOP_LEFT_BUTTON, GLUT_WACOM_TOP_MIDDLE_BUTTON, GLUT_WACOM_TOP_RIGHT_BUTTON, GLUT_WACOM_UP, WACOM_BOTTOM_BUTTON_DOWN, WACOM_BOTTOM_LEFT_BUTTON_DOWN, WACOM_BOTTOM_RIGHT_BUTTON_DOWN, WACOM_BUTTONS_UP, WACOM_TOP_BUTTON_DOWN, WACOM_TOP_LEFT_BUTTON_DOWN, WACOM_TOP_MIDDLE_BUTTON_DOWN, and WACOM_TOP_RIGHT_BUTTON_DOWN.

Referenced by wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

void __glutWacomSetOffset int  x,
int  y
 

Definition at line 32 of file glut_wacom.c.

References __glutWacomXOffset, and __glutWacomYOffset.

Referenced by processEventsAndTimeouts().

void __glutWacomUpdate int  x,
int  y,
int  pressure,
int  xtilt,
int  ytilt
 

Definition at line 128 of file glut_wacom.c.

References __glutWacomPressure, __glutWacomPressureMin, __glutWacomPressureRange, __glutWacomX, __glutWacomXOffset, __glutWacomXScale, __glutWacomXTilt, __glutWacomXTiltHalfRange, __glutWacomY, __glutWacomYOffset, __glutWacomYScale, __glutWacomYTilt, and __glutWacomYTiltHalfRange.

Referenced by wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

void __glutWarning char *  format,
  ...
 

Referenced by __glutDefaultDisplay(), getOverlayVisualInfoRGB(), glutDeviceGet(), glutHideOverlay(), glutInit(), glutLayerGet(), glutOverlayDisplayFunc(), glutSetWindow(), glutShowOverlay(), and glutUseLayer().


Variable Documentation

int __glutArgc
 

Definition at line 30 of file glut_init.c.

Referenced by glutCreateWindow(), and glutInit().

char** __glutArgv
 

Definition at line 31 of file glut_init.c.

Referenced by glutCreateWindow(), and glutInit().

int __glutConnectionFD
 

Definition at line 43 of file glut_init.c.

Referenced by __glutOpenXConnection(), interruptibleXNextEvent(), and waitForSomething().

GLUTmenu* __glutCurrentMenu
 

Definition at line 84 of file glut_event.c.

GLUTwindow* __glutCurrentWindow
 

Definition at line 19 of file glut_win.c.

Referenced by glutDeviceGet(), glutEstablishOverlay(), glutHideOverlay(), glutLayerGet(), glutOverlayDisplayFunc(), glutPostOverlayRedisplay(), glutPostRedisplay(), glutRemoveOverlay(), glutShowOverlay(), glutTabletButtonFunc(), glutTabletMotionFunc(), glutUseLayer(), glutWacomButtonFunc(), and glutWacomMotionFunc().

GLboolean __glutDebug
 

Definition at line 39 of file glut_init.c.

Referenced by __glutSetWindow(), and glutInit().

XVisualInfo*(* __glutDetermineVisualFromString)(char *string, Bool *treatAsSingle, Criterion *requiredCriteria, int nRequired, int requiredMask, void **fbc)
 

Definition at line 28 of file glut_win.c.

Referenced by __glutDetermineWindowVisual(), and determineOverlayVisual().

Display* __glutDisplay
 

Definition at line 33 of file glut_init.c.

Referenced by __glutCreateWindow(), __glutDestroyWindow(), __glutFreeOverlay(), __glutOpenXConnection(), __glutUpdateInputDeviceMask(), checkOverlayAcceptability(), getOverlayVisualInfoCI(), getVisualInfoCI(), getVisualInfoRGB(), glutCreateWindow(), glutDeviceGet(), glutEstablishOverlay(), glutHideOverlay(), glutInit(), glutMainLoop(), glutShowOverlay(), idleWait(), interruptibleXNextEvent(), probeDevices(), processEventsAndTimeouts(), processWindowWorkList(), queryTabletPos(), wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), wacomTabletChange(), and waitForSomething().

unsigned int __glutDisplayMode
 

Definition at line 40 of file glut_init.c.

Referenced by __glutDetermineWindowVisual(), determineOverlayVisual(), and glutInitDisplayMode().

char* __glutDisplayString
 

Definition at line 42 of file glut_init.c.

Referenced by __glutDetermineVisual(), __glutDetermineWindowVisual(), determineOverlayVisual(), getVisualInfoCI(), and getVisualInfoRGB().

void(* __glutFinishMenu)(Window win, int x, int y)
 

Definition at line 89 of file glut_event.c.

Referenced by processEventsAndTimeouts().

GLboolean __glutForceDirect
 

Definition at line 47 of file glut_init.c.

Referenced by __glutCreateWindow(), glutEstablishOverlay(), and glutInit().

void(* __glutFreeOverlayFunc)(GLUToverlay *)
 

Definition at line 27 of file glut_win.c.

Referenced by __glutDestroyWindow(), and glutEstablishOverlay().

GLUTwindow* __glutGameModeWindow
 

Referenced by __glutCreateWindow(), __glutDestroyWindow(), glutCreateWindow(), and processWindowWorkList().

GLUTmenu*(* __glutGetMenu)(Window win)
 

Definition at line 94 of file glut_event.c.

Referenced by processEventsAndTimeouts().

GLUTmenu*(* __glutGetMenuByNum)(int menunum)
 

Definition at line 92 of file glut_event.c.

Referenced by processEventsAndTimeouts().

GLUTmenuItem*(* __glutGetMenuItem)(GLUTmenu *menu, Window win, int *which)
 

Definition at line 93 of file glut_event.c.

Referenced by processEventsAndTimeouts().

GLboolean __glutIconic
 

Definition at line 38 of file glut_init.c.

Referenced by glutCreateWindow(), and glutInit().

int __glutInitHeight
 

Definition at line 45 of file glut_init.c.

Referenced by glutCreateWindow(), glutInit(), and glutInitWindowSize().

int __glutInitWidth
 

Definition at line 45 of file glut_init.c.

Referenced by glutCreateWindow(), glutInit(), and glutInitWindowSize().

int __glutInitX
 

Definition at line 46 of file glut_init.c.

Referenced by glutInit(), and glutInitWindowPosition().

int __glutInitY
 

Definition at line 46 of file glut_init.c.

Referenced by glutInit(), and glutInitWindowPosition().

GLUTmenuItem* __glutItemSelected
 

GLUTmenu* __glutMappedMenu
 

Definition at line 83 of file glut_event.c.

Referenced by glutDestroyWindow().

void(* __glutMenuItemEnterOrLeave)(GLUTmenuItem *item, int num, int type)
 

Definition at line 88 of file glut_event.c.

Referenced by processEventsAndTimeouts().

GLUTmenu** __glutMenuList
 

void(* __glutMenuStatusFunc)(int, int, int)
 

GLUTwindow* __glutMenuWindow
 

Definition at line 25 of file glut_win.c.

int __glutMesaSwapHackSupport
 

Referenced by processWindowWorkList().

unsigned int __glutModifierMask
 

Definition at line 99 of file glut_event.c.

Referenced by __glutProcessDeviceEvents(), and processEventsAndTimeouts().

Atom __glutMotifHints
 

Definition at line 97 of file glut_event.c.

Referenced by processWindowWorkList().

void(* __glutPaintMenu)(GLUTmenu *menu)
 

Definition at line 90 of file glut_event.c.

Referenced by processEventsAndTimeouts().

char* __glutProgramName
 

Definition at line 29 of file glut_init.c.

Referenced by glutInit().

Window __glutRoot
 

Definition at line 35 of file glut_init.c.

Referenced by __glutCreateWindow(), and __glutOpenXConnection().

int __glutScreen
 

Definition at line 34 of file glut_init.c.

Referenced by __glutOpenXConnection(), getOverlayVisualInfoCI(), getVisualInfoCI(), getVisualInfoRGB(), glutInit(), and processWindowWorkList().

int __glutScreenHeight
 

Definition at line 36 of file glut_init.c.

Referenced by __glutOpenXConnection().

int __glutScreenWidth
 

Definition at line 37 of file glut_init.c.

Referenced by __glutOpenXConnection().

XSizeHints __glutSizeHints
 

Definition at line 44 of file glut_init.c.

Referenced by glutCreateWindow(), glutInit(), glutInitWindowPosition(), and glutInitWindowSize().

GLUTstale* __glutStaleWindowList
 

Definition at line 23 of file glut_win.c.

Referenced by addStaleWindow(), and purgeStaleWindow().

void(* __glutStartMenu)(GLUTmenu *menu, GLUTwindow *window, int x, int y, int x_win, int y_win)
 

Definition at line 91 of file glut_event.c.

Referenced by processEventsAndTimeouts().

GLboolean __glutTryDirect
 

Definition at line 48 of file glut_init.c.

Referenced by __glutCreateWindow(), glutEstablishOverlay(), and glutInit().

void(* __glutUpdateInputDeviceMaskFunc)(GLUTwindow *)
 

Definition at line 86 of file glut_event.c.

Referenced by glutTabletButtonFunc(), glutTabletMotionFunc(), glutWacomButtonFunc(), glutWacomMotionFunc(), and processWindowWorkList().

int __glutWacomButton
 

Definition at line 13 of file glut_wacom.c.

Referenced by __glutWacomSetButton(), wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

float __glutWacomPressure
 

Definition at line 18 of file glut_wacom.c.

Referenced by __glutWacomUpdate(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

int __glutWacomState
 

Definition at line 14 of file glut_wacom.c.

Referenced by __glutWacomSetButton(), wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

float __glutWacomX
 

Definition at line 17 of file glut_wacom.c.

Referenced by __glutWacomUpdate(), wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

float __glutWacomXTilt
 

Definition at line 19 of file glut_wacom.c.

Referenced by __glutWacomUpdate(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

float __glutWacomY
 

Definition at line 17 of file glut_wacom.c.

Referenced by __glutWacomUpdate(), wacomCursorChange(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

float __glutWacomYTilt
 

Definition at line 19 of file glut_wacom.c.

Referenced by __glutWacomUpdate(), wacomEraserChange(), wacomStylusChange(), and wacomTabletChange().

int __glutWindowDamaged
 

Definition at line 100 of file glut_event.c.

Referenced by glutLayerGet(), and processWindowWorkList().

GLUTwindow** __glutWindowList
 

Definition at line 20 of file glut_win.c.

Referenced by glutPostWindowOverlayRedisplay(), glutPostWindowRedisplay(), processEventsAndTimeouts(), and processWindowWorkList().

int __glutWindowListSize
 

Definition at line 21 of file glut_win.c.

Referenced by __glutGetWindow(), getUnusedWindowSlot(), glutMainLoop(), and glutSetWindow().

GLUTwindow* __glutWindowWorkList
 

Definition at line 82 of file glut_event.c.

Referenced by __glutCreateWindow(), and cleanWindowWorkList().

Atom __glutWMDeleteWindow
 

Definition at line 49 of file glut_init.c.

Referenced by __glutOpenXConnection(), glutCreateWindow(), and processEventsAndTimeouts().


Generated on Mon Sep 18 11:41:22 2006 for jot by  doxygen 1.4.4