| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_DIALOG_DIRECTORY |
| 14 |
#define H_FREAC_DIALOG_DIRECTORY |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
|
| 18 |
using namespace smooth; |
| 19 |
using namespace smooth::GUI; |
| 20 |
|
| 21 |
namespace freac |
| 22 |
{ |
| 23 |
class AddDirectoryDialog : public Dialogs::Dialog |
| 24 |
{ |
| 25 |
private: |
| 26 |
Divider *divbar; |
| 27 |
|
| 28 |
Window *mainWnd; |
| 29 |
Titlebar *mainWnd_titlebar; |
| 30 |
|
| 31 |
GroupBox *group_directory; |
| 32 |
Text *text_directory; |
| 33 |
EditBox *edit_directory; |
| 34 |
Button *btn_browse; |
| 35 |
|
| 36 |
Button *btn_ok; |
| 37 |
Button *btn_cancel; |
| 38 |
public: |
| 39 |
AddDirectoryDialog(); |
| 40 |
~AddDirectoryDialog(); |
| 41 |
|
| 42 |
const Error &ShowDialog(); |
| 43 |
accessors: |
| 44 |
String GetDirectory() const; |
| 45 |
slots: |
| 46 |
Void OK(); |
| 47 |
Void Cancel(); |
| 48 |
|
| 49 |
Void OnChangeSize(const Size &); |
| 50 |
|
| 51 |
Void Browse(); |
| 52 |
}; |
| 53 |
}; |
| 54 |
|
| 55 |
#endif |