summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.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 /plugin/drumgizmo_plugin.h
parent645250e1cd8ce9bc1faea599df7a1b05836bfeb8 (diff)
Add dggui namespace to libdggui components.
Diffstat (limited to 'plugin/drumgizmo_plugin.h')
-rw-r--r--plugin/drumgizmo_plugin.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugin/drumgizmo_plugin.h b/plugin/drumgizmo_plugin.h
index 4ecf489..09cdcba 100644
--- a/plugin/drumgizmo_plugin.h
+++ b/plugin/drumgizmo_plugin.h
@@ -188,23 +188,23 @@ private:
ConfigStringIO config_string_io;
SettingsGetter settingsGetter{settings};
- GUI::ImageCache imageCache;
- GUI::TexturedBox box{imageCache, ":resources/progress.png",
+ dggui::ImageCache imageCache;
+ dggui::TexturedBox box{imageCache, ":resources/progress.png",
0, 0, // atlas offset (x, y)
6, 1, 6, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- GUI::TexturedBox bar_red{imageCache, ":resources/progress.png",
+ dggui::TexturedBox bar_red{imageCache, ":resources/progress.png",
13, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- GUI::TexturedBox bar_green{imageCache, ":resources/progress.png",
+ dggui::TexturedBox bar_green{imageCache, ":resources/progress.png",
18, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- GUI::TexturedBox bar_blue{imageCache, ":resources/progress.png",
+ dggui::TexturedBox bar_blue{imageCache, ":resources/progress.png",
23, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
@@ -213,10 +213,10 @@ private:
std::shared_ptr<DrumGizmo> drumgizmo;
std::uint32_t inlineDisplayBuffer[1024*1024];
- GUI::Image inline_display_image{":resources/logo.png"};
+ dggui::Image inline_display_image{":resources/logo.png"};
bool inline_image_first_draw{true};
#ifdef WITH_NLS
- UITranslation translation;
+ dggui::UITranslation translation;
#endif // WITH_NLS
};