rayzor

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/scrman.h	Thu Apr 10 02:31:31 2014 +0300
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef SCREEN_MANAGER_H_
     1.5 +#define SCREEN_MANAGER_H_
     1.6 +
     1.7 +#include "screen.h"
     1.8 +
     1.9 +void add_screen(Screen *s);
    1.10 +Screen *get_screen(const char *name);
    1.11 +
    1.12 +void destroy_screens();	// destroy all managed screens
    1.13 +
    1.14 +// active screen stack
    1.15 +void activate_screen(Screen *s);
    1.16 +Screen *deactivate_screen();
    1.17 +Screen *active_screen();
    1.18 +
    1.19 +#endif	// SCREEN_MANAGER_H_