]> git.decadent.org.uk Git - ion3.git/blob - ioncore/fullscreen.h
4d70aff89c4dd34dc9ffc8b347297a174c5e132e
[ion3.git] / ioncore / fullscreen.h
1 /*
2  * ion/ioncore/fullscreen.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2008. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_FULLSCREEN_H
10 #define ION_IONCORE_FULLSCREEN_H
11
12 #include <libtu/setparam.h>
13 #include "common.h"
14 #include "screen.h"
15 #include "clientwin.h"
16
17 #define REGION_IS_FULLSCREEN(REG) OBJ_IS(REGION_PARENT(REG), WScreen)
18
19 extern WScreen *clientwin_fullscreen_chkrq(WClientWin *cwin, int w, int h);
20 extern bool clientwin_fullscreen_may_switchto(WClientWin *cwin);
21
22 extern bool region_fullscreen_scr(WRegion *reg, WScreen *vp, bool switchto);
23 extern bool region_enter_fullscreen(WRegion *reg, bool switchto);
24 extern bool region_leave_fullscreen(WRegion *reg, bool switchto);
25
26
27 #endif /* ION_IONCORE_FULLSCREEN_H */