MCPcopy Create free account
hub / github.com/dborth/fceugx / SetLabel

Method SetLabel

source/gui/gui_button.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 if(img) img->SetParent(this);
92}
93void GuiButton::SetLabel(GuiText* txt, int n)
94{
95 label[n] = txt;
96 if(txt) txt->SetParent(this);
97}
98void GuiButton::SetLabelOver(GuiText* txt, int n)
99{
100 labelOver[n] = txt;

Callers 15

WindowPromptFunction · 0.80
OnScreenKeyboardFunction · 0.80
SettingWindowFunction · 0.80
MenuGameSelectionFunction · 0.80
MenuGameFunction · 0.80
MenuGameSavesFunction · 0.80
MenuGameSettingsFunction · 0.80
MenuGameCheatsFunction · 0.80
MenuSettingsMappingsFunction · 0.80
MenuSettingsMappingsMapFunction · 0.80

Calls 1

SetParentMethod · 0.80

Tested by

no test coverage detected