Only define LUA when lua is actually on the PATH
[notion/jeffpc.git] / ioncore / fullscreen.h
blob45a0a085796a12a3ceddac72b8b62f5ddc3dcd22
1 /*
2 * ion/ioncore/fullscreen.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_FULLSCREEN_H
10 #define ION_IONCORE_FULLSCREEN_H
12 #include <libtu/setparam.h>
13 #include "common.h"
14 #include "screen.h"
15 #include "clientwin.h"
17 #define REGION_IS_FULLSCREEN(REG) OBJ_IS(REGION_PARENT(REG), WScreen)
19 extern WScreen *clientwin_fullscreen_chkrq(WClientWin *cwin, int w, int h);
20 extern bool clientwin_fullscreen_may_switchto(WClientWin *cwin);
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);
27 #endif /* ION_IONCORE_FULLSCREEN_H */