gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/gui aqua.cpp


From: Markus Gothe
Subject: [Gnash-commit] gnash/gui aqua.cpp
Date: Tue, 24 Jul 2007 13:04:42 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Markus Gothe <nihilus>  07/07/24 13:04:42

Modified files:
        gui            : aqua.cpp 

Log message:
        Added RunApplicationEventLoop()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.18&r2=1.19

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- aqua.cpp    24 Jul 2007 00:08:15 -0000      1.18
+++ aqua.cpp    24 Jul 2007 13:04:42 -0000      1.19
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.18 2007/07/24 00:08:15 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.19 2007/07/24 13:04:42 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -128,7 +128,7 @@
 {
        GNASH_REPORT_FUNCTION;
     ShowWindow(myWindow);
-    while(1);
+    RunApplicationEventLoop();
     return true;
 }
 
@@ -204,6 +204,9 @@
 
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
+       GNASH_REPORT_FUNCTION;
+       theBounds.top = height;
+       theBounds.right = width;
        _glue.prepDrawingArea(_width, _height);
     set_render_handler(_renderer);
     return true;




reply via email to

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