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=cf3441d4938dab199cd5fb8ada9e3889ccfd4de0;hpb=da163855471fe218bef04ee518b126fc066d24aa;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 cf3441d..b1450db 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mBarRange2.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mBarRange2.h @@ -38,27 +38,23 @@ #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,7 +67,7 @@ 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()