summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 49a5a0d3d..f560b8817 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -163,7 +163,7 @@ void TouchManager::loadTouchItem(TouchItem **item, const std::string &name,
default:
break;
}
- *item = new TouchItem(text, gcn::Rectangle(x + diff, y + diff,
+ *item = new TouchItem(text, Rectangle(x + diff, y + diff,
width + border2, height + border2), type,
eventPressed, eventReleased, images, icon,
x + pad, y + pad, width, height,
@@ -270,7 +270,7 @@ bool TouchManager::processEvent(const MouseInput &mouseInput)
const TouchItem *const item = *it;
if (!item || (!mShow && (item != mKeyboard || !mShowKeyboard)))
continue;
- const gcn::Rectangle &rect = item->rect;
+ const Rectangle &rect = item->rect;
if (rect.isPointInRect(x, y))
{
MouseInput event = mouseInput;