[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/gui aqua.cpp aqua_ogl_glue.cpp
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/gui aqua.cpp aqua_ogl_glue.cpp |
Date: |
Mon, 23 Jul 2007 00:37:19 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 07/07/23 00:37:19
Modified files:
gui : aqua.cpp aqua_ogl_glue.cpp
Log message:
Stub for Aqua cursors
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.11&r2=1.12
Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- aqua.cpp 23 Jul 2007 00:00:51 -0000 1.13
+++ aqua.cpp 23 Jul 2007 00:37:19 -0000 1.14
@@ -18,7 +18,7 @@
//
//
-/* $Id: aqua.cpp,v 1.13 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.14 2007/07/23 00:37:19 nihilus Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -167,6 +167,23 @@
{
}
+void AquaGui::setCursor(gnash_cursor_type newcursor)
+{
+ GNASH_REPORT_FUNCTION;
+#if 0
+ switch(newcursor) {
+ case gnash::CURSOR_HAND:
+ setCursor();
+ break;
+ case gnash::CURSOR_INPUT:
+ setCursor()
+ break;
+ default:
+ setCursor();
+ }
+#endif
+}
+
bool AquaGui::createWindow(const char* title, int width, int height)
{
_glue.prepDrawingArea(_width, _height);
Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- aqua_ogl_glue.cpp 23 Jul 2007 00:00:51 -0000 1.11
+++ aqua_ogl_glue.cpp 23 Jul 2007 00:37:19 -0000 1.12
@@ -18,7 +18,7 @@
//
//
-/* $Id: aqua_ogl_glue.cpp,v 1.11 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.12 2007/07/23 00:37:19 nihilus Exp $ */
#include "aqua_ogl_glue.h"
@@ -46,14 +46,26 @@
}
-bool AquaOglGlue::init(int, char***)
-{
- GNASH_REPORT_FUNCTION;
+bool
+#ifdef FIX_I810_LOD_BIAS
+AquaOglGlue::init(int argc, char** argv[])
+#else
+AquaOglGlue::init(int, char***)
+#endif
+{
+// GNASH_REPORT_FUNCTION;
+#ifdef FIX_I810_LOD_BIAS
+ int c = getopt (argc, *argv, "m:");
+ if (c == 'm') {
+ _tex_lod_bias = (float) atof(optarg);
+ }
+#endif
return true;
}
+
render_handler* AquaOglGlue::createRenderHandler()
{
GNASH_REPORT_FUNCTION;