summaryrefslogtreecommitdiff
path: root/plugingui/listboxthin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/listboxthin.h')
-rw-r--r--plugingui/listboxthin.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/plugingui/listboxthin.h b/plugingui/listboxthin.h
index 1617234..3f429f6 100644
--- a/plugingui/listboxthin.h
+++ b/plugingui/listboxthin.h
@@ -34,10 +34,14 @@
#include "widget.h"
#include "painter.h"
#include "listboxbasic.h"
+#include "texturedbox.h"
-namespace GUI {
+namespace GUI
+{
-class ListBoxThin : public Widget {
+class ListBoxThin
+ : public Widget
+{
public:
ListBoxThin(Widget *parent);
~ListBoxThin();
@@ -62,7 +66,10 @@ public:
private:
ListBoxBasic basic;
- Painter::Box box;
+ TexturedBox box{getImageCache(), ":thinlistbox.png",
+ 0, 0, // atlas offset (x, y)
+ 1, 1, 1, // dx1, dx2, dx3
+ 1, 1, 1}; // dy1, dy2, dy3
};
} // GUI::