13 SdlWidgetList() =
default;
15 SdlWidgetList(
const SdlWidgetList& other) =
delete;
16 SdlWidgetList(SdlWidgetList&& other) =
delete;
17 SdlWidgetList& operator=(
const SdlWidgetList& other) =
delete;
18 SdlWidgetList& operator=(SdlWidgetList&& other) =
delete;
19 virtual ~SdlWidgetList();
21 [[nodiscard]]
virtual bool reset(
const std::string& title,
size_t width,
size_t height);
23 [[nodiscard]]
virtual bool visible()
const;
26 [[nodiscard]]
bool update();
27 [[nodiscard]]
virtual bool clearWindow();
28 [[nodiscard]]
virtual bool updateInternal() = 0;
30 std::shared_ptr<SDL_Window> _window;
31 std::shared_ptr<SDL_Renderer> _renderer;
33 SDL_Color _backgroundcolor{ 0x38, 0x36, 0x35, 0xff };