gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r12226: Documentation and consistenc


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12226: Documentation and consistency of interface.
Date: Sun, 06 Jun 2010 10:48:28 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12226 [merge]
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Sun 2010-06-06 10:48:28 +0200
message:
  Documentation and consistency of interface.
modified:
  libcore/Bitmap.h
  libcore/Button.h
=== modified file 'libcore/Bitmap.h'
--- a/libcore/Bitmap.h  2010-06-03 17:32:50 +0000
+++ b/libcore/Bitmap.h  2010-06-06 08:40:20 +0000
@@ -71,7 +71,7 @@
 
     virtual bool pointInShape(boost::int32_t x, boost::int32_t y) const;
 
-    virtual void construct(as_object* init);
+    virtual void construct(as_object* init = 0);
 
 protected:
 

=== modified file 'libcore/Button.h'
--- a/libcore/Button.h  2010-06-03 17:32:50 +0000
+++ b/libcore/Button.h  2010-06-06 08:43:43 +0000
@@ -121,7 +121,14 @@
        /// Properly destroy contained DisplayObjects
        void destroy();
 
-    virtual void construct(as_object* initObj);
+    /// Do ActionScript construction of the Button.
+    //
+    /// (1) Register this button instance as a live DisplayObject
+    /// (2) Construct all button state DisplayObjects.
+    //
+    /// @param init     An init object, which can be passed when constructing
+    ///                 Buttons with attachMovie, but is never used.
+    virtual void construct(as_object* init = 0);
 
 #ifdef USE_SWFTREE
        // Override to append button DisplayObjects info, see dox in 
DisplayObject.h


reply via email to

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