nanogui: Microwindow+GTK or FLTK??


Previous by date: 29 May 2009 23:42:28 -0000 display jpeg error, bao king
Next by date: 29 May 2009 23:42:28 -0000 .png'transparent color, bao king
Previous in thread: 29 May 2009 23:42:28 -0000 Re: Microwindow+GTK or FLTK??, Aaron J. Grier
Next in thread:

Subject: Re: [nanogui] Re: Microwindow+GTK or FLTK??
From: "Greg Haerr" ####@####.####
Date: 29 May 2009 23:42:28 -0000
Message-Id: <045b01c9e0b7$5de89390$0300a8c0@RDP>

: this only works if the host and target are binary compatible, which
: isn't always the case.  in my case host is running Linux (or some other
: unix) and the target is running RTEMS.  (RTEMS does not currently have a
: native X11 port.)
: 
: do you have any suggestions for porting third-party graphics toolkits
: (Qt, FLTK, etc) in this situation other than a direct-to-nano-X port?

Even when the host and target aren't binary compatible, and
the target doesn't have an X11 port, using NXLIB with toolkits
written for Xlib (like FLTK and GTK+) can be a good idea.
The NXLIB code essential re-maps the Xlib calls to nano-X,
and can be ported completely without X11 sources or binaries
present. You'd just have to grab the Xlib.h and other files from
your desktop and use them when compiling nano-X and the
graphics toolkits.

The big advantage here is that you can use tested X11 toolkits
without having to specially port to nano-X.

Regards,

Greg

Previous by date: 29 May 2009 23:42:28 -0000 display jpeg error, bao king
Next by date: 29 May 2009 23:42:28 -0000 .png'transparent color, bao king
Previous in thread: 29 May 2009 23:42:28 -0000 Re: Microwindow+GTK or FLTK??, Aaron J. Grier
Next in thread:


Powered by ezmlm-browse 0.20.