#include <bbwxDirectorySelector.h>
Private Member Functions | |
BBTK_BLACK_BOX_INTERFACE (DirectorySelector, bbtk::AtomicBlackBox) | |
BBTK_DECLARE_INPUT (Title, std::string) | |
BBTK_DECLARE_INPUT (Message, std::string) | |
BBTK_DECLARE_INPUT (DefaultDir, std::string) | |
BBTK_DECLARE_INPUT (DefaultDirectory, std::string) | |
BBTK_DECLARE_INPUT (Wildcard, std::string) | |
BBTK_DECLARE_INPUT (OpenSave, std::string) | |
BBTK_DECLARE_OUTPUT (Out, std::string) | |
BBTK_PROCESS (Process) | |
void | Process () |
Definition at line 65 of file bbwxDirectorySelector.h.
bbwx::DirectorySelector::BBTK_BLACK_BOX_INTERFACE | ( | DirectorySelector | , | |
bbtk::AtomicBlackBox | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_INPUT | ( | Title | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_INPUT | ( | Message | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_INPUT | ( | DefaultDir | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_INPUT | ( | DefaultDirectory | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_INPUT | ( | Wildcard | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_INPUT | ( | OpenSave | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_DECLARE_OUTPUT | ( | Out | , | |
std::string | ||||
) | [private] |
bbwx::DirectorySelector::BBTK_PROCESS | ( | Process | ) | [private] |
void bbwx::DirectorySelector::Process | ( | ) | [private] |
Definition at line 55 of file bbwxDirectorySelector.cxx.
00056 { 00057 bbtkDebugMessageInc("Core",9,"DirectorySelector::Process() [" 00058 <<bbGetFullName()<<"]"<<std::endl); 00059 00060 wxDirDialog* FD = 00061 new wxDirDialog( 0, 00062 bbtk::std2wx(bbGetInputMessage()), 00063 bbtk::std2wx(bbGetInputDefaultDir())); 00064 00065 if (FD->ShowModal()==wxID_OK) 00066 { 00067 bbSetOutputOut( bbtk::wx2std (FD->GetPath()) ); 00068 bbSetInputDefaultDir( bbtk::wx2std (FD->GetPath()) ); 00069 } 00070 else 00071 { 00072 bbSetOutputOut(""); 00073 bbSetInputDefaultDir(""); 00074 } 00075 00076 bbtkDebugDecTab("Core",9); 00077 }