Szymon Ender
Slides work best with Chrome and Safari
Navigation is possible with keyboard cursors and mouse using the control at bottom right.
On all top level slides vertical navigation is also possible.
Trial and error approach
No slowdowns - user experience not degraded
AxialVelHUD2::AxialVelHUD2( HINSTANCE hDLL )
: oapi::Module( hDLL )
{} // Automatic registering through base class' empty constructor
AxialVelHUD2::~AxialVelHUD2()
{} // Automatic unregistering through base class' destructor
bool AxialVelHUD2::ShouldDrawHUD() const
{
return true;
}
const char * AxialVelHUD2::GetModuleName() const
{
return "Axial Vel HUD 2";
}
void AxialVelHUD2::DrawHUD(int mode, const HUDPAINTSPEC *hps,
oapi::Sketchpad * skp)
{
int x = 200, y = 300;
VESSEL * v = oapiGetFocusInterface();
skp->Text(x, y, v->GetName());
// ...
// Code away!
// ...
}
Szymon Ender