rayzor
annotate src/scrman.h @ 9:70e332156d02
moving along
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 10 Apr 2014 02:31:31 +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_ |