2020-05-17 00:19:48 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-01-11 01:00:47 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2020-05-17 00:19:48 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2020-07-21 23:13:43 +00:00
|
|
|
#include "widgets/resettable_panel.h"
|
2020-05-17 00:19:48 +00:00
|
|
|
#include <wx/string.h>
|
2023-01-11 01:00:47 +00:00
|
|
|
#include <wx/stattext.h>
|
2020-05-17 00:19:48 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2023-01-11 01:00:47 +00:00
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/checkbox.h>
|
2020-05-17 00:19:48 +00:00
|
|
|
#include <wx/slider.h>
|
|
|
|
#include <wx/sizer.h>
|
2020-05-28 17:10:52 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2020-05-17 00:19:48 +00:00
|
|
|
#include <wx/choice.h>
|
2021-02-24 05:07:17 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/statbmp.h>
|
2020-05-17 00:19:48 +00:00
|
|
|
#include <wx/radiobut.h>
|
2021-03-01 14:11:39 +00:00
|
|
|
#include <wx/button.h>
|
2020-05-17 00:19:48 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class PANEL_MOUSE_SETTINGS_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-07-21 23:13:43 +00:00
|
|
|
class PANEL_MOUSE_SETTINGS_BASE : public RESETTABLE_PANEL
|
2020-05-17 00:19:48 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2023-01-11 01:00:47 +00:00
|
|
|
wxStaticText* m_panZoomLabel;
|
|
|
|
wxStaticLine* m_staticline1;
|
2020-05-17 00:19:48 +00:00
|
|
|
wxCheckBox* m_checkZoomCenter;
|
|
|
|
wxCheckBox* m_checkAutoPan;
|
|
|
|
wxCheckBox* m_checkZoomAcceleration;
|
2020-05-28 21:16:23 +00:00
|
|
|
wxBoxSizer* m_zoomSizer;
|
2020-05-17 00:19:48 +00:00
|
|
|
wxStaticText* m_staticText1;
|
|
|
|
wxSlider* m_zoomSpeed;
|
2020-05-28 17:10:52 +00:00
|
|
|
wxCheckBox* m_checkAutoZoomSpeed;
|
2020-05-28 21:16:23 +00:00
|
|
|
wxBoxSizer* m_panSizer;
|
2020-05-17 00:19:48 +00:00
|
|
|
wxStaticText* m_staticText22;
|
|
|
|
wxSlider* m_autoPanSpeed;
|
2023-01-11 01:00:47 +00:00
|
|
|
wxStaticText* m_dragLabel;
|
|
|
|
wxStaticLine* m_staticline3;
|
2021-01-11 11:48:51 +00:00
|
|
|
wxStaticText* m_leftButtonDragLabel;
|
|
|
|
wxChoice* m_choiceLeftButtonDrag;
|
2020-05-17 00:19:48 +00:00
|
|
|
wxStaticText* m_staticText3;
|
|
|
|
wxChoice* m_choiceMiddleButtonDrag;
|
|
|
|
wxStaticText* m_staticText31;
|
|
|
|
wxChoice* m_choiceRightButtonDrag;
|
2023-01-11 01:00:47 +00:00
|
|
|
wxStaticText* m_scrollLabel;
|
|
|
|
wxStaticLine* m_staticline2;
|
2020-05-17 00:19:48 +00:00
|
|
|
wxStaticText* m_staticText21;
|
2021-02-24 05:07:17 +00:00
|
|
|
wxStaticBitmap* m_scrollWarning;
|
2020-05-17 00:19:48 +00:00
|
|
|
wxStaticText* m_staticText19;
|
|
|
|
wxStaticText* m_staticText17;
|
|
|
|
wxStaticText* m_lblCtrl;
|
|
|
|
wxStaticText* m_staticText8;
|
|
|
|
wxStaticText* m_lblAlt;
|
|
|
|
wxStaticText* m_staticText10;
|
|
|
|
wxRadioButton* m_rbZoomNone;
|
|
|
|
wxRadioButton* m_rbZoomCtrl;
|
|
|
|
wxRadioButton* m_rbZoomShift;
|
|
|
|
wxRadioButton* m_rbZoomAlt;
|
|
|
|
wxStaticText* m_staticText11;
|
|
|
|
wxRadioButton* m_rbPanVNone;
|
|
|
|
wxRadioButton* m_rbPanVCtrl;
|
|
|
|
wxRadioButton* m_rbPanVShift;
|
|
|
|
wxRadioButton* m_rbPanVAlt;
|
|
|
|
wxStaticText* m_staticText20;
|
|
|
|
wxRadioButton* m_rbPanHNone;
|
|
|
|
wxRadioButton* m_rbPanHCtrl;
|
|
|
|
wxRadioButton* m_rbPanHShift;
|
|
|
|
wxRadioButton* m_rbPanHAlt;
|
|
|
|
wxCheckBox* m_checkEnablePanH;
|
2021-03-01 14:11:39 +00:00
|
|
|
wxButton* m_mouseDefaults;
|
|
|
|
wxButton* m_trackpadDefaults;
|
2020-05-17 00:19:48 +00:00
|
|
|
|
2021-09-09 17:46:52 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2020-05-17 00:19:48 +00:00
|
|
|
virtual void OnScrollRadioButton( wxCommandEvent& event ) { event.Skip(); }
|
2021-03-01 14:11:39 +00:00
|
|
|
virtual void onMouseDefaults( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onTrackpadDefaults( wxCommandEvent& event ) { event.Skip(); }
|
2020-05-17 00:19:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2021-01-11 11:48:51 +00:00
|
|
|
PANEL_MOUSE_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
2022-09-25 14:23:51 +00:00
|
|
|
|
2020-05-17 00:19:48 +00:00
|
|
|
~PANEL_MOUSE_SETTINGS_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|