Files
dosbox-x/include/menudef.h

47 lines
1.8 KiB
C

/*
* 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 */