summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-13 19:14:36 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-13 19:14:36 +0100
commite7245e50b584a9e6ff43a8079ebac199aea1ec0c (patch)
tree28f0ddc2e3b90058507f1b29f9dfd1a49f49d524 /plugingui/filebrowser.h
parent546669afb097675f36c9b165bdf62c2e23c0efce (diff)
Use object allocated children instead of heap allocated. Add labels to path and drive selection widgets.
Diffstat (limited to 'plugingui/filebrowser.h')
-rw-r--r--plugingui/filebrowser.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/plugingui/filebrowser.h b/plugingui/filebrowser.h
index 7d3b3bb..2402c23 100644
--- a/plugingui/filebrowser.h
+++ b/plugingui/filebrowser.h
@@ -33,6 +33,7 @@
#include "listbox.h"
#include "combobox.h"
#include "lineedit.h"
+#include "label.h"
namespace GUI {
@@ -57,13 +58,19 @@ public:
private:
struct private_data *prv;
- GUI::LineEdit *lineedit;
- GUI::ListBox *listbox;
- GUI::Button *btn_sel;
- GUI::Button *btn_esc;
+ GUI::Label lbl_path;
+ GUI::LineEdit lineedit;
+ GUI::ListBox listbox;
+
+ GUI::Button btn_sel;
+ GUI::Button btn_esc;
+
+#ifdef WIN32
// Only used on win32
- GUI::ComboBox *drv;
+ GUI::Label lbl_drive;
+ GUI::ComboBox drv;
+#endif
};
};