summaryrefslogtreecommitdiff
path: root/plugingui/scrollbar.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-06-07 21:32:41 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-06-07 21:32:41 +0200
commit7a5ede33b58b8935ce33c5363f7d500ba8663c63 (patch)
tree21b4de29d0d73307d1b18490999135494b86713d /plugingui/scrollbar.h
parentcf7e6c51abf82f2ccc3ed33b8bcc162178e2b5ea (diff)
Update all use of widget_*.png to new TexturedBox.
Diffstat (limited to 'plugingui/scrollbar.h')
-rw-r--r--plugingui/scrollbar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/scrollbar.h b/plugingui/scrollbar.h
index c9b78d0..faa0f58 100644
--- a/plugingui/scrollbar.h
+++ b/plugingui/scrollbar.h
@@ -29,7 +29,7 @@
#include <limits>
#include "widget.h"
-#include "image.h"
+#include "texture.h"
#include "notifier.h"
namespace GUI {
@@ -68,7 +68,7 @@ private:
int valueOffset{0};
bool dragging{false};
- Image bg_img;
+ Texture bg_img{getImageCache(), ":widget.png", 7, 7, 1, 63};
};
} // GUI::