File: fullscreen.h

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (27 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * ion/ioncore/fullscreen.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2007.
 *
 * See the included file LICENSE for details.
 */

#ifndef ION_IONCORE_FULLSCREEN_H
#define ION_IONCORE_FULLSCREEN_H

#include <libtu/setparam.h>
#include "common.h"
#include "screen.h"
#include "clientwin.h"

#define REGION_IS_FULLSCREEN(REG) OBJ_IS(REGION_PARENT(REG), WScreen)

extern WScreen *clientwin_fullscreen_chkrq(WClientWin *cwin, int w, int h);
extern bool clientwin_fullscreen_may_switchto(WClientWin *cwin);

extern bool region_fullscreen_scr(WRegion *reg, WScreen *vp, bool switchto);
extern bool region_enter_fullscreen(WRegion *reg, bool switchto);
extern bool region_leave_fullscreen(WRegion *reg, bool switchto);


#endif /* ION_IONCORE_FULLSCREEN_H */