Keep list of widgets to render

This commit is contained in:
2022-05-19 21:30:02 +02:00
parent 1bfcfd3bf1
commit 9a6ae2c6d9
4 changed files with 18 additions and 10 deletions

View File

@ -9,6 +9,7 @@
class Widget {
public:
Widget(SDL_Renderer* renderer, SDL_Rect dest_rect);
virtual ~Widget();
virtual void update_rect(SDL_Rect new_rect);