|
Odamex
Setting the Standard in Multiplayer Doom
|
Directory selection dialog. More...
#include <agol_dirsel.h>
Public Member Functions | |
| AGOL_DirSelector () | |
| Constructor. | |
| AGOL_DirSelector (std::string title) | |
| Constructor. | |
| ~AGOL_DirSelector () | |
| Destructor. | |
| void | SetOkAction (EventHandler *event) |
| Set the OK button action. | |
| void | SetCancelAction (EventHandler *event) |
| Set the cancel button action. | |
Directory selection dialog.
This class provides a directory selection dialog that can be used to browse the filesystem and return a directory string.
| agOdalaunch::AGOL_DirSelector::AGOL_DirSelector | ( | ) |
Constructor.
| agOdalaunch::AGOL_DirSelector::AGOL_DirSelector | ( | std::string | title | ) |
Constructor.
| title | Window title. |
| agOdalaunch::AGOL_DirSelector::~AGOL_DirSelector | ( | ) |
Destructor.
| void agOdalaunch::AGOL_DirSelector::SetCancelAction | ( | EventHandler * | event | ) |
Set the cancel button action.
This method sets the action for the cancel button. The provided event handler is called when the cancel button is pressed.
| event | The event handler. |
| void agOdalaunch::AGOL_DirSelector::SetOkAction | ( | EventHandler * | event | ) |
Set the OK button action.
This method sets the action for the OK button. The provided event handler is called when the OK button is pressed. The second AG argument provided to the event handler is the selected directory in an ascii string.
| event | The event handler. |