summaryrefslogtreecommitdiffstats
path: root/gui/mousecursor.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-02-18 21:35:00 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-02-21 15:14:24 +0100
commit21ff02a69331fbcd53dc93a1af9a93618225b4bf (patch)
tree623fe5a07a506362b91a16b34d62a875b3d45c32 /gui/mousecursor.cpp
parentgui: make kinetic scrolling deceleration more awesome (diff)
downloadandroid_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar
android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.gz
android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.bz2
android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.lz
android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.xz
android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.tar.zst
android_bootable_recovery-21ff02a69331fbcd53dc93a1af9a93618225b4bf.zip
Diffstat (limited to 'gui/mousecursor.cpp')
-rw-r--r--gui/mousecursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/mousecursor.cpp b/gui/mousecursor.cpp
index 625588629..84e6322a4 100644
--- a/gui/mousecursor.cpp
+++ b/gui/mousecursor.cpp
@@ -51,11 +51,11 @@ void MouseCursor::LoadData(xml_node<>* node)
xml_attribute<>* attr;
xml_node<>* child;
- child = node->first_node("placement");
+ child = FindNode(node, "placement");
if(child)
LoadPlacement(child, &mRenderX, &mRenderY, &mRenderW, &mRenderH);
- child = node->first_node("background");
+ child = FindNode(node, "background");
if(child)
{
m_color = LoadAttrColor(child, "color", m_color);
@@ -67,7 +67,7 @@ void MouseCursor::LoadData(xml_node<>* node)
}
}
- child = node->first_node("speed");
+ child = FindNode(node, "speed");
if(child)
{
attr = child->first_attribute("multiplier");