X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxCommandButton.h;h=6b2313a26a371f1822e7a5a0984ef72e5297e1ff;hb=e6b2de923e0e69c303c7d18fb8a5c1970541bb3a;hp=1c4374d9c6e6d14616bfbcdfeda4ad8d6fccbeb1;hpb=888f2592d143847b6598d947cd037162c4fb90c6;p=bbtk.git diff --git a/packages/wx/src/bbwxCommandButton.h b/packages/wx/src/bbwxCommandButton.h index 1c4374d..6b2313a 100644 --- a/packages/wx/src/bbwxCommandButton.h +++ b/packages/wx/src/bbwxCommandButton.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbwxCommandButton.h,v $ Language: C++ - Date: $Date: 2008/02/15 12:47:18 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/07/25 07:44:12 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -14,7 +14,8 @@ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. -=========================================================================*//** +=========================================================================*/ +/** * \brief Short description in one line * * Long description which @@ -67,7 +68,7 @@ namespace bbwx class /*BBTK_EXPORT*/ CommandButton : public bbtk::WxBlackBox { friend class CommandButtonWidget; - BBTK_USER_BLACK_BOX_INTERFACE(CommandButton,bbtk::WxBlackBox); + BBTK_BLACK_BOX_INTERFACE(CommandButton,bbtk::WxBlackBox); BBTK_DECLARE_INPUT(In, std::string ); BBTK_DECLARE_INPUT(Label, std::string ); BBTK_DECLARE_INPUT(Colour, std::vector ); @@ -94,9 +95,9 @@ namespace bbwx typedef std::vector vectorcolour; - BBTK_INPUT(CommandButton,In,"Commands to be executed separated by commas (;). Each single quote (') is replaced by a double quote (\").",std::string); - BBTK_INPUT(CommandButton,Label,"Label of the button",std::string); - BBTK_INPUT(CommandButton,Colour,"Colour of the button (-1 -1 -1 Background)",vectorcolour); + BBTK_INPUT(CommandButton,In,"Commands to be executed separated by commas (;). Each single quote (') is replaced by a double quote (\").",std::string,""); + BBTK_INPUT(CommandButton,Label,"Label of the button",std::string,""); + BBTK_INPUT(CommandButton,Colour,"Colour of the button (-1 -1 -1 Background)",vectorcolour,"colour"); // BBTK_OUTPUT(CommandButton,Out,"..Out..",int); BBTK_END_DESCRIBE_BLACK_BOX(CommandButton); //=================================================================