Howto:Creating a Canvas GUI dialog file: Difference between revisions

Jump to navigation Jump to search
(Demo code tweaks/prepare for better screenshot)
Line 6: Line 6:
'''Targeted FlightGear versions: >= 3.20'''
'''Targeted FlightGear versions: >= 3.20'''


First of all, we're going to add a  new menu item to open our new dialog. This involves adding a new translation entry, as well as the actual menubar entry itself.
== Editing Translations/en/menu.xml ==
== Editing Translations/en/menu.xml ==
Navigate to the sub-menu where you'd like to add your new dialog, e.g. "Equipment" in this case, and then add a key:
Navigate to the sub-menu where you'd like to add your new dialog, e.g. "Equipment" in this case, and then add a key:

Navigation menu