[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/movie_interface.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/movie_interface.h |
Date: |
Thu, 02 Nov 2006 21:39:16 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/11/02 21:39:16
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&r1=1.1480&r2=1.1481
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_interface.h?cvsroot=gnash&r1=1.17&r2=1.18
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1480
retrieving revision 1.1481
diff -u -b -r1.1480 -r1.1481
--- ChangeLog 2 Nov 2006 14:35:35 -0000 1.1480
+++ ChangeLog 2 Nov 2006 21:39:15 -0000 1.1481
@@ -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, testsuite/Makefile.am,
testsuite/movies.all/Makefile.am,
testsuite/movies.all/gravity_embedded-TestRunner.cpp:
Index: server/movie_interface.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_interface.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/movie_interface.h 29 Oct 2006 18:34:11 -0000 1.17
+++ server/movie_interface.h 2 Nov 2006 21:39:16 -0000 1.18
@@ -17,7 +17,7 @@
//
//
-/* $Id: movie_interface.h,v 1.17 2006/10/29 18:34:11 rsavoye Exp $ */
+/* $Id: movie_interface.h,v 1.18 2006/11/02 21:39:16 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;
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/movie_interface.h,
Sandro Santilli <=