rayzor
annotate src/scrman.h @ 14:a9a948809c6f
starting the renderer screen, plus misc stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Apr 2014 08:06:21 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@9 | 1 #ifndef SCREEN_MANAGER_H_ |
nuclear@9 | 2 #define SCREEN_MANAGER_H_ |
nuclear@9 | 3 |
nuclear@9 | 4 #include "screen.h" |
nuclear@9 | 5 |
nuclear@9 | 6 void add_screen(Screen *s); |
nuclear@9 | 7 Screen *get_screen(const char *name); |
nuclear@9 | 8 |
nuclear@9 | 9 void destroy_screens(); // destroy all managed screens |
nuclear@9 | 10 |
nuclear@9 | 11 // active screen stack |
nuclear@9 | 12 void activate_screen(Screen *s); |
nuclear@9 | 13 Screen *deactivate_screen(); |
nuclear@9 | 14 Screen *active_screen(); |
nuclear@9 | 15 |
nuclear@9 | 16 #endif // SCREEN_MANAGER_H_ |