From e7245e50b584a9e6ff43a8079ebac199aea1ec0c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 13 Mar 2013 19:14:36 +0100 Subject: Use object allocated children instead of heap allocated. Add labels to path and drive selection widgets. --- plugingui/filebrowser.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'plugingui/filebrowser.h') 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 }; }; -- cgit v1.2.3