source: git/src/printwx.h @ d64e7df

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernloglog-selectstereowalls-datawalls-data-hanging-as-warning
Last change on this file since d64e7df was d64e7df, checked in by Olly Betts <olly@…>, 17 years ago

Move svx_* enums into src/printwx.cc

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3320 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 2.0 KB
Line 
1/* printwx.h */
2/* Device dependent part of Survex wxWindows driver */
3/* Copyright (C) 2004 Philip Underwood
4 * Copyright (C) 2004,2005 Olly Betts
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21#include "wx.h"
22#include <wx/dialog.h>
23
24#include "avenprcore.h"
25
26class MainFrm;
27class wxComboBox;
28class wxStaticText;
29class wxSpinCtrl;
30class wxCheckBox;
31class wxSpinEvent;
32
33class svxPrintDlg : public wxDialog {
34protected:
35        layout m_layout;
36        wxComboBox* m_scale;
37        wxStaticText* m_printSize;
38        wxStaticText* m_tilttext;
39        wxSpinCtrl* m_bearing;
40        wxSpinCtrl* m_tilt;
41        wxCheckBox* m_legs;
42        wxCheckBox* m_stations;
43        wxCheckBox* m_names;
44        wxCheckBox* m_borders;
45//      wxCheckBox* m_blanks;
46        wxCheckBox* m_infoBox;
47        wxCheckBox* m_surface;
48        wxString m_File;
49        MainFrm* mainfrm;
50
51        void LayoutToUI();
52        void UIToLayout();
53        void RecalcBounds();
54 public:
55        svxPrintDlg(MainFrm* parent, const wxString & filename,
56                    const wxString & title, const wxString & datestamp,
57                    double angle, double tilt_angle,
58                    bool labels, bool crosses, bool legs, bool surf);
59        ~svxPrintDlg();
60        void OnPrint(wxCommandEvent& event);
61        void OnPreview(wxCommandEvent& event);
62        void OnPlan(wxCommandEvent&);
63        void OnElevation(wxCommandEvent&);
64        void OnChangeSpin(wxSpinEvent& event);
65        void OnChange(wxCommandEvent& event);
66        void SomethingChanged();
67 private:
68        DECLARE_EVENT_TABLE()
69};
Note: See TracBrowser for help on using the repository browser.