summaryrefslogtreecommitdiff
path: root/plugingui/texturedbox.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-10 14:28:09 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-10 14:28:09 +0100
commitcfd6b6e1f472fb7fdd8a34ac182a7dbb8e005481 (patch)
tree9c469aa149930a308bd00436e118d9d428fc16bf /plugingui/texturedbox.h
parent4b428d4f21f662ecc7359e89a211a434ec497161 (diff)
Add texture offset support.
Diffstat (limited to 'plugingui/texturedbox.h')
-rw-r--r--plugingui/texturedbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/texturedbox.h b/plugingui/texturedbox.h
index 51aead5..01c1bed 100644
--- a/plugingui/texturedbox.h
+++ b/plugingui/texturedbox.h
@@ -101,8 +101,8 @@ private:
Texture seg_h;
Texture seg_i;
- std::size_t _x;
- std::size_t _y;
+ std::size_t x0;
+ std::size_t y0;
std::size_t _width{100};
std::size_t _height{100};
std::size_t dx1;