kobodl/options.h
Ville Lindholm dbc223eb84
Initial commit
Import existing source tree; original VCS history is no longer available.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-28 16:35:31 +03:00

76 lines
1.6 KiB
C++

/*(GPL)
------------------------------------------------------------
Kobo Deluxe - An enhanced SDL port of XKobo
------------------------------------------------------------
* Copyright (C) 2001, 2003, 2007 David Olofson
*
* 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.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _KOBO_OPTIONS_H_
#define _KOBO_OPTIONS_H_
#include "cfgform.h"
#include "vidmodes.h"
class system_options_t : public config_form_t
{
public:
void build();
};
class video_options_t : public config_form_t
{
int showmodes;
int showlow;
int firstbuild;
public:
video_options_t()
{
showmodes = VMM_PC;
showlow = 0;
firstbuild = 1;
}
void build();
};
class graphics_options_t : public config_form_t
{
public:
void build();
};
class audio_options_t : public config_form_t
{
public:
void build();
void undo_hook();
};
class control_options_t : public config_form_t
{
public:
void build();
};
class game_options_t : public config_form_t
{
public:
void build();
void undo_hook();
};
#endif //_KOBO_OPTIONS_H_