Definition in file os.h.
Go to the source code of this file.
Classes | |
struct | OS_KeyboardEventRec |
struct | OS_MouseEventRec |
struct | OS_ResizeEventRec |
struct | OS_EventRec |
Typedefs | |
typedef OS_KeyboardEventRec | OS_KeyboardEvent |
typedef OS_MouseEventRec | OS_MouseEvent |
typedef OS_ResizeEventRec | OS_ResizeEvent |
typedef OS_EventRec | OS_Event |
Enumerations | |
enum | OS_EventType { OS_NOEVENT, OS_KEYDOWN, OS_KEYUP, OS_MOUSEMOTION, OS_MOUSEBUTTONDOWN, OS_MOUSEBUTTONUP, OS_QUIT, OS_RESIZE } |
enum | OS_GLattr { OS_GL_RED_SIZE, OS_GL_GREEN_SIZE, OS_GL_BLUE_SIZE, OS_GL_ALPHA_SIZE, OS_GL_BUFFER_SIZE, OS_GL_DOUBLEBUFFER, OS_GL_DEPTH_SIZE, OS_GL_STENCIL_SIZE, OS_GL_ACCUM_RED_SIZE, OS_GL_ACCUM_GREEN_SIZE, OS_GL_ACCUM_BLUE_SIZE, OS_GL_ACCUM_ALPHA_SIZE, OS_GL_STEREO, OS_GL_MULTISAMPLEBUFFERS, OS_GL_MULTISAMPLESAMPLES, OS_GL_ACCELERATED_VISUAL, OS_GL_SWAP_CONTROL } |
Functions | |
void | osInit (int width, int height, unsigned int flags, int *attribs) |
void | osQuit () |
int | osGetScreenWidth () |
int | osGetScreenHeight () |
void | osWaitVsync (int) |
unsigned int | osGetMilliseconds () |
int | osPollEvent (struct OS_EventRec *e) |
void | osSwapBuffers () |
int | osIsKeyDown (int) |
int | osShowCursor (int) |
void | fatalf (const char *format,...) |
void | debugf (const char *format,...) |