- [NEW] draw::setZoom() i getZoom()
- [NEW] Ara amb F1 i F2 se pot fer zoom del contingut de la finestra - [NEW] Ja es pot editar els camps de text (pero encara no es guarda a arxiu)
This commit is contained in:
@@ -10,6 +10,9 @@ namespace draw
|
||||
void resizeSystemTexture(const uint16_t width, const uint16_t height);
|
||||
void quit();
|
||||
|
||||
void setZoom(const float value);
|
||||
const float getZoom();
|
||||
|
||||
SDL_Texture *createSurface(const uint16_t w, const uint16_t h);
|
||||
SDL_Texture *loadSurface(const char* filename, const int transparent = -1);
|
||||
void freeSurface(SDL_Texture *surf);
|
||||
@@ -19,7 +22,7 @@ namespace draw
|
||||
void setClip(const int x, const int y, const int w, const int h);
|
||||
void resetClip();
|
||||
|
||||
SDL_Point getWindowSize();
|
||||
SDL_FPoint getWindowSize();
|
||||
|
||||
void setColor(const uint32_t col);
|
||||
void cls(const uint32_t color);
|
||||
|
||||
Reference in New Issue
Block a user