111 lines
3.7 KiB
C++
111 lines
3.7 KiB
C++
///////////////////////////////////////////////////////////////////////////
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
|
// http://www.wxformbuilder.org/
|
|
//
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include <wx/artprov.h>
|
|
#include <wx/xrc/xmlres.h>
|
|
class WX_GRID;
|
|
|
|
#include <wx/scrolwin.h>
|
|
#include <wx/gdicmn.h>
|
|
#include <wx/font.h>
|
|
#include <wx/colour.h>
|
|
#include <wx/settings.h>
|
|
#include <wx/string.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/radiobut.h>
|
|
#include <wx/sizer.h>
|
|
#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>
|
|
#include <wx/grid.h>
|
|
#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;
|
|
wxScrolledCanvas* m_windowLayers;
|
|
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;
|
|
wxScrolledCanvas* m_windowObjects;
|
|
wxPanel* m_panelNetsAndClasses;
|
|
wxSplitterWindow* m_netsTabSplitter;
|
|
wxPanel* m_panelNets;
|
|
wxStaticText* m_staticTextNets;
|
|
wxTextCtrl* m_txtNetFilter;
|
|
wxBitmapButton* m_btnNetInspector;
|
|
WX_GRID* m_netsGrid;
|
|
wxPanel* m_panelNetclasses;
|
|
wxStaticText* m_staticText14;
|
|
wxBitmapButton* m_btnConfigureNetClasses;
|
|
wxScrolledWindow* m_netclassScrolledWindow;
|
|
wxBoxSizer* m_netclassOuterSizer;
|
|
wxCollapsiblePane* m_paneNetDisplay;
|
|
wxStaticText* m_staticTextNetDsplayTitle;
|
|
wxRadioButton* m_rbNetColorAll;
|
|
wxRadioButton* m_rbNetColorRatsnest;
|
|
wxRadioButton* m_rbNetColorOff;
|
|
wxStaticText* presetsLabel;
|
|
wxStaticText* presetsHotkey;
|
|
wxChoice* m_cbLayerPresets;
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
virtual void OnSetFocus( wxFocusEvent& event ) { event.Skip(); }
|
|
virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
|
|
virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
|
|
virtual void OnLayerDisplayPaneChanged( wxCollapsiblePaneEvent& event ) { event.Skip(); }
|
|
virtual void OnFlipBoardChecked( wxCommandEvent& event ) { event.Skip(); }
|
|
virtual void OnNetGridClick( wxGridEvent& event ) { event.Skip(); }
|
|
virtual void OnNetGridDoubleClick( wxGridEvent& event ) { event.Skip(); }
|
|
virtual void OnNetGridRightClick( wxGridEvent& event ) { event.Skip(); }
|
|
virtual void OnNetDisplayPaneChanged( wxCollapsiblePaneEvent& event ) { event.Skip(); }
|
|
virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
public:
|
|
|
|
APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 215,400 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
|
~APPEARANCE_CONTROLS_BASE();
|
|
|
|
void m_netsTabSplitterOnIdle( wxIdleEvent& )
|
|
{
|
|
m_netsTabSplitter->SetSashPosition( 300 );
|
|
m_netsTabSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
|
|
}
|
|
|
|
};
|
|
|