]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/wxManualPaintPanel.h
2343 creaMaracasVisu Bug New Normal Interaction between ColorLayer and manualPaint
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / wxManualPaintPanel.h
index c50729a20f5edf3d87c640251b97e4179d8f48f3..e16fe001f30063ab6dc24b0162c8d67851399d8f 100644 (file)
@@ -41,6 +41,7 @@ public:
        wxManualPaintPanel( wxWindow * parent );
        virtual ~wxManualPaintPanel( );
        //Panel Config
+       void ConfigureActiveCBButton();
        void ConfigureBrushToolRadioButton( );
        void Configure2D3DRadioButton( );
        void ConfigureBrushFormRadioButton( );
@@ -52,6 +53,7 @@ public:
        void ConfigureEditButtons( );
        //Events
        void ConnectComponents( ); //DFCH
+       void OnActive(wxCommandEvent& event);
        void OnBrushSize( wxScrollEvent& event );
        void OnSldGrayLevel( wxScrollEvent& event );
        void OnCtrTxtGrayLevel( wxCommandEvent &event );
@@ -79,29 +81,30 @@ public:
        void onMovedBar( wxCommandEvent& event );
 
 private:
-       wxStaticText *_txtBrushSize;
-       wxSlider *_sldBrushSize;
-       wxSpinCtrl *_BrushSizeCtrl;
+       wxCheckBox      *_activeCB;
+       wxStaticText    *_txtBrushSize;
+       wxSlider        *_sldBrushSize;
+       wxSpinCtrl      *_BrushSizeCtrl;
 
-       wxStaticText *_txtGrayLevel;
-       wxSlider *_sldGrayLevel;
-       wxSpinCtrl *_graylevelCtrl;
-       wxRadioBox *_rbBrushForm;
-       wxRadioBox *_rb2D3D;
-       wxRadioBox *_rbBrushTool;
+       wxStaticText    *_txtGrayLevel;
+       wxSlider        *_sldGrayLevel;
+       wxSpinCtrl      *_graylevelCtrl;
+       wxRadioBox      *_rbBrushForm;
+       wxRadioBox      *_rb2D3D;
+       wxRadioBox      *_rbBrushTool;
 
-       wxStaticText *_txtToleranceFill;
-       wxSlider *_sldToleranceFill;
-       wxSpinCtrl *_tolerancefillCtrl;
+       wxStaticText    *_txtToleranceFill;
+       wxSlider        *_sldToleranceFill;
+       wxSpinCtrl      *_tolerancefillCtrl;
 
-       wxStaticText *_txtDistanceFill;
-       wxSlider *_sldDistanceFill;
-       wxSpinCtrl *_distancefillCtrl;
+       wxStaticText    *_txtDistanceFill;
+       wxSlider        *_sldDistanceFill;
+       wxSpinCtrl      *_distancefillCtrl;
 
-       mBarRange _mBarSlices; //DFCH
-       wxButton *_btnCopy; //DFCH
-       wxButton *_btnUndo; //DFCH
-       wxButton *_btnRedo; //DFCH
+       mBarRange       *_mBarSlices; //DFCH
+       wxButton        *_btnCopy; //DFCH
+       wxButton        *_btnUndo; //DFCH
+       wxButton        *_btnRedo; //DFCH
 
        wxFlexGridSizer *_buttonsSizer; //DFCH
        wxFlexGridSizer *_FillSizer; //DFCH