changeset 2001:3e1144e4a40f

initial take on Xembed port to fltk-1.3
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Mon, 02 May 2011 21:39:52 +0200
parents 05efd54ba3ef
children 290120457e42
files src/xembed.cc src/xembed.hh
diffstat 2 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/xembed.cc	Sun May 01 23:00:43 2011 +0200
+++ b/src/xembed.cc	Mon May 02 21:39:52 2011 +0200
@@ -106,7 +106,7 @@
 
 // TODO: Implement more XEMBED support;
 
-void Xembed::create() {
+void Xembed::show() {
    createInternal(xid);
    setXembedInfo(1);
    Fl::add_handler(event_handler);
@@ -161,11 +161,8 @@
 }
 
 void
-Xembed::create() {
-#if 0
-PORT1.3
-   Fl_Window::create();
-#endif
+Xembed::show() {
+   Fl_Window::show();
 }
 
 #endif
--- a/src/xembed.hh	Sun May 01 23:00:43 2011 +0200
+++ b/src/xembed.hh	Mon May 02 21:39:52 2011 +0200
@@ -16,7 +16,7 @@
       Xembed(uint32_t xid, int _w, int _h) : Fl_Window(_w, _h) {
          this->xid = xid;
       };
-      void create();
+      void show();
       int handle(int event);
 };