nanogui: Return to text mode


Previous by date: 26 Jul 2011 19:08:46 -0000 Re: nanogui Digest 22 Jul 2011 23:34:15 -0000 Issue 1694, Greg Haerr
Next by date: 26 Jul 2011 19:08:46 -0000 Re: FLTK font question, Georg Potthast
Previous in thread: 26 Jul 2011 19:08:46 -0000 Re: Return to text mode, Greg Haerr
Next in thread:

Subject: Re: [nanogui] Return to text mode
From: "Georg Potthast" ####@####.####
Date: 26 Jul 2011 19:08:46 -0000
Message-Id: <003301cc4bc7$46ee4fe0$6a00a8c0@SCHREIBTISCHGP>

>
> I'm not quite sure yet what the bug is here.  Try to find out whether
> FLTK calls XCloseDisplay() or not, lets start from there.
>

You were right, FLTK does not call XCloseDisplay() and recommends not to do 
that. The demo applications just make an exit(0);

You have to add the function: "fl_close_display();" just before the 
"exit(0);" in the application code to have NXlib execute GrClose(); (if 
enabled)

To be able to use this function you have to include this header file: 
"#include <FL/x.H>"

Georg 


Previous by date: 26 Jul 2011 19:08:46 -0000 Re: nanogui Digest 22 Jul 2011 23:34:15 -0000 Issue 1694, Greg Haerr
Next by date: 26 Jul 2011 19:08:46 -0000 Re: FLTK font question, Georg Potthast
Previous in thread: 26 Jul 2011 19:08:46 -0000 Re: Return to text mode, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.