20#include "sdl_selectable_widget.hpp"
21#include "sdl_blend_mode_guard.hpp"
24 const SDL_FRect& rect)
29#if defined(WITH_SDL_IMAGE_DIALOGS)
31 const SDL_FRect& rect, SDL_IOStream* ops)
39SdlSelectableWidget::~SdlSelectableWidget() =
default;
41bool SdlSelectableWidget::highlight(
bool enable)
47bool SdlSelectableWidget::mouseover(
bool enable)
53bool SdlSelectableWidget::updateInternal()
56 std::vector<SDL_Color> colors;
57 colors.push_back(_backgroundcolor);
59 colors.push_back(_highlightcolor);
62 colors.push_back(_mouseovercolor);
67 return SdlWidget::updateInternal();