MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / GetCommonIcon

Function GetCommonIcon

Goldleaf/source/ui/ui_Utils.cpp:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 pu::sdl2::TextureHandle::Ref GetCommonIcon(const CommonIconKind kind) {
151 return g_CommonIcons[static_cast<u32>(kind)];
152 }
153
154 pu::sdl2::TextureHandle::Ref GetCommonIconForExtension(const std::string &ext) {
155 if(ext == "nsp") {

Callers 13

ReloadMethod · 0.85
OnPathSelectedMethod · 0.85
ReloadMenuMethod · 0.85
OnInputMethod · 0.85
UpdateElementsMethod · 0.85
RefreshMethod · 0.85
UpdateElementsMethod · 0.85
UpdateSettingsMethod · 0.85
MainMenuLayoutMethod · 0.85
OnLoadMethod · 0.85
UpdateValuesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected