|
swift
|
Class-based interface to X-Plane's drawing callback API. More...
#include <drawable.h>
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. | |
Class-based interface to X-Plane's drawing callback API.
Definition at line 17 of file drawable.h.
|
inline |
Constructor.
Definition at line 21 of file drawable.h.
|
inlinevirtual |
Destructor.
Definition at line 24 of file drawable.h.
|
protectedpure virtual |
Callback to draw the thing.
Implemented in XSwiftBus::CMessageBox.
|
inline |
Unregister the draw callback.
Definition at line 41 of file drawable.h.
|
inline |
Is currently shown.
Definition at line 27 of file drawable.h.
|
inline |
Register the draw callback.
Definition at line 30 of file drawable.h.