2020-07-11 17:42:00 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-08-20 01:11:22 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2020-07-11 17:42:00 +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/scrolwin.h>
|
2020-08-19 01:55:45 +00:00
|
|
|
#include <wx/gdicmn.h>
|
2020-07-11 17:42:00 +00:00
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/radiobut.h>
|
2020-08-19 01:55:45 +00:00
|
|
|
#include <wx/sizer.h>
|
2020-07-11 17:42:00 +00:00
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/collpane.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/button.h>
|
2020-08-20 01:11:22 +00:00
|
|
|
#include <wx/grid.h>
|
2020-07-11 17:42:00 +00:00
|
|
|
#include <wx/splitter.h>
|
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class APPEARANCE_CONTROLS_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class APPEARANCE_CONTROLS_BASE : public wxPanel
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxBoxSizer* m_sizerOuter;
|
|
|
|
wxNotebook* m_notebook;
|
|
|
|
wxPanel* m_panelLayers;
|
|
|
|
wxBoxSizer* m_panelLayersSizer;
|
2020-08-19 01:55:45 +00:00
|
|
|
wxScrolledCanvas* m_windowLayers;
|
2020-07-11 17:42:00 +00:00
|
|
|
wxCollapsiblePane* m_paneLayerDisplay;
|
|
|
|
wxStaticText* m_staticText13;
|
|
|
|
wxRadioButton* m_rbHighContrastNormal;
|
|
|
|
wxRadioButton* m_rbHighContrastDim;
|
|
|
|
wxRadioButton* m_rbHighContrastOff;
|
|
|
|
wxStaticLine* m_staticline5;
|
|
|
|
wxCheckBox* m_cbFlipBoard;
|
|
|
|
wxPanel* m_panelObjects;
|
|
|
|
wxBoxSizer* m_objectsPanelSizer;
|
2020-08-19 01:55:45 +00:00
|
|
|
wxScrolledCanvas* m_windowObjects;
|
2020-07-11 17:42:00 +00:00
|
|
|
wxPanel* m_panelNetsAndClasses;
|
|
|
|
wxSplitterWindow* m_netsTabSplitter;
|
|
|
|
wxPanel* m_panelNets;
|
2020-08-22 11:26:00 +00:00
|
|
|
wxStaticText* m_staticTextNets;
|
2020-07-11 17:42:00 +00:00
|
|
|
wxTextCtrl* m_txtNetFilter;
|
|
|
|
wxBitmapButton* m_btnNetInspector;
|
2020-08-20 01:11:22 +00:00
|
|
|
wxGrid* m_netsGrid;
|
2020-07-11 17:42:00 +00:00
|
|
|
wxPanel* m_panelNetclasses;
|
|
|
|
wxStaticText* m_staticText14;
|
|
|
|
wxBitmapButton* m_btnConfigureNetClasses;
|
|
|
|
wxScrolledWindow* m_netclassScrolledWindow;
|
|
|
|
wxBoxSizer* m_netclassOuterSizer;
|
|
|
|
wxCollapsiblePane* m_paneNetDisplay;
|
2020-08-22 11:26:00 +00:00
|
|
|
wxStaticText* m_staticTextNetDsplayTitle;
|
2020-07-11 17:42:00 +00:00
|
|
|
wxRadioButton* m_rbNetColorAll;
|
2020-08-15 22:26:37 +00:00
|
|
|
wxRadioButton* m_rbNetColorRatsnest;
|
|
|
|
wxRadioButton* m_rbNetColorOff;
|
2020-08-19 10:31:20 +00:00
|
|
|
wxStaticText* presetsLabel;
|
|
|
|
wxStaticText* presetsHotkey;
|
2020-07-11 17:42:00 +00:00
|
|
|
wxChoice* m_cbLayerPresets;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2020-08-19 01:55:45 +00:00
|
|
|
virtual void OnSetFocus( wxFocusEvent& event ) { event.Skip(); }
|
2020-08-20 01:11:22 +00:00
|
|
|
virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
|
2020-07-11 17:42:00 +00:00
|
|
|
virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnLayerDisplayPaneChanged( wxCollapsiblePaneEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFlipBoardChecked( wxCommandEvent& event ) { event.Skip(); }
|
2020-08-20 01:11:22 +00:00
|
|
|
virtual void OnNetGridClick( wxGridEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnNetGridDoubleClick( wxGridEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnNetGridRightClick( wxGridEvent& event ) { event.Skip(); }
|
2020-07-11 17:42:00 +00:00
|
|
|
virtual void OnNetDisplayPaneChanged( wxCollapsiblePaneEvent& event ) { event.Skip(); }
|
2020-08-16 21:07:21 +00:00
|
|
|
virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2020-08-23 23:41:14 +00:00
|
|
|
APPEARANCE_CONTROLS_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 );
|
2020-07-11 17:42:00 +00:00
|
|
|
~APPEARANCE_CONTROLS_BASE();
|
|
|
|
|
|
|
|
void m_netsTabSplitterOnIdle( wxIdleEvent& )
|
|
|
|
{
|
|
|
|
m_netsTabSplitter->SetSashPosition( 300 );
|
|
|
|
m_netsTabSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|