Defines | Functions

xgleinit.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <malloc.h>
#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
#include <GL/gl.h>
#include <GL/glx.h>
#include "xgledit.h"
#include "xgeprivate.h"
Include dependency graph for xgleinit.c:

Defines

#define R   GLX_RED_SIZE
#define G   GLX_GREEN_SIZE
#define B   GLX_BLUE_SIZE
#define A   GLX_ALPHA_SIZE
#define AR   GLX_ACCUM_RED_SIZE
#define AG   GLX_ACCUM_GREEN_SIZE
#define AB   GLX_ACCUM_BLUE_SIZE
#define AA   GLX_ACCUM_ALPHA_SIZE
#define D   GLX_DEPTH_SIZE
#define DB   GLX_DOUBLEBUFFER
#define ST   GLX_STENCIL_SIZE

Functions

void xgle_Init (int argc, char *argv[], int(*callback)(xge_widget *, int, int, short, short), char *title, boolean depth, boolean accum, boolean stencil)
void xgle_Cleanup (void)

Define Documentation

#define A   GLX_ALPHA_SIZE
#define AA   GLX_ACCUM_ALPHA_SIZE
#define AB   GLX_ACCUM_BLUE_SIZE
#define AG   GLX_ACCUM_GREEN_SIZE
#define AR   GLX_ACCUM_RED_SIZE
#define B   GLX_BLUE_SIZE
#define D   GLX_DEPTH_SIZE
#define DB   GLX_DOUBLEBUFFER
#define G   GLX_GREEN_SIZE
#define R   GLX_RED_SIZE
#define ST   GLX_STENCIL_SIZE

Function Documentation

void xgle_Cleanup ( void   ) 
void xgle_Init ( int  argc,
char *  argv[],
int(*)(xge_widget *, int, int, short, short)  callback,
char *  title,
boolean  depth,
boolean  accum,
boolean  stencil 
)