source: trunk/OpenYahtzee/src/SettingsDialog.h @ 9

Last change on this file since 9 was 9, checked in by guyru, 7 years ago

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1/***************************************************************************
2 *   Copyright (C) 2006 by Guy Rutenberg   *
3 *   guy@Guy_Computer   *
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
21// -*- C++ -*- generated by wxGlade 0.4 on Wed Oct 11 10:39:57 2006
22//this file was originally base on the output of wxGlades but i had to make many changes - Guy
23
24#include <wx/wx.h>
25// begin wxGlade: ::dependencies
26// end wxGlade
27#include <wx/spinctrl.h>
28#include "ObjectsID.h"
29
30
31#ifndef SETTINGSDIALOG_H
32#define SETTINGSDIALOG_H
33
34struct SettingsDialogData {
35        int highscoresize;
36};
37
38class SettingsDialog: public wxDialog {
39public:
40    // begin wxGlade: SettingsDialog::ids
41    // end wxGlade
42
43    SettingsDialog(wxWindow* parent, int id);
44       
45        SettingsDialogData GetData();
46        void SetData(SettingsDialogData data);
47       
48        void OnResetHighScore(wxCommandEvent& event);
49private:
50    // begin wxGlade: SettingsDialog::methods
51    void set_properties();
52    void do_layout();
53    // end wxGlade
54        void ConnectEventTable();
55
56protected:
57    // begin wxGlade: SettingsDialog::attributes
58    wxStaticText* label_1;
59    wxSpinCtrl* spin_ctrl;
60    wxButton* button_3;
61    wxButton* button_1;
62    wxButton* button_2;
63    // end wxGlade
64}; // wxGlade: end class
65
66
67#endif // SETTINGSDIALOG_H
Note: See TracBrowser for help on using the repository browser.