]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/wxManualPaintPanel.h
DFCH: Undo/Redo 60% :) :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / wxManualPaintPanel.h
index e52f412dbab4b4d6b992724303767fe29f236b47..4a2afc72e7a309b032fbefed12470d356be2ecfa 100644 (file)
@@ -2,6 +2,10 @@
 #define _WX_MANUAL_PAINT_PANEL_H_
 
 #include "ManualPaintPanel.h"
+
+#include "mBarRange.h" //DFCH
+#include "creaWx.h" //DFCH
+
 #include <wx/wx.h>
 #include <wx/panel.h>
 
@@ -17,16 +21,46 @@ public:
     void OnBrushTool(wxCommandEvent &event);
     void OnCopy(wxCommandEvent &event);
     void OnUndo(wxCommandEvent &event);
-
+    void DisableControls();
+    void OnSldToleranceFill(wxScrollEvent& event);
+    void OnCtrTxtToleranceFill(wxCommandEvent &event);
+    void OnSldDistanceFill(wxScrollEvent& event);
+    void OnCtrTxtDistanceFill(wxCommandEvent &event);
+    //This method changes the min/max in the Selected Range Widget
+    //--------------------------------------------------------------------------------------------------------------------------------
+    // Min-Max Barrange received events
+     //--------------------------------------------------------------------------------------------------------------------------------
+    void onBarrange(wxCommandEvent& event);
+    void onActualChange_Bar(wxCommandEvent& event);
+    void onStartChange_Bar(wxCommandEvent& event);
+    void onEndChange_Bar(wxCommandEvent& event);
+    void onSelectionEnd(wxCommandEvent& event);
+    void onMovedBar(wxCommandEvent& event);
 
 private:
+    wxStaticText    *_txtBrushSize;
     wxSlider        *_sldBrushSize;
+
     wxSlider        *_sldGrayLevel;
     wxTextCtrl      *_graylevelCtrl;
     wxRadioBox      *_rbBrushForm;
     wxRadioBox      *_rb2D3D;
     wxRadioBox      *_rbBrushTool;
 
+    wxStaticText    *_txtToleranceFill;
+    wxSlider        *_sldToleranceFill;
+    wxTextCtrl      *_tolerancefillCtrl;
+
+       wxStaticText    *_txtDistanceFill;
+    wxSlider        *_sldDistanceFill;
+    wxTextCtrl      *_distancefillCtrl;
+
+    mBarRange * _mBarSlices; //DFCH
+
+
+
+
+
 protected:
 
 };