From 5a9a9d113f88ab4e3f9e570397a744760d4520c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Oct 2012 20:39:51 +0300 Subject: Extend radio button theming. New options: padding - padding from all sides except left imagePadding - padding from left before image imageSize - image size for computation width spacing - space between image and text width = imagePadding + imageSize + spacing + text width + padding height = padding + text height + padding --- src/gui/widgets/checkbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/checkbox.cpp') diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index 8349247a4..f3e5993b0 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -128,7 +128,7 @@ void CheckBox::drawBox(gcn::Graphics *const graphics) if (!mSkin) return; - ImageRect &rect = mSkin->getBorder(); + const ImageRect &rect = mSkin->getBorder(); int index = 0; if (mEnabled && isVisible()) -- cgit v1.2.3-70-g09d2