00001 #ifndef __wxContour_ButtonsBar_h_INCLUDED_H__ 00002 #define __wxContour_ButtonsBar_h_INCLUDED_H__ 00003 00004 00005 // ----------------------------------------------------------------------------------------------------------- 00006 // WX headers inclusion. 00007 // For compilers that support precompilation, includes <wx/wx.h>. 00008 // ----------------------------------------------------------------------------------------------------------- 00009 00010 #include <wx/wxprec.h> 00011 #ifdef __BORLANDC__ 00012 #pragma hdrstop 00013 #endif 00014 #ifndef WX_PRECOMP 00015 #include <wx/wx.h> 00016 #endif 00017 00018 00019 00020 //------------------------------------------------------------------------------------------------------------ 00021 // Includes 00022 //------------------------------------------------------------------------------------------------------------ 00023 #include <wx/event.h> 00024 00025 //------------------------------------------------------------------------------------------------------------ 00026 // Events declaration 00027 //------------------------------------------------------------------------------------------------------------ 00028 /*BEGIN_DECLARE_EVENT_TYPES() 00029 DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 00030 END_DECLARE_EVENT_TYPES()*/ 00031 00034 //------------------------------------------------------------------------------------------------------------ 00035 // Class definition 00036 //------------------------------------------------------------------------------------------------------------ 00037 class wxContour_ButtonsBar : public /*wxToolBar {*/wxPanel { 00038 00039 public: 00040 00041 //------------------------------------------------------------------------------------------------------------ 00042 // Constructors & Destructors 00043 //------------------------------------------------------------------------------------------------------------ 00044 wxContour_ButtonsBar( wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTB_HORIZONTAL | wxNO_BORDER, const wxString& name = wxPanelNameStr ); 00045 00046 ~wxContour_ButtonsBar( ); 00047 00048 //------------------------------------------------------------------------------------------------------------ 00049 // Methods for capturing events 00050 //------------------------------------------------------------------------------------------------------------ 00051 00052 void onActionButtonPressed( wxCommandEvent& event); 00053 00054 //------------------------------------------------------------------------------------------------------------ 00055 // Methods for sending events 00056 //------------------------------------------------------------------------------------------------------------ 00057 void sendEnvent( WXTYPE theEventType ); 00058 00059 //------------------------------------------------------------------------------------------------------------ 00060 // Attributes getters and setters 00061 //------------------------------------------------------------------------------------------------------------ 00062 00063 void setWxEventHandler( wxEvtHandler * theEventHandler ); 00064 00065 //------------------------------------------------------------------------------------------------------------ 00066 // Other functional methods 00067 //------------------------------------------------------------------------------------------------------------ 00068 00069 private: 00070 //------------------------------------------------------------------------------------------------------------ 00071 // Private methods 00072 //------------------------------------------------------------------------------------------------------------ 00073 00074 //------------------------------------------------------------------------------------------------------------ 00075 // Creational and initialization methods 00076 //------------------------------------------------------------------------------------------------------------ 00077 00078 //------------------------------------------------------------------------------------------------------------ 00079 // Attributtes 00080 //------------------------------------------------------------------------------------------------------------ 00081 00082 wxEvtHandler * _eventHandler; 00083 00084 wxButton * _createContour_Button; 00085 wxButton * _delete_Button; 00086 wxButton * _hideContour_Button; 00087 wxButton * _show_Button; 00088 wxButton * _copy_Button; 00089 wxButton * _paste_Button; 00090 wxButton * _change_Button; 00091 wxButton * _spread_Button; 00092 wxButton * _select_Button; 00093 wxButton * _edit_Button; 00094 wxButton * _undo_Button; 00095 wxButton * _redo_Button; 00096 wxButton * _save_Button; 00097 wxButton * _open_Button; 00098 wxButton * _automatiqueSegmentation_Button; 00099 wxButton * _informationContour_Button; 00100 wxButton * _interfaceConfiguration_Button; 00101 wxButton * _interfaceTest_Button; 00102 }; 00103 00104 #endif // __wxContour_ButtonsBar_HEADER_FILE__