diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-01-03 11:50:41 +0100 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-01-03 11:50:41 +0100 | 
| commit | 756da05c384e3d9258fc07cf9441d899238503f1 (patch) | |
| tree | b3385216148d51a2378a2bed5dfc3f0a27d4f1ec /plugingui/filebrowser.h | |
| parent | 645250e1cd8ce9bc1faea599df7a1b05836bfeb8 (diff) | |
Add dggui namespace to libdggui components.
Diffstat (limited to 'plugingui/filebrowser.h')
| -rw-r--r-- | plugingui/filebrowser.h | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/plugingui/filebrowser.h b/plugingui/filebrowser.h index 53a058d..0620ef3 100644 --- a/plugingui/filebrowser.h +++ b/plugingui/filebrowser.h @@ -41,10 +41,10 @@ namespace GUI  {  class FileBrowser -	: public Dialog +	: public dggui::Dialog  {  public: -	FileBrowser(Widget* parent); +	FileBrowser(dggui::Widget* parent);  	void setPath(const std::string& path); @@ -54,7 +54,7 @@ public:  	// From Widget:  	bool isFocusable() override { return true; } -	virtual void repaintEvent(RepaintEvent* repaintEvent) override; +	virtual void repaintEvent(dggui::RepaintEvent* repaintEvent) override;  	virtual void resize(std::size_t width, std::size_t height) override;  	//! Return the filename selected in the browser. @@ -81,16 +81,16 @@ private:  	void select(const std::string& file);  	void changeDir(); -	Label lbl_path; +	dggui::Label lbl_path; -	LineEdit lineedit; -	ListBox listbox; +	dggui::LineEdit lineedit; +	dggui::ListBox listbox; -	Button btn_sel; -	Button btn_def; -	Button btn_esc; +	dggui::Button btn_sel; +	dggui::Button btn_def; +	dggui::Button btn_esc; -	Image back; +	dggui::Image back;  	bool has_filename{false};  	std::string filename;  | 
