2 * ion/ioncore/fullscreen.h
4 * Copyright (c) Tuomo Valkonen 1999-2006.
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.
12 #ifndef ION_IONCORE_FULLSCREEN_H
13 #define ION_IONCORE_FULLSCREEN_H
15 #include <libtu/setparam.h>
18 #include "clientwin.h"
20 #define REGION_IS_FULLSCREEN(REG) OBJ_IS(REGION_PARENT(REG), WScreen)
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,
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);
32 #endif /* ION_IONCORE_FULLSCREEN_H */