1 | // |
---|
2 | // stnprefs.h |
---|
3 | // |
---|
4 | // Preferences page for stations. |
---|
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
21 | // |
---|
22 | |
---|
23 | #ifndef stnprefs_h |
---|
24 | #define stnprefs_h |
---|
25 | |
---|
26 | #include "paneldlgpage.h" |
---|
27 | #include "aven.h" |
---|
28 | |
---|
29 | class GfxCore; |
---|
30 | |
---|
31 | class StnPrefs : public PanelDlgPage { |
---|
32 | GfxCore* m_Parent; |
---|
33 | |
---|
34 | DECLARE_EVENT_TABLE() |
---|
35 | |
---|
36 | public: |
---|
37 | StnPrefs(GfxCore* parent, wxWindow* parent_win); |
---|
38 | virtual ~StnPrefs(); |
---|
39 | |
---|
40 | const wxString GetName(); |
---|
41 | const wxBitmap GetIcon(); |
---|
42 | |
---|
43 | void OnShowCrosses(wxCommandEvent&); |
---|
44 | void OnHighlightEntrances(wxCommandEvent&); |
---|
45 | void OnHighlightFixedPts(wxCommandEvent&); |
---|
46 | void OnHighlightExportedPts(wxCommandEvent&); |
---|
47 | void OnNames(wxCommandEvent&); |
---|
48 | void OnOverlappingNames(wxCommandEvent&); |
---|
49 | |
---|
50 | void OnShowCrossesUpdate(wxUpdateUIEvent&); |
---|
51 | void OnHighlightEntrancesUpdate(wxUpdateUIEvent&); |
---|
52 | void OnHighlightFixedPtsUpdate(wxUpdateUIEvent&); |
---|
53 | void OnHighlightExportedPtsUpdate(wxUpdateUIEvent&); |
---|
54 | void OnNamesUpdate(wxUpdateUIEvent&); |
---|
55 | void OnOverlappingNamesUpdate(wxUpdateUIEvent&); |
---|
56 | }; |
---|
57 | |
---|
58 | #endif |
---|