From 18d7c98688af517e79ff2827d1c3834db372f255 Mon Sep 17 00:00:00 2001 From: Vojtech Bocek Date: Mon, 4 Aug 2014 17:19:28 +0200 Subject: Add possibility to use images as background or handle of slidevalue * Add tag to the slidervalue object. * All images are optional, e.g. you can use just handle or just background image or no images whatsoever Change-Id: Ie0fee92965c6e883c4e532732756008dcc9e385e Signed-off-by: Vojtech Bocek --- gui/objects.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gui/objects.hpp') diff --git a/gui/objects.hpp b/gui/objects.hpp index 486e2e704..cf20d7e9c 100644 --- a/gui/objects.hpp +++ b/gui/objects.hpp @@ -999,7 +999,11 @@ protected: int mFontHeight; GUIAction *mAction; bool mChangeOnDrag; - int lineW; + int mLineW; + bool mDragging; + Resource *mBackgroundImage; + Resource *mHandleImage; + Resource *mHandleHoverImage; }; class MouseCursor : public RenderObject -- cgit v1.2.3