| 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_HIGHSCORES_DIALOG_INC |
| 21 | #define OPENYAHTZEE_HIGHSCORES_DIALOG_INCcxx . . $ `src/highscores_dialog.h:21:9`! |
| 22 | |
| 23 | #include "configuration.h"cxx . . $ `<file>/src/configuration.h`/ |
| 24 | #include <wx/wx.h> |
| 25 | #include <wx/dialog.h> |
| 26 | #include <wx/listctrl.h> |
| 27 | #include <wx/spinctrl.h> |
| 28 | |
| 29 | namespace highscores_dialogcxx . . $ highscores_dialog/ { |
| 30 | |
| 31 | class HighscoresDialogcxx . . $ highscores_dialog/HighscoresDialog# : public wxDialogcxx . . $ wxDialog# |
| 32 | { |
| 33 | public: |
| 34 | HighscoresDialogcxx . . $ highscores_dialog/HighscoresDialog#HighscoresDialog(7af1d2303ce98172).(wxWindowcxx . . $ wxWindow#* parent,configurationcxx . . $ configuration/::Configurationcxx . . $ configuration/Configuration#* config, int highlight_rank = 0); |
| 35 | |
| 36 | void onClosecxx . . $ highscores_dialog/HighscoresDialog#onClose(f55e5a77ec619b42).(wxCommandEventcxx . . $ wxCommandEvent#& event); |
| 37 | void onClearcxx . . $ highscores_dialog/HighscoresDialog#onClear(f55e5a77ec619b42).(wxCommandEventcxx . . $ wxCommandEvent#& event); |
| 38 | void onConfigurecxx . . $ highscores_dialog/HighscoresDialog#onConfigure(f55e5a77ec619b42).(wxCommandEventcxx . . $ wxCommandEvent#& event); |
| 39 | void onResizecxx . . $ highscores_dialog/HighscoresDialog#onResize(2b95f7f26403c12f).(wxSizeEventcxx . . $ wxSizeEvent#& event); |
| 40 | private: |
| 41 | void createControlscxx . . $ highscores_dialog/HighscoresDialog#createControls(49f6e7a06ebc5aa8).(); |
| 42 | void loadDatacxx . . $ highscores_dialog/HighscoresDialog#loadData(49f6e7a06ebc5aa8).( ); |
| 43 | void doLayoutcxx . . $ highscores_dialog/HighscoresDialog#doLayout(49f6e7a06ebc5aa8).(); |
| 44 | void connectEventTablecxx . . $ highscores_dialog/HighscoresDialog#connectEventTable(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | int highlight_rankcxx . . $ highscores_dialog/HighscoresDialog#highlight_rank.; |
| 47 | configurationcxx . . $ configuration/::Configurationcxx . . $ configuration/Configuration#* m_configcxx . . $ highscores_dialog/HighscoresDialog#m_config.; |
| 48 | |
| 49 | wxListCtrlcxx . . $ wxListCtrl# *highscoreslistcxx . . $ highscores_dialog/HighscoresDialog#highscoreslist.; |
| 50 | }; |
| 51 | |
| 52 | |
| 53 | class HighscoresSettingsDialogcxx . . $ highscores_dialog/HighscoresSettingsDialog# : public wxDialogcxx . . $ wxDialog# |
| 54 | { |
| 55 | public: |
| 56 | HighscoresSettingsDialogcxx . . $ highscores_dialog/HighscoresSettingsDialog#HighscoresSettingsDialog(ac953e2d406b5f17).(wxWindowcxx . . $ wxWindow#* parent, configurationcxx . . $ configuration/::Configurationcxx . . $ configuration/Configuration#* config); |
| 57 | |
| 58 | void onOkcxx . . $ highscores_dialog/HighscoresSettingsDialog#onOk(f55e5a77ec619b42).(wxCommandEventcxx . . $ wxCommandEvent#& event); |
| 59 | private: |
| 60 | void doLayoutcxx . . $ highscores_dialog/HighscoresSettingsDialog#doLayout(49f6e7a06ebc5aa8).(); |
| 61 | wxSpinCtrlcxx . . $ wxSpinCtrl# *spin_ctrlcxx . . $ highscores_dialog/HighscoresSettingsDialog#spin_ctrl.; |
| 62 | |
| 63 | configurationcxx . . $ configuration/::Configurationcxx . . $ configuration/Configuration#* m_configcxx . . $ highscores_dialog/HighscoresSettingsDialog#m_config.; |
| 64 | }; |
| 65 | |
| 66 | |
| 67 | enumcxx . . $ highscores_dialog/$anonymous_type_cf211c0703317a8b_0# { |
| 68 | ID_CONFIGUREcxx . . $ highscores_dialog/ID_CONFIGURE., |
| 69 | }; |
| 70 | |
| 71 | } |
| 72 | |
| 73 | |
| 74 | #endif |