46 StdIcon(
const wxWindow* parent,
const std::string& svg_file,
53 obs::Listener m_color_change_lstnr;
56 wxBitmap m_day_bitmap;
57 wxBitmap m_night_bitmap;
Small monochrome SVG icon scaled to the height of a char.
StdIcon(const wxWindow *parent, const std::string &svg_file, obs::EventVar &color_change_evt, bool touch)
Create an icon.
const wxBitmap & GetBitmap()
Return bitmap, either day or inverted night variant.
Generic event handling between for example MVC Model and Controller based on a shared EventVar variab...
A common variable shared between producer and consumer which supports Listen() and Notify().