4,400
edits
mNo edit summary |
m (Robot: Cosmetic changes) |
||
Line 1: | Line 1: | ||
The in-game '''menubar''' of [[FlightGear]] is located at the top of the screen. | The in-game '''menubar''' of [[FlightGear]] is located at the top of the screen. | ||
==Styles== | == 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. | 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. | ||
[[ | [[File:menubar1.jpg]] | ||
[[ | [[File:menubar2.jpg]] | ||
===Creating your own=== | === Creating your own === | ||
It's very easy to make your own designs. Just copy one of the files that you find in <tt>data/gui/styles</tt> and change it to your needs. | It's very easy to make your own designs. Just copy one of the files that you find in <tt>data/gui/styles</tt> and change it to your needs. | ||
Then, edit the follwing code in the <tt>data/preferences.xml</tt> file to fit your style. You could simply add a line like <tt><style n="0" include="gui/styles/anthrax.xml"/></tt>. The current-style tag specifies the style that should be used when FlightGear loads. | Then, edit the follwing code in the <tt>data/preferences.xml</tt> file to fit your style. You could simply add a line like <tt><style n="0" include="gui/styles/anthrax.xml"/></tt>. The current-style tag specifies the style that should be used when FlightGear loads. | ||
Line 18: | Line 18: | ||
</gui> | </gui> | ||
==Add items== | == Add items == | ||
===Aircraft dependent items=== | === Aircraft dependent items === | ||
To add a menu for a specific plane only you have to enhance the planes -set.xml file. Add the follow lines (example for the [[Livery over MP|livery selection dialog]] in a [[Boeing 787]]), or any item that you want to show, above the </sim> tag. You can add as many items and menus as you like, but keep the menubar as small as possible, the larger the outside view will be. | To add a menu for a specific plane only you have to enhance the planes -set.xml file. Add the follow lines (example for the [[Livery over MP|livery selection dialog]] in a [[Boeing 787]]), or any item that you want to show, above the </sim> tag. You can add as many items and menus as you like, but keep the menubar as small as possible, the larger the outside view will be. | ||
Line 40: | Line 40: | ||
</menubar> | </menubar> | ||
==Menu items== | == Menu items == | ||
* [[Autopilot]] | * [[Autopilot]] | ||
* [[Chat Menu]] | * [[Chat Menu]] |