Interface for MFD that is supposed to draw on HUD. More...
#include <IMFDDrawsHUD.hpp>
Public Member Functions | |
IMFDDrawsHUD () | |
Ctor. | |
virtual | ~IMFDDrawsHUD () |
Dtor. | |
virtual bool | ShouldDrawHUD () const =0 |
Should the MFD draw on HUD now? | |
virtual void | DrawHUD (int mode, const HUDPAINTSPEC *hps, oapi::Sketchpad *skp)=0 |
Provides drawing context for the MFD. | |
virtual void | DrawHUD (int mode, const HUDPAINTSPEC *hps, HDC hDC) |
Only for backward compatibility (Orbiter 2006), therefore may be left unimplemented. |
Interface for MFD that is supposed to draw on HUD.
Make this a base class of your MFD
|
virtual |
Only for backward compatibility (Orbiter 2006), therefore may be left unimplemented.
If you need to provide backward compatibility, the code executed by this method should be equal to the second drawing method.
|
pure virtual |
Should the MFD draw on HUD now?
Could return false, for example when the user switched drawing on HUD through an MFD button
Implemented in MyMFDMultipleVessels.