Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

fl::GLShow Class Reference

#include <gl.h>

Inheritance diagram for fl::GLShow:

fl::GLXWindow fl::Window fl::GLXDrawable fl::Drawable fl::Drawable fl::Resource fl::Resource GLTest List of all members.

Public Methods

 GLShow (int width=400, int height=400)
 ~GLShow ()
virtual bool processEvent (XEvent &event)
void waitForClose ()
void stopWaiting ()
virtual void initContext ()
virtual void reshape (int width, int height)
virtual void display ()
virtual void drag (int toX, int toY, unsigned int state)
virtual void click (int x, int y, unsigned int state)
virtual void keyboard (KeySym keysym)

Public Attributes

fl::GLXContext context
bool contextInitialized
Atom WM_DELETE_WINDOW
Atom WM_PROTOCOLS
bool dragMode
int lastX
int lastY
pthread_mutex_t waitingMutex
pthread_cond_t waitingCondition

Constructor & Destructor Documentation

GLShow::GLShow int    width = 400,
int    height = 400
 

GLShow::~GLShow  
 


Member Function Documentation

void GLShow::click int    x,
int    y,
unsigned int    state
[virtual]
 

void GLShow::display   [virtual]
 

Reimplemented in GLTest.

void GLShow::drag int    toX,
int    toY,
unsigned int    state
[virtual]
 

void GLShow::initContext   [virtual]
 

Reimplemented in GLTest.

void GLShow::keyboard KeySym    keysym [virtual]
 

bool GLShow::processEvent XEvent &    event [virtual]
 

Reimplemented from fl::Window.

void GLShow::reshape int    width,
int    height
[virtual]
 

Reimplemented in GLTest.

void GLShow::stopWaiting  
 

void GLShow::waitForClose  
 


Member Data Documentation

fl::GLXContext fl::GLShow::context
 

bool fl::GLShow::contextInitialized
 

bool fl::GLShow::dragMode
 

int fl::GLShow::lastX
 

int fl::GLShow::lastY
 

pthread_cond_t fl::GLShow::waitingCondition
 

pthread_mutex_t fl::GLShow::waitingMutex
 

Atom fl::GLShow::WM_DELETE_WINDOW
 

Atom fl::GLShow::WM_PROTOCOLS
 


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 17:13:26 2004 for fl by doxygen1.2.18