Lets MFD to draw on HUD. More...
#include <MFDHUDDrawer.hpp>
Public Member Functions | |
MFDHUDDrawer (OBJHANDLE, int) | |
Ctor. | |
~MFDHUDDrawer () | |
Dtor. |
Static Public Member Functions | |
static void | FocusChanged (OBJHANDLE new_focus, OBJHANDLE old_focus) |
Call this from oapi::Module::clbkFocusChanged (OBJHANDLE new_focus, OBJHANDLE old_focus) |
Friends | |
class | IMFDDrawsHUD |
Lets MFD to draw on HUD.
Implements Vessel virtual methods hooking capabilities, so that it's possible to use the vessel's capability of drawing on HUD from other context, in this case MFD. You should only use the static methods of this class. See the example in MultipleVesselsMFD package
MFDHUDDrawer::MFDHUDDrawer | ( | OBJHANDLE | hVessel, |
int | fmodel | ||
) |
Ctor.
Used only internally
|
static |
Call this from oapi::Module::clbkFocusChanged (OBJHANDLE new_focus, OBJHANDLE old_focus)
For example: