|
int | getWidth () |
|
int | getHeight () |
|
void | clearScreen () |
|
void | setCursor (int x, int y) |
|
int | getCursorX () |
|
int | getCursorY () |
|
void | hideCursor () |
|
void | showCursor () |
|
int | isCursorVisible () |
|
void | setChar (int x, int y, char c) |
|
void | setAnsiCurrent (const char *ansi) |
|
void | setAnsiCurrent (const std::string &ansi) |
|
void | setAnsi (int x, int y, const char *ansi) |
|
void | setAnsi (int x, int y, const std::string &ansi) |
|
void | rect (int x, int y, int width, int height, char c) |
|
void | fillRect (int x, int y, int width, int height, char c) |
|
void | circle (int x, int y, int radius, char c) |
|
void | fillCircle (int x, int y, int radius, char c) |
|
void | ellipse (int x, int y, int xradius, int yradius, char c) |
|
void | fillEllipse (int x, int y, int xradius, int yradius, char c) |
|
void | arc (int x, int y, int rx, int ry, double xrot, int arcflag, int sweepflag, int dx, int dy, char c) |
|
void | drawText (int x, int y, char *text) |
|
void | drawText (int x, int y, const std::string &text) |
|
void | drawAscii (int x, int y, char ascii[8][5]) |
|
void | drawAsciiText (int x, int y, char c, const char *text) |
|
std::vector< std::unique_ptr< Scene > > | getDrawnScenes () |
| Gets all of the drawn scenes.
|
|
int | getDrawnScenesCount () |
| Gets the number of scenes that are drawn on the screen.
|
|
std::vector< std::unique_ptr< Scene > > | getRegisteredScenes () |
| Gets the registered scenes.
|
|
int | getRegisteredScenesCount () |
| Gets the number of registered scenes.
|
|
std::unique_ptr< Scene > | getRegisteredScene (int uid) |
| Gets a registered scene by its unique identifier.
|
|
std::vector< std::unique_ptr< Sprite > > | getDrawnSprites () |
| Gets all of the drawn sprites.
|
|
std::unique_ptr< Sprite > | getSpriteAt (int x, int y) |
| Get the Sprite at a specific position.
|
|
std::vector< std::unique_ptr< Button > > | getRegisteredButtons () |
| Gets all registered buttons in the UI manager as a vector of unique_ptr<Button>.
|
|
int | getRegisteredButtonsCount () |
|
std::vector< std::unique_ptr< Button > > | getAllButtonsAt (int x, int y) |
|
std::unique_ptr< Button > | getButtonAt (int x, int y) |
|
void | path (const std::string path, char ch) |
| Draws a path on the canvas using the specified path string.
|
|
C++ wrapper for the CmdFX canvas.