Keep list of widgets to render
This commit is contained in:
@ -5,6 +5,9 @@
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
constexpr const char* FT_LOGO_PATH = "resources/Fasttube_Logo-white.bmp";
|
||||
constexpr const char* AVENIR_FONT_PATH = "resources/Avenir-Book.ttf";
|
||||
|
||||
@ -17,6 +20,5 @@ public:
|
||||
private:
|
||||
TTF_Font* avenir;
|
||||
|
||||
ImageWidget ft_logo;
|
||||
TextWidget choose;
|
||||
std::vector<std::unique_ptr<Widget>> widgets;
|
||||
};
|
||||
Reference in New Issue
Block a user