module GLUT

Direct including types

Defined in:

glut/GLUT.cr
glut/version.cr

Constant Summary

ACCUM = 4
ACTIVE_ALT = 4
ACTIVE_CTRL = 2
ACTIVE_SHIFT = 1

GLUT API macro definitions -- the glutGetModifiers parameters

ALPHA = 8
BLUE = 2
CURSOR_BOTTOM_LEFT_CORNER = 19
CURSOR_BOTTOM_RIGHT_CORNER = 18
CURSOR_BOTTOM_SIDE = 13
CURSOR_CROSSHAIR = 9
CURSOR_CYCLE = 5
CURSOR_DESTROY = 3
CURSOR_FULL_CROSSHAIR = 102
CURSOR_HELP = 4
CURSOR_INFO = 2
CURSOR_INHERIT = 100
CURSOR_LEFT_ARROW = 1
CURSOR_LEFT_RIGHT = 11
CURSOR_LEFT_SIDE = 14
CURSOR_NONE = 101
CURSOR_RIGHT_ARROW = 0

GLUT API macro definitions -- the glutSetCursor parameters

CURSOR_RIGHT_SIDE = 15
CURSOR_SPRAY = 6
CURSOR_TEXT = 8
CURSOR_TOP_LEFT_CORNER = 16
CURSOR_TOP_RIGHT_CORNER = 17
CURSOR_TOP_SIDE = 12
CURSOR_UP_DOWN = 10
CURSOR_WAIT = 7
DEPTH = 16
DEVICE_IGNORE_KEY_REPEAT = 610
DEVICE_KEY_REPEAT = 611
DISPLAY_MODE_POSSIBLE = 400
DOUBLE = 2
DOWN = 0
ELAPSED_TIME = 700
ENTERED = 1
FULLY_COVERED = 3
FULLY_RETAINED = 1
GAME_MODE_ACTIVE = 0

GLUT API macro definitions -- game mode definitions

GAME_MODE_DISPLAY_CHANGED = 6
GAME_MODE_HEIGHT = 3
GAME_MODE_PIXEL_DEPTH = 4
GAME_MODE_POSSIBLE = 1
GAME_MODE_REFRESH_RATE = 5
GAME_MODE_WIDTH = 2
GLUT_API_VERSION = 4
GLUT_XLIB_IMPLEMENTATION = 13
GREEN = 1
HAS_DIAL_AND_BUTTON_BOX = 603
HAS_JOYSTICK = 612
HAS_KEYBOARD = 600

GLUT API macro definitions -- the glutDeviceGet parameters

HAS_MOUSE = 601
HAS_OVERLAY = 802
HAS_SPACEBALL = 602
HAS_TABLET = 604
HIDDEN = 0
INDEX = 1
INIT_DISPLAY_MODE = 504
INIT_WINDOW_HEIGHT = 503
INIT_WINDOW_WIDTH = 502
INIT_WINDOW_X = 500
INIT_WINDOW_Y = 501
JOYSTICK_AXES = 615
JOYSTICK_BUTTON_A = 1
JOYSTICK_BUTTON_B = 2
JOYSTICK_BUTTON_C = 4
JOYSTICK_BUTTON_D = 8
JOYSTICK_BUTTONS = 614
JOYSTICK_POLL_RATE = 616
KEY_DOWN = 103
KEY_END = 107
KEY_F1 = 1

GLUT API macro definitions -- the special key codes:

KEY_F10 = 10
KEY_F11 = 11
KEY_F12 = 12
KEY_F2 = 2
KEY_F3 = 3
KEY_F4 = 4
KEY_F5 = 5
KEY_F6 = 6
KEY_F7 = 7
KEY_F8 = 8
KEY_F9 = 9
KEY_HOME = 106
KEY_INSERT = 108
KEY_LEFT = 100
KEY_PAGE_DOWN = 105
KEY_PAGE_UP = 104
KEY_REPEAT_DEFAULT = 2
KEY_REPEAT_OFF = 0

GLUT API macro definitions -- additional keyboard and joystick definitions

KEY_REPEAT_ON = 1
KEY_RIGHT = 102
KEY_UP = 101
LAYER_IN_USE = 801
LEFT = 0
LEFT_BUTTON = 0

GLUT API macro definitions -- mouse state definitions

LUMINANCE = 512
MENU_IN_USE = 1
MENU_NOT_IN_USE = 0

GLUT API macro definitions -- windows and menu related definitions

MENU_NUM_ITEMS = 300
MIDDLE_BUTTON = 1
MULTISAMPLE = 128
NORMAL = 0

GLUT API macro definitions -- the glutUseLayer parameters

NORMAL_DAMAGED = 804
NOT_VISIBLE = 0
NUM_BUTTON_BOX_BUTTONS = 607
NUM_DIALS = 608
NUM_MOUSE_BUTTONS = 605
NUM_SPACEBALL_BUTTONS = 606
NUM_TABLET_BUTTONS = 609
OVERLAY = 1
OVERLAY_DAMAGED = 805
OVERLAY_POSSIBLE = 800

GLUT API macro definitions -- the glutLayerGet parameters

OWNS_JOYSTICK = 613
PARTIALLY_RETAINED = 2
RED = 0

GLUT API macro definitions -- RGB color component specification definitions

RGB = 0

GLUT API macro definitions -- the display mode definitions

RGBA = 0
RIGHT_BUTTON = 2
SCREEN_HEIGHT = 201
SCREEN_HEIGHT_MM = 203
SCREEN_WIDTH = 200
SCREEN_WIDTH_MM = 202
SINGLE = 0
STENCIL = 32
STEREO = 256
TRANSPARENT_INDEX = 803
UP = 1
VERSION = "0.1.0"
VIDEO_RESIZE_HEIGHT = 909
VIDEO_RESIZE_HEIGHT_DELTA = 905
VIDEO_RESIZE_IN_USE = 901
VIDEO_RESIZE_POSSIBLE = 900

GLUT API macro definitions -- the glutVideoResizeGet parameters

VIDEO_RESIZE_WIDTH = 908
VIDEO_RESIZE_WIDTH_DELTA = 904
VIDEO_RESIZE_X = 906
VIDEO_RESIZE_X_DELTA = 902
VIDEO_RESIZE_Y = 907
VIDEO_RESIZE_Y_DELTA = 903
VISIBLE = 1
WINDOW_ACCUM_ALPHA_SIZE = 114
WINDOW_ACCUM_BLUE_SIZE = 113
WINDOW_ACCUM_GREEN_SIZE = 112
WINDOW_ACCUM_RED_SIZE = 111
WINDOW_ALPHA_SIZE = 110
WINDOW_BLUE_SIZE = 109
WINDOW_BUFFER_SIZE = 104
WINDOW_COLORMAP_SIZE = 119
WINDOW_CURSOR = 122
WINDOW_DEPTH_SIZE = 106
WINDOW_DOUBLEBUFFER = 115
WINDOW_FORMAT_ID = 123
WINDOW_GREEN_SIZE = 108
WINDOW_HEIGHT = 103
WINDOW_NUM_CHILDREN = 118
WINDOW_NUM_SAMPLES = 120
WINDOW_PARENT = 117
WINDOW_RED_SIZE = 107
WINDOW_RGBA = 116
WINDOW_STENCIL_SIZE = 105
WINDOW_STEREO = 121
WINDOW_WIDTH = 102
WINDOW_X = 100

GLUT API macro definitions -- the glutGet parameters

WINDOW_Y = 101