Debian Codegraph @

src/settings_dialog.h

raw symbols SCIP
1 /***************************************************************************
2 * Copyright (C) 2006-2008 by Guy Rutenberg *
3 * [email protected] *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
20 #ifndef OPENYAHTZEE_SETTINGS_DIALOG_INC
21 #define OPENYAHTZEE_SETTINGS_DIALOG_INC
22
23 #include <wx/wx.h>
24 #include "configuration.h"
25
26 namespace settings_dialog {
27
28 class SettingsDialog: public wxDialog {
29 public:
30 SettingsDialog(wxWindow* parent, configuration::Configuration* config);
31
32 void onOK (wxCommandEvent& event);
33 private:
34 void connectEventTable();
35 void createControls();
36 void loadSettings();
37 void doLayout();
38
39 configuration::Configuration *m_config;
40
41 wxCheckBox* animate_checkbox;
42 wxCheckBox* subtotal_checkbox;
43 wxCheckBox* score_hints_checkbox;
44 wxCheckBox* horizontal_checkbox;
45
46 };
47 }
48 #endif // OPENYAHTZEE_SETTINGS_DIALOG_INC
49