aboutsummaryrefslogtreecommitdiff
path: root/dw/image.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-22 01:40:47 +0200
committerSebastian Geerken <devnull@localhost>2014-07-22 01:40:47 +0200
commit20effe02c6bb2c53099edecb9ea48a1dbeb39709 (patch)
tree917ee9e259d5f37d6618573cc40c8585d73c0a22 /dw/image.hh
parent81567f3ed2175861b9b50f7cd2142d8c6c60d84c (diff)
Fixed bug in image scaling.
Diffstat (limited to 'dw/image.hh')
-rw-r--r--dw/image.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/image.hh b/dw/image.hh
index 71ed85b9..9adf7806 100644
--- a/dw/image.hh
+++ b/dw/image.hh
@@ -121,6 +121,7 @@ class Image: public core::Widget, public core::ImgRenderer
private:
char *altText;
core::Imgbuf *buffer;
+ int bufWidth, bufHeight;
int altTextWidth;
bool clicking;
int currLink;