From f5ead6dd167d6d57217379a0046114d559cd2c78 Mon Sep 17 00:00:00 2001 From: Lars Muldjord Date: Mon, 21 Nov 2016 19:30:37 +0100 Subject: Added sidebar resources and testing code --- plugingui/dgwindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugingui/dgwindow.h') diff --git a/plugingui/dgwindow.h b/plugingui/dgwindow.h index 72e4679..5323a12 100644 --- a/plugingui/dgwindow.h +++ b/plugingui/dgwindow.h @@ -37,6 +37,8 @@ #include "progressbar.h" #include "filebrowser.h" #include "layout.h" +#include "texturedbox.h" +#include "imagecache.h" namespace GUI { @@ -87,6 +89,11 @@ private: Image back{":bg.png"}; Image logo{":logo.png"}; + ImageCache image_cache; + TexturedBox sidebar{image_cache, ":sidebar.png", 0, 0, + 16, 0, 0, + 14, 1, 14}; + Settings& settings; }; -- cgit v1.2.3