/var/www2/hermes2d/hermes2d/src/views/view_support.h File Reference

Go to the source code of this file.

Classes

class  ViewMonitor
 < A monitor used to synchronize thread in views. More...

Functions

int add_view (View *view, int x, int y, int width, int height, const char *title)
 Adds a view.
void set_view_title (int view_id, const char *title)
 Sets title of a view.
void refresh_view (int view_id)
 Forces redisplay of a view.
void remove_view (int view_id)
 Removes a view.
void wait_for_all_views_close (const char *text)
 Waits for all views to close.
void wait_for_any_key (const char *text)
 Waits for a keypress which is not processed.

Variables

ViewMonitor view_sync
 synchronization between all views. Used to access OpenGL and signal a window close event and a keypress event.

Function Documentation

int add_view ( View view,
int  x,
int  y,
int  width,
int  height,
const char *  title 
)

Adds a view.

void refresh_view ( int  view_id  ) 

Forces redisplay of a view.

void remove_view ( int  view_id  ) 

Removes a view.

void set_view_title ( int  view_id,
const char *  title 
)

Sets title of a view.

void wait_for_all_views_close ( const char *  text  ) 

Waits for all views to close.

void wait_for_any_key ( const char *  text  ) 

Waits for a keypress which is not processed.


Variable Documentation

synchronization between all views. Used to access OpenGL and signal a window close event and a keypress event.

Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3