Menubar: Difference between revisions

Jump to navigation Jump to search
No change in size ,  14 October 2015
fix the order that I just munged up
No edit summary
(fix the order that I just munged up)
Line 43: Line 43:


[[File:menubar2.jpg|517px]]
[[File:menubar2.jpg|517px]]
=== Creating your own ===
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>[[$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>
  <current-style type="int" userarchive="y">1</current-style>
  <style n="0" include="gui/styles/classic.xml"/>
  <style n="1" include="gui/styles/anthrax.xml"/>
  <devel-widgets type="bool" userarchive="y">false</devel-widgets>
  </gui>
</syntaxhighlight>


== Flickering Menubar text under Rembrandt / ALS ==
== Flickering Menubar text under Rembrandt / ALS ==
Line 74: Line 88:


Fonts available are based on what is installed in fgdata/Fonts in the tfx format.
Fonts available are based on what is installed in fgdata/Fonts in the tfx format.
=== Creating your own ===
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>[[$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>
  <current-style type="int" userarchive="y">1</current-style>
  <style n="0" include="gui/styles/classic.xml"/>
  <style n="1" include="gui/styles/anthrax.xml"/>
  <devel-widgets type="bool" userarchive="y">false</devel-widgets>
  </gui>
</syntaxhighlight>


<references/>
<references/>
306

edits

Navigation menu