qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs haiku.cpp


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs haiku.cpp
Date: Sun, 02 Feb 2014 14:31:08 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/02/02 14:31:08

Modified files:
        .              : haiku.cpp 

Log message:
        add support for full screen display in haiku from Francois Revol

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/haiku.cpp?cvsroot=qemacs&r1=1.8&r2=1.9

Patches:
Index: haiku.cpp
===================================================================
RCS file: /sources/qemacs/qemacs/haiku.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- haiku.cpp   29 Jan 2014 22:53:57 -0000      1.8
+++ haiku.cpp   2 Feb 2014 14:31:05 -0000       1.9
@@ -853,6 +853,14 @@
     b->priv_data = NULL;
 }
 
+static void haiku_full_screen(QEditScreen *s, int full_screen)
+{
+    WindowState *ctx = (WindowState *)s->priv_data;
+
+    BMessenger msgr(ctx->v->Looper());
+    msgr.SendMessage(B_ZOOM);
+}
+
 static QEDisplay haiku_dpy = {
     "haiku",
     haiku_probe,
@@ -875,7 +883,7 @@
     NULL, /* dpy_bmp_draw */
     NULL, /* dpy_bmp_lock */
     NULL, /* dpy_bmp_unlock */
-    NULL, /* dpy_full_screen */
+    haiku_full_screen,
     NULL, /* next */
 };
 



reply via email to

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