swift
Public Member Functions | Protected Member Functions | List of all members
XSwiftBus::CDrawable Class Referenceabstract

Class-based interface to X-Plane's drawing callback API. More...

Inheritance diagram for XSwiftBus::CDrawable:
[legend]

Public Member Functions

 CDrawable (XPLMDrawingPhase phase, bool before)
 Constructor.
 
virtual ~CDrawable ()
 Destructor.
 
bool isVisible () const
 Is currently shown.
 
void show ()
 Register the draw callback.
 
void hide ()
 Unregister the draw callback.
 

Protected Member Functions

virtual void draw ()=0
 Callback to draw the thing.
 

Detailed Description

Class-based interface to X-Plane's drawing callback API.

Definition at line 17 of file drawable.h.


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