KiCad PCB EDA Suite
dialog_modedit_display_options.h
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2017-2018 KiCad Developers, see AUTHORS.txt for contributors.
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation, either version 3 of the License, or (at your
9  * option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #include <dialog_shim.h>
21 
22 class GAL_OPTIONS_PANEL;
24 class STEPPED_SLIDER;
25 class wxCheckBox;
26 
28 {
29 public:
31 
32  static bool Invoke( FOOTPRINT_EDIT_FRAME& aCaller );
33 
34 protected:
35  void OnScaleSlider( wxScrollEvent& aEvent );
36  void OnScaleAuto( wxCommandEvent& aEvent );
37 
38 private:
39 
40  bool TransferDataToWindow() override;
41  bool TransferDataFromWindow() override;
42 
44 
45  // subpanel
47 
49  wxCheckBox* m_scaleAuto;
51 };
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
static bool Invoke(FOOTPRINT_EDIT_FRAME &aCaller)
DIALOG_MODEDIT_DISPLAY_OPTIONS(FOOTPRINT_EDIT_FRAME &aParent)
Customized wxSlider with forced stepping.