forked from joncampbell123/dosbox-x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenudef.h
46 lines (41 loc) · 1.75 KB
/
menudef.h
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* Copyright (C) 2002-2021 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifdef __WIN32__
#include <windows.h>
#include <windowsx.h>
#include "resource.h"
#endif
#define menu_compatible menu.compatible
#define menu_startup menu.startup
#define menu_gui menu.gui
#ifndef MENUDEF_H
#define MENUDEF_H
struct MENU_Block {
bool toggle = false; // toggle menu bar
bool startup = false; // verify if DOSBox is started with menu patch
bool hidecycles = false; // toggle cycles, fps, cpu usage information on title bar
bool showrt = false; // show realtime percentage
bool boot = false; // verify if boot is being used (if enabled, it is unable to mount drives)
bool gui = true; // enable or disable gui system (if disabled, it is unable to use/toggle menu bar)
bool resizeusing = false; // check if resizable window can be used
bool compatible = false; // compatible mode for win9x/2000 (if enabled, GUI system will be disabled)
bool maxwindow = false; // check window state
MENU_Block() {}
};
extern MENU_Block menu;
#endif /* MENUDEF_H */