2 * ion/ioncore/fullscreen.h
4 * Copyright (c) Tuomo Valkonen 1999-2007.
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_may_switchto(WClientWin *cwin);
26 extern bool region_fullscreen_scr(WRegion *reg, WScreen *vp, bool switchto);
27 extern bool region_enter_fullscreen(WRegion *reg, bool switchto);
28 extern bool region_leave_fullscreen(WRegion *reg, bool switchto);
31 #endif /* ION_IONCORE_FULLSCREEN_H */