RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereostereo-2025walls-datawalls-data-hanging-as-warningwarn-only-for-hanging-survey
| Line | |
|---|
| 1 | // |
|---|
| 2 | // paneldlg.h |
|---|
| 3 | // |
|---|
| 4 | // Dialog boxes with multiple pages and a selector panel. |
|---|
| 5 | // |
|---|
| 6 | // Copyright (C) 2002 Mark R. Shinwell |
|---|
| 7 | // |
|---|
| 8 | // This program is free software; you can redistribute it and/or modify |
|---|
| 9 | // it under the terms of the GNU General Public License as published by |
|---|
| 10 | // the Free Software Foundation; either version 2 of the License, or |
|---|
| 11 | // (at your option) any later version. |
|---|
| 12 | // |
|---|
| 13 | // This program is distributed in the hope that it will be useful, |
|---|
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 16 | // GNU General Public License for more details. |
|---|
| 17 | // |
|---|
| 18 | // You should have received a copy of the GNU General Public License |
|---|
| 19 | // along with this program; if not, write to the Free Software |
|---|
| 20 | // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 21 | // |
|---|
| 22 | |
|---|
| 23 | #ifndef paneldlg_h |
|---|
| 24 | #define paneldlg_h |
|---|
| 25 | |
|---|
| 26 | #include "wx.h" |
|---|
| 27 | #include "paneldlgpage.h" |
|---|
| 28 | |
|---|
| 29 | #include <list> |
|---|
| 30 | |
|---|
| 31 | using namespace std; |
|---|
| 32 | |
|---|
| 33 | class PanelDlg : public wxDialog { |
|---|
| 34 | wxBoxSizer* m_VertSizer; |
|---|
| 35 | wxBoxSizer* m_ButtonSizer; |
|---|
| 36 | list<PanelDlgPage*> m_Pages; |
|---|
| 37 | PanelDlgPage* m_CurrentPage; |
|---|
| 38 | |
|---|
| 39 | void PositionPage(); |
|---|
| 40 | |
|---|
| 41 | public: |
|---|
| 42 | PanelDlg(wxWindow* parent, wxWindowID id, const wxString& title); |
|---|
| 43 | virtual ~PanelDlg(); |
|---|
| 44 | |
|---|
| 45 | void OnPageChange(wxCommandEvent&); |
|---|
| 46 | void SetPages(list<PanelDlgPage*> pages); |
|---|
| 47 | |
|---|
| 48 | DECLARE_EVENT_TABLE() |
|---|
| 49 | }; |
|---|
| 50 | |
|---|
| 51 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.