CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/10/22 13:17:47
Modified files:
. : ChangeLog
server/asobj : Stage.cpp
Log message:
server/asobj/Stage.cpp: corrected Stage.width and Stage.height, fixes
bug #21364
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4665&r2=1.4666
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Stage.cpp?cvsroot=gnash&r1=1.23&r2=1.24
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.4665
retrieving revision 1.4666
diff -u -b -r1.4665 -r1.4666
--- ChangeLog 22 Oct 2007 10:28:26 -0000 1.4665
+++ ChangeLog 22 Oct 2007 13:17:46 -0000 1.4666
@@ -1,3 +1,8 @@
+2007-10-22 Udo Giacomozzi <[EMAIL PROTECTED]>
+
+ * server/asobj/Stage.cpp: corrected Stage.width and Stage.height,
+ fixes bug #21364
+
2007-10-22 Sandro Santilli <[EMAIL PROTECTED]>
* configure.ac: fix docmentation for --enable-cygnal
Index: server/asobj/Stage.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/asobj/Stage.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- server/asobj/Stage.cpp 23 Sep 2007 08:48:18 -0000 1.23
+++ server/asobj/Stage.cpp 22 Oct 2007 13:17:47 -0000 1.24
@@ -107,13 +107,23 @@
unsigned
Stage::getWidth() const
{
+ //if (_scaleMode==showAll) <-- the only mode implemented in Gnash
+ return VM::get().getRoot().get_movie_definition()->get_width_pixels();
+ /*
+ else
return VM::get().getRoot().getWidth();
+ */
}
unsigned
Stage::getHeight() const
{
+ //if (_scaleMode==showAll) <-- the only mode implemented in Gnash
+ return VM::get().getRoot().get_movie_definition()->get_height_pixels();
+ /*
+ else
return VM::get().getRoot().getHeight();
+ */
}
void
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit