X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FmBarRange2.h;h=b1450dbcd9487ddeb470675a43e7258ed39edc44;hb=80b04dc9e3b981e24fe9ae0d81cdeb8af6e6f8c1;hp=e883c986889ceceadf2bac1d74552b5a4df73574;hpb=4ecb6789d069c8dcd40724f03d8225c25629cd52;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mBarRange2.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mBarRange2.h index e883c98..b1450db 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mBarRange2.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mBarRange2.h @@ -35,30 +35,26 @@ * \brief */ -#ifndef __ThresholdImageViewPanel_h__ -#define __ThresholdImageViewPanel_h__ - +#ifndef __mBarRange2_h__ +#define __mBarRange2_h__ #include #include #include "mBarRange.h" - BEGIN_DECLARE_EVENT_TYPES() DECLARE_EVENT_TYPE(wxEVT_BarRange2_Change,-1) END_DECLARE_EVENT_TYPES() - - class mBarRange2 : public wxPanel { public: mBarRange2(wxWindow * parent,int width, int height); ~mBarRange2(); - void onTxtCtrl(wxCommandEvent& event); - void SetMinMaxValue(double,double); - void SetScalarType(int); + void onTxtCtrl(wxCommandEvent& event); + void SetMinMaxValue(double,double); + void SetScalarType(int); double GetStartValue(); double GetEndValue(); private: @@ -71,12 +67,12 @@ END_DECLARE_EVENT_TYPES() wxTextCtrl *_textctrlStart; wxTextCtrl *_textctrlEnd; void onBarRangeChange(wxCommandEvent& event); - wxString CleanNumberStr(wxString string); + wxString CleanNumberStr(wxString string); void RefreshTextCntrl(); void createAndSendEvent(WXTYPE theEventType); DECLARE_EVENT_TABLE() }; -#endif +#endif //__mBarRange2_h__