8,564
edits
m (Update) |
m (Small cleanup) |
||
Line 9: | Line 9: | ||
=== 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> | It's very easy to make your own designs. Just copy one of the files that you find in <tt>[[$FG_ROOT]]/gui/styles</tt> and change it to your needs. | ||
Then, edit the follwing code in the <tt> | Then, edit the follwing code in the <tt>[[$FG_ROOT]]/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. | ||
<syntaxhighlight lang="xml"> | |||
<gui> | <gui> | ||
<current-style type="int" userarchive="y">1</current-style> | <current-style type="int" userarchive="y">1</current-style> | ||
Line 18: | Line 19: | ||
<devel-widgets type="bool" userarchive="y">false</devel-widgets> | <devel-widgets type="bool" userarchive="y">false</devel-widgets> | ||
</gui> | </gui> | ||
</syntaxhighlight> | |||
== 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 <tt>-set.xml</tt> 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. | ||
<syntaxhighlight lang="xml"> | |||
<menubar> | <menubar> | ||
<default> | <default> | ||
Line 40: | Line 43: | ||
</default> | </default> | ||
</menubar> | </menubar> | ||
</syntaxhighlight> | |||
* '''menu n="10":''' creates an extra menu item, at the end of the menubar. | * '''menu n="10":''' creates an extra menu item, at the end of the menubar. |