Re: [Flightgear-devel] FG GUI toolkits

2005-01-23 Thread Frederic Bouvier
Paul Surgeon a écrit :
Can someone comment on how FLTK works under OpenGL?
Would it be possible to use FLTK and all it's nice widgets in FG and drop the 
rather crude PUI toolkit?
 

fgrun and fgsd are here to prove OpenGL is possible with FLTK.
You also can have a look at GLgooey : http://glgooey.sourceforge.net/
-Fred

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] FG GUI toolkits

2005-01-23 Thread Erik Hofman
Paul Surgeon wrote:
Can someone comment on how FLTK works under OpenGL?
Would it be possible to use FLTK and all it's nice widgets in FG and drop the 
rather crude PUI toolkit?
To be honest, I did some small first steps in developing using fltk 
recently and I didn't particularly like it (from a developers point of 
view).

Also fltk works the other way around, you will have to design an fltk 
program that displays OpenGL content.

And third, I didn't think fltk allows one to display FlightGear in 
full-screen mode, or does it?

Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] FG GUI toolkits

2005-01-23 Thread Norman Vine
Erik Hofman writes:
 
 Paul Surgeon wrote:
  Can someone comment on how FLTK works under OpenGL?
  
  Would it be possible to use FLTK and all it's nice widgets in FG and drop 
  the 
  rather crude PUI toolkit?
 
 To be honest, I did some small first steps in developing using fltk 
 recently and I didn't particularly like it (from a developers point of 
 view).

Nice thing about points of view is every one has one:-)

I actually appreciate FLTK's leaness and find it a joy to
work with in comparison to the do every thing nature of 
most of the other cross platform GUI kits.
 
 Also fltk works the other way around, you will have to design an fltk 
 program that displays OpenGL content.
 
 And third, I didn't think fltk allows one to display FlightGear in 
 full-screen mode, or does it?

Full screen mode is doable in FLTK
http://fltk.org/documentation.php/doc-1.1/Fl_Window.html#Fl_Window.fullscreen

FWIW when I used to run FGFS inside of PPE the FGFS GUI still worked 
as well as the PPE's FLTK GUI  and when PPE was in fullscreenmode:you 
didn't even know it was running  :-)

Cheers

Norman

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] FG GUI toolkits

2005-01-23 Thread Erik Hofman
Norman Vine wrote:
Erik Hofman writes:
Paul Surgeon wrote:
Can someone comment on how FLTK works under OpenGL?
Would it be possible to use FLTK and all it's nice widgets in FG and drop the 
rather crude PUI toolkit?
To be honest, I did some small first steps in developing using fltk 
recently and I didn't particularly like it (from a developers point of 
view).
Nice thing about points of view is every one has one:-)
I actually appreciate FLTK's leaness and find it a joy to
work with in comparison to the do every thing nature of 
most of the other cross platform GUI kits.
That's exactly the reason why I said; from a developers point of view. 
Once things are working you end up with a lean and nice looking GUI.

Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] FG GUI toolkits

2005-01-23 Thread Paul Surgeon
On Sunday, 23 January 2005 16:07, Norman Vine wrote:
 Full screen mode is doable in FLTK
 http://fltk.org/documentation.php/doc-1.1/Fl_Window.html#Fl_Window.fullscre
en

From some of the messages I've read it seems as if it's not truly full screen 
- just a maximized window without any borders.
Also note that it doesn't work with all window managers (maybe because it 
can't get them to hide their menu bars?)

One guy did a test - he used SDL + FLTK.
The SDL set up the full screen window but as soon as he tried to add a FLTK 
widget it flipped back into windowed mode.

What a pity ... it would make coding a decent GUI for FG so much easier.
It's a lot of work to write all those controls from scratch.

Paul

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d