diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-18 12:27:39 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-18 12:27:39 -0400 |
commit | 1110ccccc0a4c844e82faaddb9e44eb709ea4030 (patch) | |
tree | bbccccf513acdec9a9940ff999230f10a168933c | |
parent | 9a4a27774c4b82e4bf0fe621eedf6283016d7550 (diff) | |
download | sigen-1110ccccc0a4c844e82faaddb9e44eb709ea4030.tar.gz sigen-1110ccccc0a4c844e82faaddb9e44eb709ea4030.tar.xz sigen-1110ccccc0a4c844e82faaddb9e44eb709ea4030.zip |
Update sigscript
-rw-r--r-- | sigscript/MapEffectWrapper.cpp | 6 | ||||
-rw-r--r-- | sigscript/MapEffectWrapper.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sigscript/MapEffectWrapper.cpp b/sigscript/MapEffectWrapper.cpp index c9b61296..491a3d3c 100644 --- a/sigscript/MapEffectWrapper.cpp +++ b/sigscript/MapEffectWrapper.cpp @@ -48,10 +48,10 @@ QString MapEffectWrapper::name() const return m_effect->name(); } -QPoint MapEffectWrapper::position() const +QRect MapEffectWrapper::area() const { - ALLOW_OVERRIDE_SO(effect, QPoint, position); - return m_effect->position(); + ALLOW_OVERRIDE_SO(effect, QRect, area); + return m_effect->area(); } SkinWrapper* MapEffectWrapper::skin() diff --git a/sigscript/MapEffectWrapper.h b/sigscript/MapEffectWrapper.h index 3f344fe7..52b6d84c 100644 --- a/sigscript/MapEffectWrapper.h +++ b/sigscript/MapEffectWrapper.h @@ -43,7 +43,7 @@ class SIGSCRIPT_EXPORT MapEffectWrapper : public ObjectWrapper static MapEffectWrapper* create(const Sigmod::MapEffect* effect, MapWrapper* parent); Q_SCRIPTABLE QString name() const; - Q_SCRIPTABLE QPoint position() const; + Q_SCRIPTABLE QRect area() const; Q_SCRIPTABLE SkinWrapper* skin(); Q_SCRIPTABLE bool isGhost() const; Q_SCRIPTABLE Sigcore::Script script() const; |