nanogui: Removing title bar and close button - Nano-X and FLTK
Subject:
Re: [nanogui] Removing title bar and close button - Nano-X and FLTK
From:
"Johannes Schock" ####@####.####
Date:
20 Jan 2011 18:40:09 -0000
Message-Id: <0LlItW-1QGhrq1PoE-00bEf2@mrelayeu.kundenserver.de>
> I am using the latest nano-X from git and fltk 1.1.10
>
> I need to hide the title bar for my embedded application.
> My application can run both on PC and arm target
> In PC fltk is used with X where the fltk call *FL_window::border(0)* works
> but in arm target with nano-X the border shows up with the application
> name
> as the title bar text even if no window title is given.
> Is there any nano-X API which can be used to hide the title bar of a
> window?
> Can anyone help in resolving this issue
> Thank you very much
>
> With Regards
> Gobi.C
I use Fl_Window::clear_border() which works fine. Remember to call it before
a call to Fl_Window::show().
Regards, Johannes