nanogui: Return to text mode
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