PUI: Difference between revisions

Jump to navigation Jump to search
251 bytes removed ,  30 December 2022
m
remove menubar comments, since these are now obsolete →‎Background
m (remove menubar comments, since these are now obsolete →‎Background)
Line 159: Line 159:


{{Note|We use the GUI code from PLIB, which doesn't know anything about OSG. See the SGPuDrawable class in $FG_SRC/Viewer/renderer.cxx for the implementation. The one catch is that OSG has a strong notion of separation between the update of a "scene" and its rendering, and that might not play well with arbitrary existing OpenGL code. }}
{{Note|We use the GUI code from PLIB, which doesn't know anything about OSG. See the SGPuDrawable class in $FG_SRC/Viewer/renderer.cxx for the implementation. The one catch is that OSG has a strong notion of separation between the update of a "scene" and its rendering, and that might not play well with arbitrary existing OpenGL code. }}
For these reasons, we're hoping to phase out PUI in FlightGear. One of the lowest hanging fruits is re-implementing the [[Menubar]] by using a [[Howto:Making a Canvas Menubar|Nasal/Canvas translator]]
[[File:Canvas-menubar-jabberwocky-09-2014.png]]




Navigation menu