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

Function FileDialogOnCancelPress

LibLemon/src/gui/filedialog.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void FileDialogOnCancelPress(Lemon::GUI::Button* btn){
30 btn->window->closed = true; // Tell FileDialog() that we want to close the window
31 }
32
33 void FileDialogOnFileBoxSubmit(Lemon::GUI::TextBox* box){
34 if(box->contents.front().find('/') != std::string::npos && box->contents.size() > NAME_MAX){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected