1 /////////////////////////////////////////////////////////////////////////// 2 // C++ code generated with wxFormBuilder (version Mar 8 2013) 3 // http://www.wxformbuilder.org/ 4 // 5 // PLEASE DO "NOT" EDIT THIS FILE! 6 /////////////////////////////////////////////////////////////////////////// 7 8 #ifndef __HEXEDITORCTRLGUI_H__ 9 #define __HEXEDITORCTRLGUI_H__ 10 11 #include <wx/artprov.h> 12 #include <wx/xrc/xmlres.h> 13 class wxHexCtrl; 14 class wxHexOffsetCtrl; 15 class wxHexTextCtrl; 16 17 #include <wx/string.h> 18 #include <wx/stattext.h> 19 #include <wx/gdicmn.h> 20 #include <wx/font.h> 21 #include <wx/colour.h> 22 #include <wx/settings.h> 23 #include <wx/textctrl.h> 24 #include <wx/scrolbar.h> 25 #include <wx/sizer.h> 26 #include <wx/panel.h> 27 28 #include "wxHexCtrl/wxHexCtrl.h" 29 30 /////////////////////////////////////////////////////////////////////////// 31 32 #define ID_DEFAULT wxID_ANY // Default 33 #define ID_HEXBOX 1000 34 #define ID_TEXTBOX 1001 35 36 /////////////////////////////////////////////////////////////////////////////// 37 /// Class HexEditorCtrlGui 38 /////////////////////////////////////////////////////////////////////////////// 39 class HexEditorCtrlGui : public wxPanel 40 { 41 private: 42 43 protected: 44 wxStaticText* m_static_offset; 45 wxStaticText* m_static_address; 46 wxStaticText* m_static_byteview; 47 wxStaticText* m_static_null; 48 wxHexOffsetCtrl* offset_ctrl; 49 wxHexCtrl* hex_ctrl; 50 wxHexTextCtrl* text_ctrl; 51 52 // Virtual event handlers, overide them in your derived class OnKeyboardChar(wxKeyEvent & event)53 virtual void OnKeyboardChar( wxKeyEvent& event ) { event.Skip(); } OnResize(wxSizeEvent & event)54 virtual void OnResize( wxSizeEvent& event ) { event.Skip(); } OnOffsetScroll(wxScrollEvent & event)55 virtual void OnOffsetScroll( wxScrollEvent& event ) { event.Skip(); } 56 57 58 public: 59 wxScrollBar* offset_scroll_real; 60 61 HexEditorCtrlGui( wxWindow* parent, wxWindowID id = ID_DEFAULT, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL ); 62 ~HexEditorCtrlGui(); 63 64 }; 65 66 #endif //__HEXEDITORCTRLGUI_H__ 67