MCPcopy Create free account
hub / github.com/TurningWheel/Barony / buttonAcceptResolution

Function buttonAcceptResolution

src/menu.cpp:11192–11201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11190}
11191
11192void buttonAcceptResolution(button_t* my)
11193{
11194 confirmResolutionWindow = false;
11195 buttonCloseSubwindow(my);
11196 list_FreeAll(&button_l);
11197 deleteallbuttons = true;
11198 revertResolutionButton = nullptr;
11199
11200 applySettings();
11201}
11202
11203void buttonRevertResolution(button_t* my)
11204{

Callers

nothing calls this directly

Calls 3

list_FreeAllFunction · 0.85
applySettingsFunction · 0.85
buttonCloseSubwindowFunction · 0.70

Tested by

no test coverage detected