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

Function FileDialogOnFileSelected

LibLemon/src/gui/filedialog.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 void FileDialogOnFileSelected(std::string& path, __attribute__((unused)) FileView* fv){
26 dialogFileBox->contents.front() = path;
27 }
28
29 void FileDialogOnCancelPress(Lemon::GUI::Button* btn){
30 btn->window->closed = true; // Tell FileDialog() that we want to close the window

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected