MCPcopy Create free account
hub / github.com/dborth/vbagx / SetIcon

Method SetIcon

source/gui/gui_button.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 if(img) img->SetParent(this);
72}
73void GuiButton::SetIcon(GuiImage* img)
74{
75 icon = img;
76 if(img) img->SetParent(this);
77}
78void GuiButton::SetIconOver(GuiImage* img)
79{
80 iconOver = img;

Callers 7

MenuGameSelectionFunction · 0.80
MenuGameFunction · 0.80
MenuGameSettingsFunction · 0.80
MenuSettingsMappingsFunction · 0.80
MenuSettingsFunction · 0.80
GuiSaveBrowserMethod · 0.80
UpdateMethod · 0.80

Calls 1

SetParentMethod · 0.80

Tested by

no test coverage detected