]> git.decadent.org.uk Git - ion3.git/blob - ioncore/fullscreen.h
[svn-inject] Installing original source of ion3
[ion3.git] / ioncore / fullscreen.h
1 /*
2  * ion/ioncore/fullscreen.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2006. 
5  *
6  * Ion is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifndef ION_IONCORE_FULLSCREEN_H
13 #define ION_IONCORE_FULLSCREEN_H
14
15 #include <libtu/setparam.h>
16 #include "common.h"
17 #include "screen.h"
18 #include "clientwin.h"
19
20 #define REGION_IS_FULLSCREEN(REG) OBJ_IS(REGION_PARENT(REG), WScreen)
21
22 extern bool clientwin_check_fullscreen_request(WClientWin *cwin, 
23                                                int w, int h, bool switchto);
24 extern bool clientwin_fullscreen_scr(WClientWin *cwin, WScreen *vp,
25                                      bool switchto);
26 extern bool clientwin_enter_fullscreen(WClientWin *cwin, bool switchto);
27 extern bool clientwin_leave_fullscreen(WClientWin *cwin, bool switchto);
28 extern bool clientwin_set_fullscreen(WClientWin *cwin, int sp);
29 extern bool clientwin_is_fullscreen(WClientWin *cwin);
30 extern bool clientwin_fullscreen_may_switchto(WClientWin *cwin);
31
32 #endif /* ION_IONCORE_FULLSCREEN_H */