diff options
author | Lars Muldjord <muldjordlars@gmail.com> | 2016-11-21 19:30:37 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-01-21 14:51:29 +0100 |
commit | f5ead6dd167d6d57217379a0046114d559cd2c78 (patch) | |
tree | 931ace4b47d37e9e7fdcd99b48f16e2ba95df187 /plugingui/dgwindow.cc | |
parent | 586e5c39ae22e70c6203700f2d66985398d15199 (diff) |
Added sidebar resources and testing code
Diffstat (limited to 'plugingui/dgwindow.cc')
-rw-r--r-- | plugingui/dgwindow.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/dgwindow.cc b/plugingui/dgwindow.cc index c325703..6a222dc 100644 --- a/plugingui/dgwindow.cc +++ b/plugingui/dgwindow.cc @@ -275,6 +275,9 @@ void DGWindow::repaintEvent(RepaintEvent* repaintEvent) Painter p(*this); p.drawImageStretched(0,0, back, width(), height()); p.drawImage(width() - logo.width(), height() - logo.height(), logo); + sidebar.setSize(16, height()); + p.drawImage(0, 0, sidebar); + p.drawImage(width() - 16, 0, sidebar); } void DGWindow::attackValueChanged(float value) |