//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #ifdef _USE_WXWIDGETS_ #ifndef __bbwxButtonSelectFilesDirectory_h_INCLUDED__ #define __bbwxButtonSelectFilesDirectory_h_INCLUDED__ #include "bbwx_EXPORT.h" #include "bbtkWxBlackBox.h" namespace bbwx { class bbwx_EXPORT ButtonSelectFilesDirectory : public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(ButtonSelectFilesDirectory,bbtk::WxBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== friend class ButtonSelectFilesDirectoryWidget; BBTK_DECLARE_INPUT(Type,int); BBTK_DECLARE_INPUT(Label,std::string); BBTK_DECLARE_INPUT(Wildcard,std::string); BBTK_DECLARE_INPUT(OpenSave,std::string); BBTK_DECLARE_INPUT(Title,std::string); BBTK_DECLARE_INPUT(Message,std::string); BBTK_DECLARE_INPUT(DefaultDir,std::string); BBTK_DECLARE_INPUT(DefaultFile,std::string); BBTK_DECLARE_OUTPUT(Out,std::string); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(wxWindow*); protected: private: void UpdateLabel(); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ButtonSelectFilesDirectory,bbtk::WxBlackBox); BBTK_NAME("ButtonSelectFilesDirectory"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(ButtonSelectFilesDirectory,Type,"(default 0) 0:Files 1:Directory",int,""); BBTK_INPUT(ButtonSelectFilesDirectory,Label,"Label",std::string,""); BBTK_INPUT(ButtonSelectFilesDirectory,Wildcard,"A wildcard, such as \"*.*\" or \"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif\"",std::string,"wildcard"); BBTK_INPUT(ButtonSelectFilesDirectory,OpenSave,"(Just for Type 0 -Files ) Open for an open dialog (default) / Save for a save dialog",std::string,""); BBTK_INPUT(ButtonSelectFilesDirectory,Title,"Title of the dialog",std::string,""); BBTK_INPUT(ButtonSelectFilesDirectory,Message,"Message to show on the dialog",std::string,""); BBTK_INPUT(ButtonSelectFilesDirectory,DefaultDir,"The default directory",std::string,""); BBTK_INPUT(ButtonSelectFilesDirectory,DefaultFile,"The default filename",std::string,"file name"); BBTK_OUTPUT(ButtonSelectFilesDirectory,Out,"File/Directory string",std::string,""); BBTK_END_DESCRIBE_BLACK_BOX(ButtonSelectFilesDirectory); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== } // EO namespace bbwx #endif // __bbwxButtonSelectFilesDirectory_h_INCLUDED__ #endif // _USE_WXWIDGETS_