/*========================================================================= Program: bbtk Module: $RCSfile: bbwxColourSelector.h,v $ Language: C++ 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 http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ /** * \file * \brief Short description in one line * * Long description which * can span multiple lines */ /** * \class bbwx::ColorDialog * \brief */ #ifdef _USE_WXWIDGETS_ #ifndef __bbWxColourSelector_h__ #define __bbWxColourSelector_h__ #include "bbtkWxBlackBox.h" // Namespace of the package "wx" is "bbwx" // Namespace associated to packages should be of the form : // bbPACKAGENAME namespace bbwx { //================================================================= class /*BBTK_EXPORT*/ ColourSelector : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ColourSelector,bbtk::AtomicBlackBox); BBTK_DECLARE_OUTPUT(Out,std::string); BBTK_PROCESS(Process); // BBTK_CREATE_WIDGET(CreateWidget); void Process(); // void CreateWidget(); protected: virtual void bbUserConstructor(); // private: // wxColourSelector* mColorDialog; }; //================================================================= //================================================================= // UserBlackBox description BBTK_BEGIN_DESCRIBE_BLACK_BOX(ColourSelector,bbtk::AtomicBlackBox); // Already inserted for any WxBlackBox BBTK_CATEGORY("widget"); BBTK_NAME("ColourSelector"); BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Colour Selector dialog (bbfication of wxColourSelector)"); BBTK_OUTPUT(ColourSelector,Out,"The colour selected by the user",std::string,"colour"); BBTK_END_DESCRIBE_BLACK_BOX(ColourSelector); //================================================================= } //namespace bbtk #endif //__bbtkWxColourSelector_h__ #endif //_USE_WXWIDGETS_