All Classes Functions Typedefs
Public Member Functions | Static Public Member Functions | Friends | List of all members
EnjoLib::MFDGoodies::MFDHUDDrawer Class Reference

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

Detailed Description

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

Constructor & Destructor Documentation

MFDHUDDrawer::MFDHUDDrawer ( OBJHANDLE  hVessel,
int  fmodel 
)

Ctor.

Used only internally

Member Function Documentation

void MFDHUDDrawer::FocusChanged ( OBJHANDLE  new_focus,
OBJHANDLE  old_focus 
)
static

Call this from oapi::Module::clbkFocusChanged (OBJHANDLE new_focus, OBJHANDLE old_focus)

For example:

void PluginLaunchMFD::clbkFocusChanged (OBJHANDLE new_focus, OBJHANDLE old_focus)
{
}

The documentation for this class was generated from the following files: