wxManualPaintPanel( wxWindow * parent );
virtual ~wxManualPaintPanel( );
//Panel Config
+ void ConfigureActiveCBButton();
void ConfigureBrushToolRadioButton( );
void Configure2D3DRadioButton( );
void ConfigureBrushFormRadioButton( );
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 );
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