| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_DIALOG_SELECT_FORMAT |
| 14 |
#define H_FREAC_DIALOG_SELECT_FORMAT |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
using namespace smooth; |
| 20 |
using namespace smooth::GUI; |
| 21 |
|
| 22 |
namespace freac |
| 23 |
{ |
| 24 |
class DialogSelectFormat : public Dialogs::Dialog |
| 25 |
{ |
| 26 |
private: |
| 27 |
Divider *divbar; |
| 28 |
|
| 29 |
Window *mainWnd; |
| 30 |
Titlebar *mainWnd_titlebar; |
| 31 |
|
| 32 |
Text *text_formats; |
| 33 |
ListBox *list_formats; |
| 34 |
|
| 35 |
Button *button_confirm; |
| 36 |
Button *button_cancel; |
| 37 |
public: |
| 38 |
DialogSelectFormat(const Array<BoCA::Format> &); |
| 39 |
~DialogSelectFormat(); |
| 40 |
|
| 41 |
const Error &ShowDialog(); |
| 42 |
|
| 43 |
Int GetSelectedEntryNumber() const; |
| 44 |
slots: |
| 45 |
Void OnChangeSize(const Size &); |
| 46 |
|
| 47 |
Void OnConfirm(); |
| 48 |
Void OnCancel(); |
| 49 |
}; |
| 50 |
}; |
| 51 |
|
| 52 |
#endif |