ScummVM API documentation
gui_vmng.h
1 
2 /* ScummVM - Graphic Adventure Engine
3  *
4  * ScummVM is the legal property of its developers, whose names
5  * are too numerous to list here. Please refer to the COPYRIGHT
6  * file distributed with this source distribution.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef M4_GUI_GUI_VMNG_H
24 #define M4_GUI_GUI_VMNG_H
25 
26 #include "m4/gui/gui_vmng_core.h"
27 #include "m4/gui/gui_vmng_rectangles.h"
28 #include "m4/gui/gui_vmng_screen.h"
29 
30 namespace M4 {
31 
32 enum {
33  SCRN_DLG = 0, SCRN_BUF, SCRN_TEXT, SCRN_TRANS
34 };
35 enum {
36  SCRN_ANY = 0, SCRN_ACTIVE, SCRN_INACTIVE, SCRN_UNDEFN
37 };
38 
39 #define SF_LAYER 0x000f
40 #define SF_BACKGRND 0x0000
41 #define SF_DRIFTER 0x0001
42 #define SF_FLOATER 0x0002
43 #define SF_SURFACE 0x0003
44 #define SF_MOUSE 0x000e
45 
46 #define SF_GET_NONE 0x0000
47 #define SF_GET_KEY 0x0010
48 #define SF_GET_MOUSE 0x0020
49 #define SF_GET_ALL 0x0030
50 
51 #define SF_BLOCK_NONE 0x0000
52 #define SF_BLOCK_KEY 0x0040
53 #define SF_BLOCK_MOUSE 0x0080
54 #define SF_BLOCK_ALL 0x00c0
55 
56 #define SF_IMMOVABLE 0x0100 // if set, it ain't draggable
57 #define SF_OFFSCRN 0x0200 // can be dragged off screen, if it's draggable
58 #define SF_TRANSPARENT 0x0400 // if the screen is transparent
59 
60 } // End of namespace M4
61 
62 #endif
Definition: database.h:28