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. | |
| 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.
synchronization between all views. Used to access OpenGL and signal a window close event and a keypress event.
1.6.3