.
This commit is contained in:
@@ -47,6 +47,13 @@ extern Overrides overrides;
|
||||
struct Circle
|
||||
{
|
||||
int x, y, r;
|
||||
|
||||
// Constructor por defecto
|
||||
Circle() : x(0), y(0), r(0) {}
|
||||
|
||||
// Constructor
|
||||
Circle(int xCoord, int yCoord, int radius)
|
||||
: x(xCoord), y(yCoord), r(radius) {}
|
||||
};
|
||||
|
||||
// Estructura para definir un color
|
||||
@@ -319,6 +326,9 @@ bool saveDemoFile(const std::string &file_path, const DemoData &dd);
|
||||
// Obtiene el nombre de un fichero a partir de una ruta
|
||||
std::string getFileName(const std::string &path);
|
||||
|
||||
// Obtiene la ruta eliminando el nombre del fichero
|
||||
std::string getPath(const std::string &full_path);
|
||||
|
||||
// Colores
|
||||
extern const Color bg_color;
|
||||
extern const Color no_color;
|
||||
|
||||
Reference in New Issue
Block a user