2 * ion/ioncore/fullscreen.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
9 #ifndef ION_IONCORE_FULLSCREEN_H
10 #define ION_IONCORE_FULLSCREEN_H
12 #include <libtu/setparam.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 */