|
| Scene (CmdFX_Scene *scene) |
|
| Scene (int width, int height) |
|
| Scene (int width, int height, char c, char *ansi, int z) |
|
| Scene (std::vector< std::string > data, std::vector< std::vector< std::string > > ansi) |
|
| Scene (char **data, char ***ansi) |
|
CmdFX_Scene * | getScene () |
| Get the Scene object associated with this class.
|
|
int | getX () const |
|
int | getY () const |
|
int | getWidth () const |
|
int | getHeight () const |
|
int | getZ () const |
|
int | getUniqueId () const |
| Gets the unique identifier of the scene.
|
|
std::vector< std::string > | getData () |
| Get the data of a scene as a 1D vector of strings.
|
|
int | setData (char **data) |
|
int | setData (std::vector< std::string > data) |
| Sets the data of a scene.
|
|
std::vector< std::vector< std::string > > | getAnsi () |
| Gets the ANSI data of a scene as a 2D vector of strings.
|
|
int | setAnsi (char ***ansi) |
|
int | setAnsi (std::vector< std::vector< std::string > > ansi) |
| Sets the ANSI data of a scene.
|
|
int | appendAnsi (char ***ansi) |
|
int | appendAnsi (std::vector< std::vector< std::string > > ansi) |
| Appends the ANSI data to the current ANSI data of the scene.
|
|
int | setForeground (int x, int y, int width, int height, int rgb) |
|
int | setForegroundAll (int rgb) |
|
int | setBackground (int x, int y, int width, int height, int rgb) |
|
int | setBackgroundAll (int rgb) |
|
int | clear () |
|
int | draw (int x, int y) |
|
int | drawPortion (int x, int y, int sx, int sy, int width, int height) |
|
bool | isOnTop () const |
|
bool | isOnTopAt (int x, int y) const |
|
bool | isOnBottom () const |
|
bool | isOnBottomAt (int x, int y) const |
|
int | remove () |
|
bool | isEmpty () const |
|
int | switchTo (int x, int y) |
|
int | registerScene () |
| Registers the scene to be drawn on the screen.
|
|
int | unregisterScene () |
| Unregisters the scene from being drawn on the screen.
|
|
int | scroll (int dx, int dy) |
| Scrolls the scene by the specified amount.
|
|
A C++ wrapper around a CmdFX_Scene struct.
This class is a wrapper around the CmdFX_Scene struct. It provides a constructor and destructor for the scene, as well as methods to get and set the scene's data. The destructor will free the scene's memory when the object is destroyed.