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

Function SaveOpenFile

Applications/TextEdit/main.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void SaveOpenFile(){
120 if(!openPath.length()){
121 SaveFileAs();
122 } else {
123 SaveFile(openPath.c_str());
124 }
125}
126
127void OnWindowPaint(surface_t* surface){
128 Lemon::Graphics::DrawRect(0, window->GetSize().y - 20, window->GetSize().x, 20, 160, 160, 160, surface);

Callers 1

OnWindowCmdFunction · 0.85

Calls 3

SaveFileAsFunction · 0.85
SaveFileFunction · 0.85
lengthMethod · 0.80

Tested by

no test coverage detected