MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GUI_Button_Draw

Method GUI_Button_Draw

Source/GUI_Element.cpp:1098–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096}
1097
1098void cFodder::GUI_Button_Draw(std::string pText, const size_t pY, const size_t pColorShadow, const size_t pColorPrimary) {
1099 std::transform(pText.begin(), pText.end(), pText.begin(), ::toupper);
1100
1101 GUI_Render_Text_Centred(pText.c_str(), pY);
1102
1103 GUI_Box_Draw(pColorShadow, pColorPrimary);
1104}
1105
1106void cFodder::GUI_Box_Draw(const size_t pColorShadow, const size_t pColorPrimary) {
1107

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected