gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. a108dfe955f786d12fef


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. a108dfe955f786d12fef140c72bb5ec3ba9d5a47
Date: Wed, 13 Oct 2010 16:58:14 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  a108dfe955f786d12fef140c72bb5ec3ba9d5a47 (commit)
       via  5b90e7aa8d02b0a02dc56082d6f08c34e6bdc62e (commit)
      from  2f0a44ca550dfe45c40a9b9cf17f0fa13af44a21 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=a108dfe955f786d12fef140c72bb5ec3ba9d5a47


commit a108dfe955f786d12fef140c72bb5ec3ba9d5a47
Merge: 5b90e7a 2f0a44c
Author: Sandro Santilli <address@hidden>
Date:   Wed Oct 13 18:58:09 2010 +0200

    Merge branch 'master' of ssh://address@hidden/srv/git/gnash


http://git.savannah.gnu.org/cgit//commit/?id=5b90e7aa8d02b0a02dc56082d6f08c34e6bdc62e


commit 5b90e7aa8d02b0a02dc56082d6f08c34e6bdc62e
Author: Sandro Santilli <address@hidden>
Date:   Wed Oct 13 18:57:36 2010 +0200

    Reduce virtuality of DefineShapeTag interface.

diff --git a/libcore/swf/DefineShapeTag.h b/libcore/swf/DefineShapeTag.h
index 6a13bed..f3495f3 100644
--- a/libcore/swf/DefineShapeTag.h
+++ b/libcore/swf/DefineShapeTag.h
@@ -36,19 +36,24 @@ public:
     static void loader(SWFStream& in, TagType tag, movie_definition& m,
             const RunResources& r);
 
-    virtual ~DefineShapeTag() {};
-
     // Display a Shape character.
-    virtual void display(Renderer& renderer, const Transform& xform) const;
+    void display(Renderer& renderer, const Transform& xform) const;
 
     // Create a Shape DisplayObject.
-       virtual DisplayObject* createDisplayObject(Global_as& gl,
+    // Inherited from DefinitionTag, see dox there
+    DisplayObject* createDisplayObject(Global_as& gl,
             DisplayObject* parent) const;
        
     /// Get cached bounds of this shape.
     const SWFRect& bounds() const { return _shape.getBounds(); }
 
-    virtual bool pointTestLocal(boost::int32_t x, boost::int32_t y, 
+    /// Check if the given point is inside this shape.
+    //
+    /// Coordinates are given in the definition scale, but
+    /// a matrix is given to allow computing proper line
+    /// thickness based on display scale.
+    ///
+    bool pointTestLocal(boost::int32_t x, boost::int32_t y, 
             const SWFMatrix& wm) const;
 
 protected:

-----------------------------------------------------------------------

Summary of changes:
 libcore/swf/DefineShapeTag.h |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]