Question Implementing DG-Like Landing Gear Indicators in Lua?

Thunder Chicken

Fine Threads since 2008
Donator
Joined
Mar 22, 2008
Messages
4,367
Reaction score
3,302
Points
138
Location
Massachusetts
Yep, me again. I have my jet engine code completely converted into Lua, and I have annotations that indicate the status of the afterburner on the screen. The final thing I want to implement is to replicate the landing gear indicators like is done in the DG.

Screenshot at 2023-11-11 19-20-16.png
I can put text annotations into the screen, but in order to put the three rectangles in I would need to implement a Sketchpad object (I think), and it seems that I can't make a Sketchpad object outside of the context of a MFD. I'm not quite sure what can be done here.

Any ideas or pointers? If worse comes to worse I can just put a text annotation off to the side, but if I can implement a gear indicator like this I'd rather do that.
 
Top