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

Function OnMessageBoxOKPressed

LibLemon/src/gui/messagebox.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8{
9 int pressed = 1;
10 void OnMessageBoxOKPressed(Lemon::GUI::Button* b){
11 pressed = 1;
12 b->window->closed = true;
13 }
14
15 void OnMessageBoxCancelPressed(Lemon::GUI::Button* b){
16 pressed = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected