MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / AddOptionsBackButton

Function AddOptionsBackButton

Source/stores.cpp:261–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void AddOptionsBackButton()
262{
263 const int line = BackButtonLine();
264 AddSText(0, line, _("Back"), UiFlags::ColorWhite | UiFlags::AlignCenter, true);
265 stext[line]._syoff = IsSmallFontTall() ? 0 : 6;
266}
267
268void AddItemListBackButton(bool selectable = false)
269{

Callers 1

StartTalkFunction · 0.85

Calls 3

BackButtonLineFunction · 0.85
AddSTextFunction · 0.85
IsSmallFontTallFunction · 0.85

Tested by

no test coverage detected