summaryrefslogtreecommitdiff
path: root/dggui/frame.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-01-03 11:50:41 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-01-03 11:50:41 +0100
commit756da05c384e3d9258fc07cf9441d899238503f1 (patch)
treeb3385216148d51a2378a2bed5dfc3f0a27d4f1ec /dggui/frame.h
parent645250e1cd8ce9bc1faea599df7a1b05836bfeb8 (diff)
Add dggui namespace to libdggui components.
Diffstat (limited to 'dggui/frame.h')
-rw-r--r--dggui/frame.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/dggui/frame.h b/dggui/frame.h
index db26ea9..dc8e17a 100644
--- a/dggui/frame.h
+++ b/dggui/frame.h
@@ -33,7 +33,7 @@
#include "helpbutton.h"
#include "widget.h"
-namespace GUI
+namespace dggui
{
class FrameWidget
@@ -76,8 +76,8 @@ private:
// label
Font font;
std::string title;
- GUI::Colour label_colour{0.1};
- GUI::Colour label_colour_disabled{0.5};
+ dggui::Colour label_colour{0.1};
+ dggui::Colour label_colour_disabled{0.5};
std::size_t label_width;
// switch
@@ -89,18 +89,18 @@ private:
// grey box
int bar_height;
- GUI::Colour grey_box_colour{0.7};
- GUI::Colour grey_box_colour_disabled{0.7};
- GUI::Colour background_colour{0.85, 0.8};
+ dggui::Colour grey_box_colour{0.7};
+ dggui::Colour grey_box_colour_disabled{0.7};
+ dggui::Colour background_colour{0.85, 0.8};
//
// content
//
// content frame
- GUI::Colour frame_colour_top{0.95};
- GUI::Colour frame_colour_bottom{0.4};
- GUI::Colour frame_colour_side{0.6};
+ dggui::Colour frame_colour_top{0.95};
+ dggui::Colour frame_colour_bottom{0.4};
+ dggui::Colour frame_colour_side{0.6};
// content box
Widget* content{nullptr};
@@ -112,4 +112,4 @@ private:
int content_height;
};
-} // GUI::
+} // dggui::