59
59
IconTexture::IconTexture(std::string const& icon_name, unsigned int size, bool defer_icon_loading)
74
76
void IconTexture::SetByIconName(std::string const& icon_name, unsigned int size)
81
88
void IconTexture::SetByFilePath(std::string const& file_path, unsigned int size)
89
93
void IconTexture::LoadIcon()
91
95
LOG_DEBUG(logger) << "LoadIcon called (" << _icon_name << ") - loading: " << _loading;
100
103
glib::Object<GIcon> icon(::g_icon_new_for_string(_icon_name.empty() ? DEFAULT_GICON : _icon_name.c_str(), NULL));