SlideShare a Scribd company logo
1 of 10
Download to read offline
CHAPTER
SEVENTYSIX
RINGFREEGLUT FUNCTIONS REFERENCE
• GLUT_RGB
• GLUT_RGBA
• GLUT_INDEX
• GLUT_SINGLE
• GLUT_DOUBLE
• GLUT_ACCUM
• GLUT_ALPHA
• GLUT_DEPTH
• GLUT_STENCIL
• GLUT_MULTISAMPLE
• GLUT_STEREO
• GLUT_LUMINANCE
• GLUT_KEY_F1
• GLUT_KEY_F2
• GLUT_KEY_F3
• GLUT_KEY_F4
• GLUT_KEY_F5
• GLUT_KEY_F6
• GLUT_KEY_F7
• GLUT_KEY_F8
• GLUT_KEY_F9
• GLUT_KEY_F10
• GLUT_KEY_F11
• GLUT_KEY_F12
• GLUT_KEY_LEFT
• GLUT_KEY_UP
• GLUT_KEY_RIGHT
845
Ring Documentation, Release 1.5.4
• GLUT_KEY_DOWN
• GLUT_KEY_PAGE_UP
• GLUT_KEY_PAGE_DOWN
• GLUT_KEY_HOME
• GLUT_KEY_END
• GLUT_KEY_INSERT
• GLUT_LEFT_BUTTON
• GLUT_MIDDLE_BUTTON
• GLUT_RIGHT_BUTTON
• GLUT_DOWN
• GLUT_UP
• GLUT_LEFT
• GLUT_ENTERED
• GLUT_MENU_NOT_IN_USE
• GLUT_MENU_IN_USE
• GLUT_NOT_VISIBLE
• GLUT_VISIBLE
• GLUT_HIDDEN
• GLUT_FULLY_RETAINED
• GLUT_PARTIALLY_RETAINED
• GLUT_FULLY_COVERED
• GLUT_WINDOW_X
• GLUT_WINDOW_Y
• GLUT_WINDOW_WIDTH
• GLUT_WINDOW_HEIGHT
• GLUT_WINDOW_BUFFER_SIZE
• GLUT_WINDOW_STENCIL_SIZE
• GLUT_WINDOW_DEPTH_SIZE
• GLUT_WINDOW_RED_SIZE
• GLUT_WINDOW_GREEN_SIZE
• GLUT_WINDOW_BLUE_SIZE
• GLUT_WINDOW_ALPHA_SIZE
• GLUT_WINDOW_ACCUM_RED_SIZE
• GLUT_WINDOW_ACCUM_GREEN_SIZE
• GLUT_WINDOW_ACCUM_BLUE_SIZE
• GLUT_WINDOW_ACCUM_ALPHA_SIZE
846
Ring Documentation, Release 1.5.4
• GLUT_WINDOW_DOUBLEBUFFER
• GLUT_WINDOW_RGBA
• GLUT_WINDOW_PARENT
• GLUT_WINDOW_NUM_CHILDREN
• GLUT_WINDOW_COLORMAP_SIZE
• GLUT_WINDOW_NUM_SAMPLES
• GLUT_WINDOW_STEREO
• GLUT_WINDOW_CURSOR
• GLUT_SCREEN_WIDTH
• GLUT_SCREEN_HEIGHT
• GLUT_SCREEN_WIDTH_MM
• GLUT_SCREEN_HEIGHT_MM
• GLUT_MENU_NUM_ITEMS
• GLUT_DISPLAY_MODE_POSSIBLE
• GLUT_INIT_WINDOW_X
• GLUT_INIT_WINDOW_Y
• GLUT_INIT_WINDOW_WIDTH
• GLUT_INIT_WINDOW_HEIGHT
• GLUT_INIT_DISPLAY_MODE
• GLUT_ELAPSED_TIME
• GLUT_WINDOW_FORMAT_ID
• GLUT_HAS_KEYBOARD
• GLUT_HAS_MOUSE
• GLUT_HAS_SPACEBALL
• GLUT_HAS_DIAL_AND_BUTTON_BOX
• GLUT_HAS_TABLET
• GLUT_NUM_MOUSE_BUTTONS
• GLUT_NUM_SPACEBALL_BUTTONS
• GLUT_NUM_BUTTON_BOX_BUTTONS
• GLUT_NUM_DIALS
• GLUT_NUM_TABLET_BUTTONS
• GLUT_DEVICE_IGNORE_KEY_REPEAT
• GLUT_DEVICE_KEY_REPEAT
• GLUT_HAS_JOYSTICK
• GLUT_OWNS_JOYSTICK
• GLUT_JOYSTICK_BUTTONS
847
Ring Documentation, Release 1.5.4
• GLUT_JOYSTICK_AXES
• GLUT_JOYSTICK_POLL_RATE
• GLUT_OVERLAY_POSSIBLE
• GLUT_LAYER_IN_USE
• GLUT_HAS_OVERLAY
• GLUT_TRANSPARENT_INDEX
• GLUT_NORMAL_DAMAGED
• GLUT_OVERLAY_DAMAGED
• GLUT_VIDEO_RESIZE_POSSIBLE
• GLUT_VIDEO_RESIZE_IN_USE
• GLUT_VIDEO_RESIZE_X_DELTA
• GLUT_VIDEO_RESIZE_Y_DELTA
• GLUT_VIDEO_RESIZE_WIDTH_DELTA
• GLUT_VIDEO_RESIZE_HEIGHT_DELTA
• GLUT_VIDEO_RESIZE_X
• GLUT_VIDEO_RESIZE_Y
• GLUT_VIDEO_RESIZE_WIDTH
• GLUT_VIDEO_RESIZE_HEIGHT
• GLUT_NORMAL
• GLUT_OVERLAY
• GLUT_ACTIVE_SHIFT
• GLUT_ACTIVE_CTRL
• GLUT_ACTIVE_ALT
• GLUT_CURSOR_RIGHT_ARROW
• GLUT_CURSOR_LEFT_ARROW
• GLUT_CURSOR_INFO
• GLUT_CURSOR_DESTROY
• GLUT_CURSOR_HELP
• GLUT_CURSOR_CYCLE
• GLUT_CURSOR_SPRAY
• GLUT_CURSOR_WAIT
• GLUT_CURSOR_TEXT
• GLUT_CURSOR_CROSSHAIR
• GLUT_CURSOR_UP_DOWN
• GLUT_CURSOR_LEFT_RIGHT
• GLUT_CURSOR_TOP_SIDE
848
Ring Documentation, Release 1.5.4
• GLUT_CURSOR_BOTTOM_SIDE
• GLUT_CURSOR_LEFT_SIDE
• GLUT_CURSOR_RIGHT_SIDE
• GLUT_CURSOR_TOP_LEFT_CORNER
• GLUT_CURSOR_TOP_RIGHT_CORNER
• GLUT_CURSOR_BOTTOM_RIGHT_CORNER
• GLUT_CURSOR_BOTTOM_LEFT_CORNER
• GLUT_CURSOR_INHERIT
• GLUT_CURSOR_NONE
• GLUT_CURSOR_FULL_CROSSHAIR
• GLUT_RED
• GLUT_GREEN
• GLUT_BLUE
• GLUT_KEY_REPEAT_OFF
• GLUT_KEY_REPEAT_ON
• GLUT_KEY_REPEAT_DEFAULT
• GLUT_JOYSTICK_BUTTON_A
• GLUT_JOYSTICK_BUTTON_B
• GLUT_JOYSTICK_BUTTON_C
• GLUT_JOYSTICK_BUTTON_D
• GLUT_GAME_MODE_ACTIVE
• GLUT_GAME_MODE_POSSIBLE
• GLUT_GAME_MODE_WIDTH
• GLUT_GAME_MODE_HEIGHT
• GLUT_GAME_MODE_PIXEL_DEPTH
• GLUT_GAME_MODE_REFRESH_RATE
• GLUT_GAME_MODE_DISPLAY_CHANGED
• GLUT_STROKE_ROMAN
• GLUT_STROKE_MONO_ROMAN
• GLUT_BITMAP_9_BY_15
• GLUT_BITMAP_8_BY_13
• GLUT_BITMAP_TIMES_ROMAN_10
• GLUT_BITMAP_TIMES_ROMAN_24
• GLUT_BITMAP_HELVETICA_10
• GLUT_BITMAP_HELVETICA_12
• GLUT_BITMAP_HELVETICA_18
849
Ring Documentation, Release 1.5.4
• void glutInit(void)
• void glutDisplayFunc(const char *)
• void glutReshapeFunc(const char *)
• int glutEventWidth(void)
• int glutEventHeight(void)
• void glutIdleFunc(const char *)
• void glutKeyboardFunc(const char *)
• void glutSpecialFunc(const char *)
• void glutSpecialUpFunc(const char *)
• void glutMouseFunc(const char *)
• void glutMotionFunc(const char *)
• int glutCreateMenu(const char *)
• void glutMenuStatusFunc(const char *)
• int glutEventKey(void)
• int glutEventX(void)
• int glutEventY(void)
• int glutEventButton(void)
• int glutEventState(void)
• int glutEventValue(void)
• int glutEventStatus(void)
• void test_draw(void)
• void glutInitWindowPosition(int x, int y)
• void glutInitWindowSize(int width, int height)
• void glutInitDisplayMode(unsigned displayMode)
• void glutInitDisplayString(const char * displayMode)
• int glutCreateWindow(const char * title)
• int glutCreateSubWindow(int window, int x, int y, int width, int height)
• void glutDestroyWindow(int window)
• void glutSetWindow(int window)
• int glutGetWindow(void)
• void glutSetWindowTitle(const char * title)
• void glutSetIconTitle(const char * title)
• void glutReshapeWindow(int width, int height)
• void glutPositionWindow(int x, int y)
• void glutShowWindow(void)
• void glutHideWindow(void)
850
Ring Documentation, Release 1.5.4
• void glutIconifyWindow(void)
• void glutPushWindow(void)
• void glutPopWindow(void)
• void glutFullScreen(void)
• void glutPostWindowRedisplay(int window)
• void glutPostRedisplay(void)
• void glutSwapBuffers(void)
• void glutWarpPointer(int x, int y)
• void glutSetCursor(int cursor)
• void glutEstablishOverlay(void)
• void glutRemoveOverlay(void)
• void glutUseLayer(GLenum layer)
• void glutPostOverlayRedisplay(void)
• void glutPostWindowOverlayRedisplay(int window)
• void glutShowOverlay(void)
• void glutHideOverlay(void)
• void glutDestroyMenu(int menu)
• int glutGetMenu(void)
• void glutSetMenu(int menu)
• void glutAddMenuEntry(const char * label, int value)
• void glutAddSubMenu(const char * label, int subMenu)
• void glutChangeToMenuEntry(int item, const char * label, int value)
• void glutChangeToSubMenu(int item, const char * label, int value)
• void glutRemoveMenuItem(int item)
• void glutAttachMenu(int button)
• void glutDetachMenu(int button)
• int glutGet(GLenum query)
• int glutDeviceGet(GLenum query)
• int glutGetModifiers(void)
• int glutLayerGet(GLenum query)
• void glutBitmapCharacter(void *font, int character)
• int glutBitmapWidth(void *font, int character)
• void glutStrokeCharacter(void *font, int character)
• int glutStrokeWidth(void *font, int character)
• GLfloat glutStrokeWidthf(void *font, int character)
• int glutBitmapLength(void *font, char * string)
851
Ring Documentation, Release 1.5.4
• int glutStrokeLength(void *font, char * string)
• GLfloat glutStrokeLengthf(void *font, char *string)
• void glutWireCube(double size)
• void glutSolidCube(double size)
• void glutWireSphere(double radius, GLint slices, GLint stacks)
• void glutSolidSphere(double radius, GLint slices, GLint stacks)
• void glutWireCone(double base, double height, GLint slices, GLint stacks)
• void glutSolidCone(double base, double height, GLint slices, GLint stacks)
• void glutWireTorus(double innerRadius, double outerRadius, GLint sides, GLint rings)
• void glutSolidTorus(double innerRadius, double outerRadius, GLint sides, GLint rings)
• void glutWireDodecahedron(void)
• void glutSolidDodecahedron(void)
• void glutWireOctahedron(void)
• void glutSolidOctahedron(void)
• void glutWireTetrahedron(void)
• void glutSolidTetrahedron(void)
• void glutWireIcosahedron(void)
• void glutSolidIcosahedron(void)
• void glutWireTeapot(double size)
• void glutSolidTeapot(double size)
• void glutGameModeString(const char * string)
• int glutEnterGameMode(void)
• void glutLeaveGameMode(void)
• int glutGameModeGet(GLenum query)
• int glutVideoResizeGet(GLenum query)
• void glutSetupVideoResizing(void)
• void glutStopVideoResizing(void)
• void glutVideoResize(int x, int y, int width, int height)
• void glutVideoPan(int x, int y, int width, int height)
• void glutSetColor(int color, GLfloat red, GLfloat green, GLfloat blue)
• GLfloat glutGetColor(int color, int component)
• void glutCopyColormap(int window)
• void glutIgnoreKeyRepeat(int ignore)
• void glutSetKeyRepeat(int repeatMode)
• void glutForceJoystickFunc(void)
• int glutExtensionSupported(const char * extension)
852
Ring Documentation, Release 1.5.4
• void glutReportErrors(void)
• void glutMainLoop(void)
853
CHAPTER
SEVENTYSEVEN
RINGOPENGL (OPENGL 1.1) FUNCTIONS REFERENCE
• GL_ZERO
• GL_FALSE
• GL_LOGIC_OP
• GL_NONE
• GL_TEXTURE_COMPONENTS
• GL_NO_ERROR
• GL_POINTS
• GL_CURRENT_BIT
• GL_TRUE
• GL_ONE
• GL_CLIENT_PIXEL_STORE_BIT
• GL_LINES
• GL_LINE_LOOP
• GL_POINT_BIT
• GL_CLIENT_VERTEX_ARRAY_BIT
• GL_LINE_STRIP
• GL_LINE_BIT
• GL_TRIANGLES
• GL_TRIANGLE_STRIP
• GL_TRIANGLE_FAN
• GL_QUADS
• GL_QUAD_STRIP
• GL_POLYGON_BIT
• GL_POLYGON
• GL_POLYGON_STIPPLE_BIT
• GL_PIXEL_MODE_BIT
• GL_LIGHTING_BIT
854

More Related Content

What's hot

What's hot (20)

The Ring programming language version 1.5.2 book - Part 121 of 181
The Ring programming language version 1.5.2 book - Part 121 of 181The Ring programming language version 1.5.2 book - Part 121 of 181
The Ring programming language version 1.5.2 book - Part 121 of 181
 
The Ring programming language version 1.9 book - Part 182 of 210
The Ring programming language version 1.9 book - Part 182 of 210The Ring programming language version 1.9 book - Part 182 of 210
The Ring programming language version 1.9 book - Part 182 of 210
 
The Ring programming language version 1.5.2 book - Part 85 of 181
The Ring programming language version 1.5.2 book - Part 85 of 181The Ring programming language version 1.5.2 book - Part 85 of 181
The Ring programming language version 1.5.2 book - Part 85 of 181
 
The Ring programming language version 1.5.4 book - Part 84 of 185
The Ring programming language version 1.5.4 book - Part 84 of 185The Ring programming language version 1.5.4 book - Part 84 of 185
The Ring programming language version 1.5.4 book - Part 84 of 185
 
The Ring programming language version 1.5.3 book - Part 148 of 184
The Ring programming language version 1.5.3 book - Part 148 of 184The Ring programming language version 1.5.3 book - Part 148 of 184
The Ring programming language version 1.5.3 book - Part 148 of 184
 
The Ring programming language version 1.7 book - Part 155 of 196
The Ring programming language version 1.7 book - Part 155 of 196The Ring programming language version 1.7 book - Part 155 of 196
The Ring programming language version 1.7 book - Part 155 of 196
 
The Ring programming language version 1.10 book - Part 184 of 212
The Ring programming language version 1.10 book - Part 184 of 212The Ring programming language version 1.10 book - Part 184 of 212
The Ring programming language version 1.10 book - Part 184 of 212
 
The Ring programming language version 1.9 book - Part 163 of 210
The Ring programming language version 1.9 book - Part 163 of 210 The Ring programming language version 1.9 book - Part 163 of 210
The Ring programming language version 1.9 book - Part 163 of 210
 
The Ring programming language version 1.5.2 book - Part 140 of 181
The Ring programming language version 1.5.2 book - Part 140 of 181The Ring programming language version 1.5.2 book - Part 140 of 181
The Ring programming language version 1.5.2 book - Part 140 of 181
 
The Ring programming language version 1.5.3 book - Part 129 of 184
The Ring programming language version 1.5.3 book - Part 129 of 184The Ring programming language version 1.5.3 book - Part 129 of 184
The Ring programming language version 1.5.3 book - Part 129 of 184
 
The Ring programming language version 1.5.1 book - Part 158 of 180
The Ring programming language version 1.5.1 book - Part 158 of 180 The Ring programming language version 1.5.1 book - Part 158 of 180
The Ring programming language version 1.5.1 book - Part 158 of 180
 
The Ring programming language version 1.8 book - Part 151 of 202
The Ring programming language version 1.8 book - Part 151 of 202The Ring programming language version 1.8 book - Part 151 of 202
The Ring programming language version 1.8 book - Part 151 of 202
 
The Ring programming language version 1.6 book - Part 123 of 189
The Ring programming language version 1.6 book - Part 123 of 189The Ring programming language version 1.6 book - Part 123 of 189
The Ring programming language version 1.6 book - Part 123 of 189
 
The Ring programming language version 1.6 book - Part 88 of 189
The Ring programming language version 1.6 book - Part 88 of 189The Ring programming language version 1.6 book - Part 88 of 189
The Ring programming language version 1.6 book - Part 88 of 189
 
The Ring programming language version 1.8 book - Part 119 of 202
The Ring programming language version 1.8 book - Part 119 of 202The Ring programming language version 1.8 book - Part 119 of 202
The Ring programming language version 1.8 book - Part 119 of 202
 
The Ring programming language version 1.10 book - Part 175 of 212
The Ring programming language version 1.10 book - Part 175 of 212The Ring programming language version 1.10 book - Part 175 of 212
The Ring programming language version 1.10 book - Part 175 of 212
 
The Ring programming language version 1.8 book - Part 165 of 202
The Ring programming language version 1.8 book - Part 165 of 202The Ring programming language version 1.8 book - Part 165 of 202
The Ring programming language version 1.8 book - Part 165 of 202
 
The Ring programming language version 1.5.4 book - Part 138 of 185
The Ring programming language version 1.5.4 book - Part 138 of 185The Ring programming language version 1.5.4 book - Part 138 of 185
The Ring programming language version 1.5.4 book - Part 138 of 185
 
The Ring programming language version 1.5.3 book - Part 134 of 184
The Ring programming language version 1.5.3 book - Part 134 of 184The Ring programming language version 1.5.3 book - Part 134 of 184
The Ring programming language version 1.5.3 book - Part 134 of 184
 
The Ring programming language version 1.5.1 book - Part 125 of 180
The Ring programming language version 1.5.1 book - Part 125 of 180 The Ring programming language version 1.5.1 book - Part 125 of 180
The Ring programming language version 1.5.1 book - Part 125 of 180
 

Similar to The Ring programming language version 1.5.4 book - Part 88 of 185

Similar to The Ring programming language version 1.5.4 book - Part 88 of 185 (20)

The Ring programming language version 1.6 book - Part 92 of 189
The Ring programming language version 1.6 book - Part 92 of 189The Ring programming language version 1.6 book - Part 92 of 189
The Ring programming language version 1.6 book - Part 92 of 189
 
The Ring programming language version 1.7 book - Part 102 of 196
The Ring programming language version 1.7 book - Part 102 of 196The Ring programming language version 1.7 book - Part 102 of 196
The Ring programming language version 1.7 book - Part 102 of 196
 
The Ring programming language version 1.10 book - Part 129 of 212
The Ring programming language version 1.10 book - Part 129 of 212The Ring programming language version 1.10 book - Part 129 of 212
The Ring programming language version 1.10 book - Part 129 of 212
 
The Ring programming language version 1.5.4 book - Part 157 of 185
The Ring programming language version 1.5.4 book - Part 157 of 185The Ring programming language version 1.5.4 book - Part 157 of 185
The Ring programming language version 1.5.4 book - Part 157 of 185
 
The Ring programming language version 1.7 book - Part 119 of 196
The Ring programming language version 1.7 book - Part 119 of 196The Ring programming language version 1.7 book - Part 119 of 196
The Ring programming language version 1.7 book - Part 119 of 196
 
The Ring programming language version 1.5.2 book - Part 159 of 181
The Ring programming language version 1.5.2 book - Part 159 of 181The Ring programming language version 1.5.2 book - Part 159 of 181
The Ring programming language version 1.5.2 book - Part 159 of 181
 
The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 203 of 212The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 203 of 212
 
The Ring programming language version 1.10 book - Part 134 of 212
The Ring programming language version 1.10 book - Part 134 of 212The Ring programming language version 1.10 book - Part 134 of 212
The Ring programming language version 1.10 book - Part 134 of 212
 
The Ring programming language version 1.3 book - Part 66 of 88
The Ring programming language version 1.3 book - Part 66 of 88The Ring programming language version 1.3 book - Part 66 of 88
The Ring programming language version 1.3 book - Part 66 of 88
 
The Ring programming language version 1.5.3 book - Part 96 of 184
The Ring programming language version 1.5.3 book - Part 96 of 184The Ring programming language version 1.5.3 book - Part 96 of 184
The Ring programming language version 1.5.3 book - Part 96 of 184
 
The Ring programming language version 1.6 book - Part 156 of 189
The Ring programming language version 1.6 book - Part 156 of 189The Ring programming language version 1.6 book - Part 156 of 189
The Ring programming language version 1.6 book - Part 156 of 189
 
The Ring programming language version 1.5 book - Part 24 of 31
The Ring programming language version 1.5 book - Part 24 of 31The Ring programming language version 1.5 book - Part 24 of 31
The Ring programming language version 1.5 book - Part 24 of 31
 
The Ring programming language version 1.5.4 book - Part 143 of 185
The Ring programming language version 1.5.4 book - Part 143 of 185The Ring programming language version 1.5.4 book - Part 143 of 185
The Ring programming language version 1.5.4 book - Part 143 of 185
 
The Ring programming language version 1.5.1 book - Part 139 of 180
The Ring programming language version 1.5.1 book - Part 139 of 180 The Ring programming language version 1.5.1 book - Part 139 of 180
The Ring programming language version 1.5.1 book - Part 139 of 180
 
The Ring programming language version 1.6 book - Part 90 of 189
The Ring programming language version 1.6 book - Part 90 of 189The Ring programming language version 1.6 book - Part 90 of 189
The Ring programming language version 1.6 book - Part 90 of 189
 
The Ring programming language version 1.5.3 book - Part 120 of 184
The Ring programming language version 1.5.3 book - Part 120 of 184The Ring programming language version 1.5.3 book - Part 120 of 184
The Ring programming language version 1.5.3 book - Part 120 of 184
 
The Ring programming language version 1.7 book - Part 114 of 196
The Ring programming language version 1.7 book - Part 114 of 196The Ring programming language version 1.7 book - Part 114 of 196
The Ring programming language version 1.7 book - Part 114 of 196
 
The Ring programming language version 1.9 book - Part 154 of 210
The Ring programming language version 1.9 book - Part 154 of 210 The Ring programming language version 1.9 book - Part 154 of 210
The Ring programming language version 1.9 book - Part 154 of 210
 
The Ring programming language version 1.6 book - Part 117 of 189
The Ring programming language version 1.6 book - Part 117 of 189The Ring programming language version 1.6 book - Part 117 of 189
The Ring programming language version 1.6 book - Part 117 of 189
 
The Ring programming language version 1.6 book - Part 137 of 189
The Ring programming language version 1.6 book - Part 137 of 189The Ring programming language version 1.6 book - Part 137 of 189
The Ring programming language version 1.6 book - Part 137 of 189
 

More from Mahmoud Samir Fayed

More from Mahmoud Samir Fayed (20)

The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212
 
The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 211 of 212The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 211 of 212
 
The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 210 of 212The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 210 of 212
 
The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 208 of 212The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 208 of 212
 
The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 207 of 212The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 207 of 212
 
The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 205 of 212The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 205 of 212
 
The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 206 of 212The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 206 of 212
 
The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 204 of 212The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 204 of 212
 
The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 202 of 212The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 202 of 212
 
The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 201 of 212The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 201 of 212
 
The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 200 of 212The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 200 of 212
 
The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 199 of 212The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 199 of 212
 
The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 198 of 212The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 198 of 212
 
The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 197 of 212The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 197 of 212
 
The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 196 of 212The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 196 of 212
 
The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 195 of 212The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 195 of 212
 
The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 194 of 212The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 194 of 212
 
The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 193 of 212The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 193 of 212
 
The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212
 
The Ring programming language version 1.10 book - Part 191 of 212
The Ring programming language version 1.10 book - Part 191 of 212The Ring programming language version 1.10 book - Part 191 of 212
The Ring programming language version 1.10 book - Part 191 of 212
 

Recently uploaded

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

The Ring programming language version 1.5.4 book - Part 88 of 185

  • 1. CHAPTER SEVENTYSIX RINGFREEGLUT FUNCTIONS REFERENCE • GLUT_RGB • GLUT_RGBA • GLUT_INDEX • GLUT_SINGLE • GLUT_DOUBLE • GLUT_ACCUM • GLUT_ALPHA • GLUT_DEPTH • GLUT_STENCIL • GLUT_MULTISAMPLE • GLUT_STEREO • GLUT_LUMINANCE • GLUT_KEY_F1 • GLUT_KEY_F2 • GLUT_KEY_F3 • GLUT_KEY_F4 • GLUT_KEY_F5 • GLUT_KEY_F6 • GLUT_KEY_F7 • GLUT_KEY_F8 • GLUT_KEY_F9 • GLUT_KEY_F10 • GLUT_KEY_F11 • GLUT_KEY_F12 • GLUT_KEY_LEFT • GLUT_KEY_UP • GLUT_KEY_RIGHT 845
  • 2. Ring Documentation, Release 1.5.4 • GLUT_KEY_DOWN • GLUT_KEY_PAGE_UP • GLUT_KEY_PAGE_DOWN • GLUT_KEY_HOME • GLUT_KEY_END • GLUT_KEY_INSERT • GLUT_LEFT_BUTTON • GLUT_MIDDLE_BUTTON • GLUT_RIGHT_BUTTON • GLUT_DOWN • GLUT_UP • GLUT_LEFT • GLUT_ENTERED • GLUT_MENU_NOT_IN_USE • GLUT_MENU_IN_USE • GLUT_NOT_VISIBLE • GLUT_VISIBLE • GLUT_HIDDEN • GLUT_FULLY_RETAINED • GLUT_PARTIALLY_RETAINED • GLUT_FULLY_COVERED • GLUT_WINDOW_X • GLUT_WINDOW_Y • GLUT_WINDOW_WIDTH • GLUT_WINDOW_HEIGHT • GLUT_WINDOW_BUFFER_SIZE • GLUT_WINDOW_STENCIL_SIZE • GLUT_WINDOW_DEPTH_SIZE • GLUT_WINDOW_RED_SIZE • GLUT_WINDOW_GREEN_SIZE • GLUT_WINDOW_BLUE_SIZE • GLUT_WINDOW_ALPHA_SIZE • GLUT_WINDOW_ACCUM_RED_SIZE • GLUT_WINDOW_ACCUM_GREEN_SIZE • GLUT_WINDOW_ACCUM_BLUE_SIZE • GLUT_WINDOW_ACCUM_ALPHA_SIZE 846
  • 3. Ring Documentation, Release 1.5.4 • GLUT_WINDOW_DOUBLEBUFFER • GLUT_WINDOW_RGBA • GLUT_WINDOW_PARENT • GLUT_WINDOW_NUM_CHILDREN • GLUT_WINDOW_COLORMAP_SIZE • GLUT_WINDOW_NUM_SAMPLES • GLUT_WINDOW_STEREO • GLUT_WINDOW_CURSOR • GLUT_SCREEN_WIDTH • GLUT_SCREEN_HEIGHT • GLUT_SCREEN_WIDTH_MM • GLUT_SCREEN_HEIGHT_MM • GLUT_MENU_NUM_ITEMS • GLUT_DISPLAY_MODE_POSSIBLE • GLUT_INIT_WINDOW_X • GLUT_INIT_WINDOW_Y • GLUT_INIT_WINDOW_WIDTH • GLUT_INIT_WINDOW_HEIGHT • GLUT_INIT_DISPLAY_MODE • GLUT_ELAPSED_TIME • GLUT_WINDOW_FORMAT_ID • GLUT_HAS_KEYBOARD • GLUT_HAS_MOUSE • GLUT_HAS_SPACEBALL • GLUT_HAS_DIAL_AND_BUTTON_BOX • GLUT_HAS_TABLET • GLUT_NUM_MOUSE_BUTTONS • GLUT_NUM_SPACEBALL_BUTTONS • GLUT_NUM_BUTTON_BOX_BUTTONS • GLUT_NUM_DIALS • GLUT_NUM_TABLET_BUTTONS • GLUT_DEVICE_IGNORE_KEY_REPEAT • GLUT_DEVICE_KEY_REPEAT • GLUT_HAS_JOYSTICK • GLUT_OWNS_JOYSTICK • GLUT_JOYSTICK_BUTTONS 847
  • 4. Ring Documentation, Release 1.5.4 • GLUT_JOYSTICK_AXES • GLUT_JOYSTICK_POLL_RATE • GLUT_OVERLAY_POSSIBLE • GLUT_LAYER_IN_USE • GLUT_HAS_OVERLAY • GLUT_TRANSPARENT_INDEX • GLUT_NORMAL_DAMAGED • GLUT_OVERLAY_DAMAGED • GLUT_VIDEO_RESIZE_POSSIBLE • GLUT_VIDEO_RESIZE_IN_USE • GLUT_VIDEO_RESIZE_X_DELTA • GLUT_VIDEO_RESIZE_Y_DELTA • GLUT_VIDEO_RESIZE_WIDTH_DELTA • GLUT_VIDEO_RESIZE_HEIGHT_DELTA • GLUT_VIDEO_RESIZE_X • GLUT_VIDEO_RESIZE_Y • GLUT_VIDEO_RESIZE_WIDTH • GLUT_VIDEO_RESIZE_HEIGHT • GLUT_NORMAL • GLUT_OVERLAY • GLUT_ACTIVE_SHIFT • GLUT_ACTIVE_CTRL • GLUT_ACTIVE_ALT • GLUT_CURSOR_RIGHT_ARROW • GLUT_CURSOR_LEFT_ARROW • GLUT_CURSOR_INFO • GLUT_CURSOR_DESTROY • GLUT_CURSOR_HELP • GLUT_CURSOR_CYCLE • GLUT_CURSOR_SPRAY • GLUT_CURSOR_WAIT • GLUT_CURSOR_TEXT • GLUT_CURSOR_CROSSHAIR • GLUT_CURSOR_UP_DOWN • GLUT_CURSOR_LEFT_RIGHT • GLUT_CURSOR_TOP_SIDE 848
  • 5. Ring Documentation, Release 1.5.4 • GLUT_CURSOR_BOTTOM_SIDE • GLUT_CURSOR_LEFT_SIDE • GLUT_CURSOR_RIGHT_SIDE • GLUT_CURSOR_TOP_LEFT_CORNER • GLUT_CURSOR_TOP_RIGHT_CORNER • GLUT_CURSOR_BOTTOM_RIGHT_CORNER • GLUT_CURSOR_BOTTOM_LEFT_CORNER • GLUT_CURSOR_INHERIT • GLUT_CURSOR_NONE • GLUT_CURSOR_FULL_CROSSHAIR • GLUT_RED • GLUT_GREEN • GLUT_BLUE • GLUT_KEY_REPEAT_OFF • GLUT_KEY_REPEAT_ON • GLUT_KEY_REPEAT_DEFAULT • GLUT_JOYSTICK_BUTTON_A • GLUT_JOYSTICK_BUTTON_B • GLUT_JOYSTICK_BUTTON_C • GLUT_JOYSTICK_BUTTON_D • GLUT_GAME_MODE_ACTIVE • GLUT_GAME_MODE_POSSIBLE • GLUT_GAME_MODE_WIDTH • GLUT_GAME_MODE_HEIGHT • GLUT_GAME_MODE_PIXEL_DEPTH • GLUT_GAME_MODE_REFRESH_RATE • GLUT_GAME_MODE_DISPLAY_CHANGED • GLUT_STROKE_ROMAN • GLUT_STROKE_MONO_ROMAN • GLUT_BITMAP_9_BY_15 • GLUT_BITMAP_8_BY_13 • GLUT_BITMAP_TIMES_ROMAN_10 • GLUT_BITMAP_TIMES_ROMAN_24 • GLUT_BITMAP_HELVETICA_10 • GLUT_BITMAP_HELVETICA_12 • GLUT_BITMAP_HELVETICA_18 849
  • 6. Ring Documentation, Release 1.5.4 • void glutInit(void) • void glutDisplayFunc(const char *) • void glutReshapeFunc(const char *) • int glutEventWidth(void) • int glutEventHeight(void) • void glutIdleFunc(const char *) • void glutKeyboardFunc(const char *) • void glutSpecialFunc(const char *) • void glutSpecialUpFunc(const char *) • void glutMouseFunc(const char *) • void glutMotionFunc(const char *) • int glutCreateMenu(const char *) • void glutMenuStatusFunc(const char *) • int glutEventKey(void) • int glutEventX(void) • int glutEventY(void) • int glutEventButton(void) • int glutEventState(void) • int glutEventValue(void) • int glutEventStatus(void) • void test_draw(void) • void glutInitWindowPosition(int x, int y) • void glutInitWindowSize(int width, int height) • void glutInitDisplayMode(unsigned displayMode) • void glutInitDisplayString(const char * displayMode) • int glutCreateWindow(const char * title) • int glutCreateSubWindow(int window, int x, int y, int width, int height) • void glutDestroyWindow(int window) • void glutSetWindow(int window) • int glutGetWindow(void) • void glutSetWindowTitle(const char * title) • void glutSetIconTitle(const char * title) • void glutReshapeWindow(int width, int height) • void glutPositionWindow(int x, int y) • void glutShowWindow(void) • void glutHideWindow(void) 850
  • 7. Ring Documentation, Release 1.5.4 • void glutIconifyWindow(void) • void glutPushWindow(void) • void glutPopWindow(void) • void glutFullScreen(void) • void glutPostWindowRedisplay(int window) • void glutPostRedisplay(void) • void glutSwapBuffers(void) • void glutWarpPointer(int x, int y) • void glutSetCursor(int cursor) • void glutEstablishOverlay(void) • void glutRemoveOverlay(void) • void glutUseLayer(GLenum layer) • void glutPostOverlayRedisplay(void) • void glutPostWindowOverlayRedisplay(int window) • void glutShowOverlay(void) • void glutHideOverlay(void) • void glutDestroyMenu(int menu) • int glutGetMenu(void) • void glutSetMenu(int menu) • void glutAddMenuEntry(const char * label, int value) • void glutAddSubMenu(const char * label, int subMenu) • void glutChangeToMenuEntry(int item, const char * label, int value) • void glutChangeToSubMenu(int item, const char * label, int value) • void glutRemoveMenuItem(int item) • void glutAttachMenu(int button) • void glutDetachMenu(int button) • int glutGet(GLenum query) • int glutDeviceGet(GLenum query) • int glutGetModifiers(void) • int glutLayerGet(GLenum query) • void glutBitmapCharacter(void *font, int character) • int glutBitmapWidth(void *font, int character) • void glutStrokeCharacter(void *font, int character) • int glutStrokeWidth(void *font, int character) • GLfloat glutStrokeWidthf(void *font, int character) • int glutBitmapLength(void *font, char * string) 851
  • 8. Ring Documentation, Release 1.5.4 • int glutStrokeLength(void *font, char * string) • GLfloat glutStrokeLengthf(void *font, char *string) • void glutWireCube(double size) • void glutSolidCube(double size) • void glutWireSphere(double radius, GLint slices, GLint stacks) • void glutSolidSphere(double radius, GLint slices, GLint stacks) • void glutWireCone(double base, double height, GLint slices, GLint stacks) • void glutSolidCone(double base, double height, GLint slices, GLint stacks) • void glutWireTorus(double innerRadius, double outerRadius, GLint sides, GLint rings) • void glutSolidTorus(double innerRadius, double outerRadius, GLint sides, GLint rings) • void glutWireDodecahedron(void) • void glutSolidDodecahedron(void) • void glutWireOctahedron(void) • void glutSolidOctahedron(void) • void glutWireTetrahedron(void) • void glutSolidTetrahedron(void) • void glutWireIcosahedron(void) • void glutSolidIcosahedron(void) • void glutWireTeapot(double size) • void glutSolidTeapot(double size) • void glutGameModeString(const char * string) • int glutEnterGameMode(void) • void glutLeaveGameMode(void) • int glutGameModeGet(GLenum query) • int glutVideoResizeGet(GLenum query) • void glutSetupVideoResizing(void) • void glutStopVideoResizing(void) • void glutVideoResize(int x, int y, int width, int height) • void glutVideoPan(int x, int y, int width, int height) • void glutSetColor(int color, GLfloat red, GLfloat green, GLfloat blue) • GLfloat glutGetColor(int color, int component) • void glutCopyColormap(int window) • void glutIgnoreKeyRepeat(int ignore) • void glutSetKeyRepeat(int repeatMode) • void glutForceJoystickFunc(void) • int glutExtensionSupported(const char * extension) 852
  • 9. Ring Documentation, Release 1.5.4 • void glutReportErrors(void) • void glutMainLoop(void) 853
  • 10. CHAPTER SEVENTYSEVEN RINGOPENGL (OPENGL 1.1) FUNCTIONS REFERENCE • GL_ZERO • GL_FALSE • GL_LOGIC_OP • GL_NONE • GL_TEXTURE_COMPONENTS • GL_NO_ERROR • GL_POINTS • GL_CURRENT_BIT • GL_TRUE • GL_ONE • GL_CLIENT_PIXEL_STORE_BIT • GL_LINES • GL_LINE_LOOP • GL_POINT_BIT • GL_CLIENT_VERTEX_ARRAY_BIT • GL_LINE_STRIP • GL_LINE_BIT • GL_TRIANGLES • GL_TRIANGLE_STRIP • GL_TRIANGLE_FAN • GL_QUADS • GL_QUAD_STRIP • GL_POLYGON_BIT • GL_POLYGON • GL_POLYGON_STIPPLE_BIT • GL_PIXEL_MODE_BIT • GL_LIGHTING_BIT 854