From 039ac92480a09266146fc5b0c9ec67a32a2565ad Mon Sep 17 00:00:00 2001 From: saurabhb17 Date: Wed, 26 Feb 2020 16:04:40 +0530 Subject: Added secondary files --- new/sweet_editor_panel.h | 67 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 new/sweet_editor_panel.h (limited to 'new/sweet_editor_panel.h') diff --git a/new/sweet_editor_panel.h b/new/sweet_editor_panel.h new file mode 100644 index 0000000..37033f8 --- /dev/null +++ b/new/sweet_editor_panel.h @@ -0,0 +1,67 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version Jun 6 2011) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#ifndef __sweet_editor_panel__ +#define __sweet_editor_panel__ + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/////////////////////////////////////////////////////////////////////////// + + +/////////////////////////////////////////////////////////////////////////////// +/// Class SWEET_EDITOR_PANEL +/////////////////////////////////////////////////////////////////////////////// +class SWEET_EDITOR_PANEL : public wxPanel +{ + private: + + protected: + wxSplitterWindow* m_top_bottom; + wxPanel* m_panel9; + wxSplitterWindow* m_splitter3; + wxScrolledWindow* m_scrolledTextWindow; + wxTextCtrl* m_sweet_scroll_window; + wxScrolledWindow* m_gal_scrolled_window; + SCH::CANVAS* m_gal; + wxScrolledWindow* m_scrolledWindow3; + wxHtmlWindow* m_htmlWin2; + + public: + + SWEET_EDITOR_PANEL( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL ); + ~SWEET_EDITOR_PANEL(); + + void m_top_bottomOnIdle( wxIdleEvent& ) + { + m_top_bottom->SetSashPosition( 0 ); + m_top_bottom->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SWEET_EDITOR_PANEL::m_top_bottomOnIdle ), NULL, this ); + } + + void m_splitter3OnIdle( wxIdleEvent& ) + { + m_splitter3->SetSashPosition( 0 ); + m_splitter3->Disconnect( wxEVT_IDLE, wxIdleEventHandler( SWEET_EDITOR_PANEL::m_splitter3OnIdle ), NULL, this ); + } + +}; + +#endif //__sweet_editor_panel__ -- cgit