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>
|
2020-09-04 17:42:04 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
2020-07-11 17:42:00 +00:00
|
|
|
#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>
|
2020-08-19 01:55:45 +00:00
|
|
|
#include <wx/sizer.h>
|
2020-07-11 17:42:00 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2020-09-05 01:45:33 +00:00
|
|
|
#include <wx/stattext.h>
|
2020-07-11 17:42:00 +00:00
|
|
|
#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
|
|
|
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;
|
2020-09-05 01:45:33 +00:00
|
|
|
wxBoxSizer* m_netsTabOuterSizer;
|
2020-07-11 17:42:00 +00:00
|
|
|
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-09-04 17:42:04 +00:00
|
|
|
WX_GRID* 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;
|
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(); }
|
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-08-16 21:07:21 +00:00
|
|
|
virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2020-09-04 17:42:04 +00:00
|
|
|
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 );
|
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 );
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
|