X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxColourSelectorButton.cxx;h=042b494e5ba26aff2b61eefc6af321e638250c3e;hb=b7dd1ccf2db9c018dabadd835739aba15f3664ba;hp=f61de883dbe95be403088ca616044c4ae026deda;hpb=c429a5e1229f3dbc56e2d0100980c7e4a3506d89;p=bbtk.git diff --git a/packages/wx/src/bbwxColourSelectorButton.cxx b/packages/wx/src/bbwxColourSelectorButton.cxx index f61de88..042b494 100644 --- a/packages/wx/src/bbwxColourSelectorButton.cxx +++ b/packages/wx/src/bbwxColourSelectorButton.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbwxColourSelectorButton.cxx,v $ Language: C++ - Date: $Date: 2008/12/12 08:55:23 $ - Version: $Revision: 1.9 $ + Date: $Date: 2009/05/15 14:58:03 $ + Version: $Revision: 1.10 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -136,16 +136,26 @@ void wxColourPickerCtrlWidget::UpdateBox() BBTK_BLACK_BOX_IMPLEMENTATION(ColourSelectorButton,bbtk::WxBlackBox); BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,ColourSelectorButton); - void ColourSelectorButton::bbUserConstructor() - { - // Default input value - bbSetInputIn("1 1 1"); - // Initial output value = the same than input - bbSetOutputOut("1 1 1"); - // IMPORTANT : Initialize output widget to null pointer to test it after - bbSetOutputWidget(0); - } - + //----------------------------------------------------------------- + void ColourSelectorButton::bbUserSetDefaultValues() + { + // Default input value + bbSetInputIn("1 1 1"); + // Initial output value = the same than input + bbSetOutputOut("1 1 1"); + // IMPORTANT : Initialize output widget to null pointer to test it after + bbSetOutputWidget(0); + } + + //----------------------------------------------------------------- + void ColourSelectorButton::bbUserInitializeProcessing() + { + } + + //----------------------------------------------------------------- + void ColourSelectorButton::bbUserFinalizeProcessing() + { + } void ColourSelectorButton::Process() {