From cfd6b6e1f472fb7fdd8a34ac182a7dbb8e005481 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 10 Dec 2016 14:28:09 +0100 Subject: Add texture offset support. --- plugingui/texturedbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/texturedbox.h') 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; -- cgit v1.2.3