summaryrefslogtreecommitdiffstats
path: root/sigscript/MapEffectWrapper.h
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-19 18:02:36 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-19 18:02:36 -0400
commitf0e0a403376f263cba7b3698e5ecc811a155b591 (patch)
treec89c81c40d5bb17222a52ca9cbc997abf0ccf394 /sigscript/MapEffectWrapper.h
parentb318d695fddbfaa71755cec4c7d85e9e9bdca8f2 (diff)
downloadsigen-f0e0a403376f263cba7b3698e5ecc811a155b591.tar.gz
sigen-f0e0a403376f263cba7b3698e5ecc811a155b591.tar.xz
sigen-f0e0a403376f263cba7b3698e5ecc811a155b591.zip
Update sigscript
Diffstat (limited to 'sigscript/MapEffectWrapper.h')
-rw-r--r--sigscript/MapEffectWrapper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sigscript/MapEffectWrapper.h b/sigscript/MapEffectWrapper.h
index 52b6d84c..0b9b5863 100644
--- a/sigscript/MapEffectWrapper.h
+++ b/sigscript/MapEffectWrapper.h
@@ -24,6 +24,9 @@
// Sigcore includes
#include <sigcore/Script.h>
+// Qt includes
+#include <QtGui/QPainterPath>
+
// Forward declarations
namespace Sigmod
{
@@ -43,7 +46,7 @@ class SIGSCRIPT_EXPORT MapEffectWrapper : public ObjectWrapper
static MapEffectWrapper* create(const Sigmod::MapEffect* effect, MapWrapper* parent);
Q_SCRIPTABLE QString name() const;
- Q_SCRIPTABLE QRect area() const;
+ Q_SCRIPTABLE QPainterPath area() const;
Q_SCRIPTABLE SkinWrapper* skin();
Q_SCRIPTABLE bool isGhost() const;
Q_SCRIPTABLE Sigcore::Script script() const;