31#include "observable/evtvar.h"
46 StdIcon(
const wxWindow* parent,
const std::string& svg_file,
47 obs::EventVar& color_change_evt,
bool touch);
53 obs::Listener m_color_change_lstnr;
54 obs::EventVar& m_color_change_evt;
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.