Allow a MFD to be controlled via Emesary notifications (notifications.PFDEventNotification);
Notification needs to be constructed with the following parameters;
1 - MFD designation (text; name of MFD)
2 - MFD identity (int, id of the MFD within the model). Default 1; same as used when creating the MFD
3 - Event type (PFDEventNotification.SoftKeyPushed, notifications.PFDEventNotification.ChangeMenuText
4 - Event parameter.
a) for PFDEventNotification.SoftKeyPushed an int identifying the button
b) for notifications.PFDEventNotification.ChangeMenuText a hash array containing the menu ID and the new text (e.g. [{ Id: 1, Text: "NNN"}])
Method obj.PFD.RegisterWithEmesary(emesary.GlobalTransmitter) need to be called to connect the MFD to a transmitter
Change fonts; make use of the new feature to allow fonts to be specified using property from dialog xml.
Ensure that all fonts are defined within the style.
ref: http://www.dafont.com/monommm-5.font
copy of email permission below.
------------------------
Received: by xx.xx.1.153 with HTTP; Mon, 25 Sep 2017 05:19:56 -0700 (PDT)
In-Reply-To: <f3b61fff-0c12-46eb-e96d-932ee17e7702@zaretto.com>
References: <f3b61fff-0c12-46eb-e96d-932ee17e7702@zaretto.com>
From: Marcelo Macedo
Date: Mon, 25 Sep 2017 09:19:56 -0300
Message-ID: <CAEdzCVPKnCP_C4csUsXWVDaRb7L5jWfy2amYVDOrD7k_c-QLVQ@mail.gmail.com>
Subject: Re: Mono MMM 5
To: Richard Harrison
Permission granted. I will be honored to have my source in a great program
like this!
2017-09-24 18:01 GMT-03:00 Richard Harrison <richard@zaretto.com>:
> Would you give permission for your excellent Mono MMM 5 font to be
> included in FlightGear with a GPL licence.
simgear::ResourceProxy has been renamed to
simgear::EmbeddedResourceProxy in SimGear commit
2200fad30ebfd68cefd461d5443b8612621b4643[1]. Adapt
Docs/README.embedded-resources accordingly.
[1] This was done in order to avoid confusion with the unrelated classes
simgear::ResourceProvider and simgear::ResourceManager.
This document (Docs/README.embedded-resources) explains how to use the
embedded resources system and presents SimGear's CharArrayStream and
ZlibStream families of classes, as well as the ResourceProxy class.