Menubar

From FlightGear wiki
Revision as of 15:59, 8 October 2008 by Gijs (talk | contribs) (New page: The in-game '''menubar''' of FlightGear is located at the top of the screen. ==Styles== The menubar is available in various styles. Currently there are two styles (both are shown belo...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The in-game menubar of FlightGear is located at the top of the screen.

Styles

The menubar is available in various styles. Currently there are two styles (both are shown below) packaged with FlightGear. The blue/black one is standard, but most developers use the grey/white one. You could switch between styles by pressing Shift + F10.

Menubar1.jpg Menubar2.jpg

Creating your own

It's very easy to make your own designs. Just copy one of the files that you find in data/gui/styles and change it to your needs. Then, edit the follwing code in the data/preferences.xml file to fit your style. You could simply add a line like <style n="0" include="gui/styles/anthrax.xml"/>. The current-style tag specifies the style that should be used when FlightGear loads.

 <gui>
  <current-style type="int" userarchive="y">1</current-style>
  <style n="1" include="gui/styles/classic.xml"/>
  <style n="0" include="gui/styles/anthrax.xml"/>
  <devel-widgets type="bool" userarchive="y">false</devel-widgets>
 </gui>

Related content