summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-23 20:11:28 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-23 20:11:38 +0200
commit8e846d9bb66f64a97f8b9de88654445e0ef7b059 (patch)
tree60ad1fa281de57a4ade5d7ccdad63e0798ac5104
parent8981f966b851df7ff859019f61c513dddd036688 (diff)
Swap powerbutton on/off textures.
-rw-r--r--plugingui/powerbutton.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/powerbutton.h b/plugingui/powerbutton.h
index 1894967..53f8d88 100644
--- a/plugingui/powerbutton.h
+++ b/plugingui/powerbutton.h
@@ -43,10 +43,10 @@ protected:
virtual void repaintEvent(RepaintEvent* repaintEvent) override;
private:
- Texture on{getImageCache(), ":resources/bypass_button.png", 0, 0, 16, 16};
- Texture on_clicked{getImageCache(), ":resources/bypass_button.png", 16, 0, 16, 16};
- Texture off{getImageCache(), ":resources/bypass_button.png", 32, 0, 16, 16};
- Texture off_clicked{getImageCache(), ":resources/bypass_button.png", 48, 0, 16, 16};
+ Texture on{getImageCache(), ":resources/bypass_button.png", 32, 0, 16, 16};
+ Texture on_clicked{getImageCache(), ":resources/bypass_button.png", 48, 0, 16, 16};
+ Texture off{getImageCache(), ":resources/bypass_button.png", 0, 0, 16, 16};
+ Texture off_clicked{getImageCache(), ":resources/bypass_button.png", 16, 0, 16, 16};
};
} // GUI::