SlideShare a Scribd company logo
1 of 10
Download to read offline
Ring Documentation, Release 1.5.2
• int SDLNet_ResolveHost(IPaddress *address, const char *host, Uint16 port)
• const char *SDLNet_ResolveIP(IPaddress *address)
• TCPsocket SDLNet_TCP_Open(IPaddress *ip)
• void SDLNet_TCP_Close(TCPsocket sock)
• TCPsocket SDLNet_TCP_Accept(TCPsocket server)
• IPaddress *SDLNet_TCP_GetPeerAddress(TCPsocket sock)
• int SDLNet_TCP_Send(TCPsocket sock, const void *data, int len)
• int SDLNet_TCP_Recv(TCPsocket sock, void *data, int maxlen)
• UDPsocket SDLNet_UDP_Open(Uint16 port)
• void SDLNet_UDP_Close(UDPsocket sock)
• int SDLNet_UDP_Bind(UDPsocket sock, int channel, IPaddress *address)
• void SDLNet_UDP_Unbind(UDPsocket sock, int channel)
• IPaddress *SDLNet_UDP_GetPeerAddress(UDPsocket sock, int channel)
• int SDLNet_UDP_Send(UDPsocket sock, int channel, UDPpacket *packet)
• int SDLNet_UDP_Recv(UDPsocket sock, UDPpacket *packet)
• int SDLNet_UDP_SendV(UDPsocket sock, UDPpacket **packetV, int npackets)
• int SDLNet_UDP_RecvV(UDPsocket sock, UDPpacket **packetV)
• UDPpacket *SDLNet_AllocPacket(int size)
• int SDLNet_ResizePacket(UDPpacket *packet, int size)
• void SDLNet_FreePacket(UDPpacket *packet)
• UDPpacket **SDLNet_AllocPacketV(int howmany, int size)
• void SDLNet_FreePacketV(UDPpacket **packetV)
• SDLNet_SocketSet SDLNet_AllocSocketSet(int maxsockets)
• void SDLNet_FreeSocketSet(SDLNet_SocketSet set)
• int SDLNet_AddSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock)
• int SDLNet_TCP_AddSocket(SDLNet_SocketSet set, TCPsocket sock)
• int SDLNet_UDP_AddSocket(SDLNet_SocketSet set, UDPsocket sock)
• int SDLNet_DelSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock)
• int SDLNet_TCP_DelSocket(SDLNet_SocketSet set, TCPsocket sock)
• int SDLNet_UDP_DelSocket(SDLNet_SocketSet set, UDPsocket sock)
• int SDLNet_CheckSockets(SDLNet_SocketSet set, Uint32 timeout)
• int SDLNet_SocketReady(TCPsocket sock)
• int circleRGBA(SDL_Renderer * renderer, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a)
815
CHAPTER
SEVENTYFIVE
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
816
Ring Documentation, Release 1.5.2
• 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
817
Ring Documentation, Release 1.5.2
• 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
818
Ring Documentation, Release 1.5.2
• 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
819
Ring Documentation, Release 1.5.2
• 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
820
Ring Documentation, Release 1.5.2
• 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)
821
Ring Documentation, Release 1.5.2
• 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)
822
Ring Documentation, Release 1.5.2
• 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)
823
Ring Documentation, Release 1.5.2
• void glutReportErrors(void)
• void glutMainLoop(void)
824

More Related Content

What's hot

What's hot (9)

The Ring programming language version 1.5.4 book - Part 55 of 185
The Ring programming language version 1.5.4 book - Part 55 of 185The Ring programming language version 1.5.4 book - Part 55 of 185
The Ring programming language version 1.5.4 book - Part 55 of 185
 
The Ring programming language version 1.7 book - Part 117 of 196
The Ring programming language version 1.7 book - Part 117 of 196The Ring programming language version 1.7 book - Part 117 of 196
The Ring programming language version 1.7 book - Part 117 of 196
 
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
 
201801 SER332 Lecture 04
201801 SER332 Lecture 04201801 SER332 Lecture 04
201801 SER332 Lecture 04
 
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.8 book - Part 122 of 202
The Ring programming language version 1.8 book - Part 122 of 202The Ring programming language version 1.8 book - Part 122 of 202
The Ring programming language version 1.8 book - Part 122 of 202
 
More than 100 keyboard shortcuts must read
More than 100 keyboard shortcuts must readMore than 100 keyboard shortcuts must read
More than 100 keyboard shortcuts must read
 
Calculadora
CalculadoraCalculadora
Calculadora
 
The Ring programming language version 1.2 book - Part 50 of 84
The Ring programming language version 1.2 book - Part 50 of 84The Ring programming language version 1.2 book - Part 50 of 84
The Ring programming language version 1.2 book - Part 50 of 84
 

Similar to The Ring programming language version 1.5.2 book - Part 85 of 181

Similar to The Ring programming language version 1.5.2 book - Part 85 of 181 (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 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.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.10 book - Part 131 of 212
The Ring programming language version 1.10 book - Part 131 of 212The Ring programming language version 1.10 book - Part 131 of 212
The Ring programming language version 1.10 book - Part 131 of 212
 
The Ring programming language version 1.8 book - Part 164 of 202
The Ring programming language version 1.8 book - Part 164 of 202The Ring programming language version 1.8 book - Part 164 of 202
The Ring programming language version 1.8 book - Part 164 of 202
 
The Ring programming language version 1.5.2 book - Part 84 of 181
The Ring programming language version 1.5.2 book - Part 84 of 181The Ring programming language version 1.5.2 book - Part 84 of 181
The Ring programming language version 1.5.2 book - Part 84 of 181
 
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.10 book - Part 161 of 212
The Ring programming language version 1.10 book - Part 161 of 212The Ring programming language version 1.10 book - Part 161 of 212
The Ring programming language version 1.10 book - Part 161 of 212
 
The Ring programming language version 1.8 book - Part 170 of 202
The Ring programming language version 1.8 book - Part 170 of 202The Ring programming language version 1.8 book - Part 170 of 202
The Ring programming language version 1.8 book - Part 170 of 202
 
The Ring programming language version 1.5.2 book - Part 112 of 181
The Ring programming language version 1.5.2 book - Part 112 of 181The Ring programming language version 1.5.2 book - Part 112 of 181
The Ring programming language version 1.5.2 book - Part 112 of 181
 
The Ring programming language version 1.7 book - Part 146 of 196
The Ring programming language version 1.7 book - Part 146 of 196The Ring programming language version 1.7 book - Part 146 of 196
The Ring programming language version 1.7 book - Part 146 of 196
 
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.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.9 book - Part 129 of 210
The Ring programming language version 1.9 book - Part 129 of 210The Ring programming language version 1.9 book - Part 129 of 210
The Ring programming language version 1.9 book - Part 129 of 210
 
The Ring programming language version 1.6 book - Part 142 of 189
The Ring programming language version 1.6 book - Part 142 of 189The Ring programming language version 1.6 book - Part 142 of 189
The Ring programming language version 1.6 book - Part 142 of 189
 
The Ring programming language version 1.10 book - Part 169 of 212
The Ring programming language version 1.10 book - Part 169 of 212The Ring programming language version 1.10 book - Part 169 of 212
The Ring programming language version 1.10 book - Part 169 of 212
 
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.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 132 of 212
The Ring programming language version 1.10 book - Part 132 of 212The Ring programming language version 1.10 book - Part 132 of 212
The Ring programming language version 1.10 book - Part 132 of 212
 
The Ring programming language version 1.8 book - Part 150 of 202
The Ring programming language version 1.8 book - Part 150 of 202The Ring programming language version 1.8 book - Part 150 of 202
The Ring programming language version 1.8 book - Part 150 of 202
 

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 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 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

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

The Ring programming language version 1.5.2 book - Part 85 of 181

  • 1. Ring Documentation, Release 1.5.2 • int SDLNet_ResolveHost(IPaddress *address, const char *host, Uint16 port) • const char *SDLNet_ResolveIP(IPaddress *address) • TCPsocket SDLNet_TCP_Open(IPaddress *ip) • void SDLNet_TCP_Close(TCPsocket sock) • TCPsocket SDLNet_TCP_Accept(TCPsocket server) • IPaddress *SDLNet_TCP_GetPeerAddress(TCPsocket sock) • int SDLNet_TCP_Send(TCPsocket sock, const void *data, int len) • int SDLNet_TCP_Recv(TCPsocket sock, void *data, int maxlen) • UDPsocket SDLNet_UDP_Open(Uint16 port) • void SDLNet_UDP_Close(UDPsocket sock) • int SDLNet_UDP_Bind(UDPsocket sock, int channel, IPaddress *address) • void SDLNet_UDP_Unbind(UDPsocket sock, int channel) • IPaddress *SDLNet_UDP_GetPeerAddress(UDPsocket sock, int channel) • int SDLNet_UDP_Send(UDPsocket sock, int channel, UDPpacket *packet) • int SDLNet_UDP_Recv(UDPsocket sock, UDPpacket *packet) • int SDLNet_UDP_SendV(UDPsocket sock, UDPpacket **packetV, int npackets) • int SDLNet_UDP_RecvV(UDPsocket sock, UDPpacket **packetV) • UDPpacket *SDLNet_AllocPacket(int size) • int SDLNet_ResizePacket(UDPpacket *packet, int size) • void SDLNet_FreePacket(UDPpacket *packet) • UDPpacket **SDLNet_AllocPacketV(int howmany, int size) • void SDLNet_FreePacketV(UDPpacket **packetV) • SDLNet_SocketSet SDLNet_AllocSocketSet(int maxsockets) • void SDLNet_FreeSocketSet(SDLNet_SocketSet set) • int SDLNet_AddSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock) • int SDLNet_TCP_AddSocket(SDLNet_SocketSet set, TCPsocket sock) • int SDLNet_UDP_AddSocket(SDLNet_SocketSet set, UDPsocket sock) • int SDLNet_DelSocket(SDLNet_SocketSet set, SDLNet_GenericSocket sock) • int SDLNet_TCP_DelSocket(SDLNet_SocketSet set, TCPsocket sock) • int SDLNet_UDP_DelSocket(SDLNet_SocketSet set, UDPsocket sock) • int SDLNet_CheckSockets(SDLNet_SocketSet set, Uint32 timeout) • int SDLNet_SocketReady(TCPsocket sock) • int circleRGBA(SDL_Renderer * renderer, Sint16 x, Sint16 y, Sint16 rad, Uint8 r, Uint8 g, Uint8 b, Uint8 a) 815
  • 2. CHAPTER SEVENTYFIVE 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 816
  • 3. Ring Documentation, Release 1.5.2 • 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 817
  • 4. Ring Documentation, Release 1.5.2 • 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 818
  • 5. Ring Documentation, Release 1.5.2 • 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 819
  • 6. Ring Documentation, Release 1.5.2 • 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 820
  • 7. Ring Documentation, Release 1.5.2 • 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) 821
  • 8. Ring Documentation, Release 1.5.2 • 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) 822
  • 9. Ring Documentation, Release 1.5.2 • 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) 823
  • 10. Ring Documentation, Release 1.5.2 • void glutReportErrors(void) • void glutMainLoop(void) 824