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