MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / OnMessageBoxCancelPressed

Function OnMessageBoxCancelPressed

LibLemon/src/gui/messagebox.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 void OnMessageBoxCancelPressed(Lemon::GUI::Button* b){
16 pressed = 0;
17 b->window->closed = true;
18 }
19
20 int DisplayMessageBox(const char* title, const char* message, MsgBoxButtons buttons){
21 int width = Graphics::GetTextLength(message) + 10;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected