gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/movie_interface.h [release_0_7_2]


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/movie_interface.h [release_0_7_2]
Date: Thu, 02 Nov 2006 21:38:31 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release_0_7_2
Changes by:     Sandro Santilli <strk>  06/11/02 21:38:31

Modified files:
        .              : ChangeLog 
        server         : movie_interface.h 

Log message:
                * server/movie_interface.h: adde constructor for proper
                  initialization of invalidated bounds staff; added TODO
                  labels for moving the whole API to character class.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_7_2&r1=1.1412.2.51&r2=1.1412.2.52
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_interface.h?cvsroot=gnash&only_with_tag=release_0_7_2&r1=1.16.2.1&r2=1.16.2.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1412.2.51
retrieving revision 1.1412.2.52
diff -u -b -r1.1412.2.51 -r1.1412.2.52
--- ChangeLog   2 Nov 2006 17:08:17 -0000       1.1412.2.51
+++ ChangeLog   2 Nov 2006 21:38:30 -0000       1.1412.2.52
@@ -1,5 +1,11 @@
 2006-11-02 Sandro Santilli <address@hidden>
 
+       * server/movie_interface.h: adde constructor for proper
+         initialization of invalidated bounds staff; added TODO
+         labels for moving the whole API to character class.
+
+2006-11-02 Sandro Santilli <address@hidden>
+
        * configure.ac, macros/kde.m4: cleanups and verbosity for
          klash dependency handling.
 

Index: server/movie_interface.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_interface.h,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -b -r1.16.2.1 -r1.16.2.2
--- server/movie_interface.h    30 Oct 2006 14:28:49 -0000      1.16.2.1
+++ server/movie_interface.h    2 Nov 2006 21:38:31 -0000       1.16.2.2
@@ -17,7 +17,7 @@
 // 
 //
 
-/* $Id: movie_interface.h,v 1.16.2.1 2006/10/30 14:28:49 rsavoye Exp $ */
+/* $Id: movie_interface.h,v 1.16.2.2 2006/11/02 21:38:31 strk Exp $ */
 
 
 /// \page events_handling Handling of user events
@@ -95,15 +95,15 @@
 ///
 class movie_interface : public as_object
 {
-public:
 
-       /// Set when the visual aspect this particular character or movie
-       /// has been changed and redrawing is necessary.  
-       //
-       /// TODO: make protected
-       ///
-       bool m_invalidated;
+public:
 
+       movie_interface()
+               :
+               as_object(),
+               m_invalidated(true),
+               m_old_invalidated_bounds()
+       {}
 
        virtual movie_definition*       get_movie_definition() = 0;
        
@@ -258,6 +258,7 @@
   /// character/movie did change. 
   /// VERY IMPORTANT!! This function *must* be called *before* the changes are
   /// applied!
+  /// TODO: move to character class
        void set_invalidated() {
        
          if (m_invalidated) return; // flag already set, don't do anything
@@ -274,6 +275,7 @@
   }
   
   // Should be called by display()
+  /// TODO: move to character class
   void clear_invalidated() {
     m_invalidated = false;    
     m_old_invalidated_bounds.set_null();
@@ -286,6 +288,7 @@
   /// coordinates. 
   /// Only instances with m_invalidated flag set are checked unless force
   /// is set.  
+  /// TODO: move to character class
   virtual void get_invalidated_bounds(rect* bounds, bool force) = 0;
 
        /// Return true if the mouse pointer is over an active entity
@@ -295,7 +298,16 @@
   
 protected:
 
+       /// Set when the visual aspect this particular character or movie
+       /// has been changed and redrawing is necessary.  
+       //
+       /// TODO: move to character class
+       ///
+       bool m_invalidated;
+
+
   /// Bounds of character instance before invalidating it
+  /// TODO: move to character class
   rect m_old_invalidated_bounds;
        
 };




reply via email to

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