Recalculate widget position after changing width

This commit is contained in:
2022-05-20 14:49:52 +02:00
parent a904f0cdaf
commit c0b56f9f76
2 changed files with 6 additions and 4 deletions

View File

@ -33,7 +33,7 @@ public:
virtual void draw() = 0;
protected:
void recalculate_rect();
void recalculate_pos();
SDL_Renderer* renderer;
SDL_Rect rect;