Muntat a c++14 per a make_unique
Mes autos, const i constexpr perl codi Ara la classe Screen es un poc pitjor
This commit is contained in:
@@ -47,7 +47,7 @@ private:
|
||||
void setSize();
|
||||
|
||||
// Calcula la longitud en pixels del texto más largo
|
||||
int getLargestStringSize() const;
|
||||
auto getLargestStringSize() -> int const;
|
||||
|
||||
// Renderizara el boton y el texto
|
||||
void renderButton(Sprite *sprite, Text *text, const SDL_Rect &buttonClip, const SDL_Rect &buttonPos, int textId);
|
||||
|
||||
Reference in New Issue
Block a user