| 87 | } |
| 88 | |
| 89 | void OpenFile(){ |
| 90 | |
| 91 | char* filePath = Lemon::GUI::FileDialog("/"); |
| 92 | |
| 93 | if(!filePath){ |
| 94 | Lemon::GUI::DisplayMessageBox("Message", "Invalid filepath!", Lemon::GUI::MsgButtonsOK); |
| 95 | return; |
| 96 | } |
| 97 | |
| 98 | LoadFile(filePath); |
| 99 | } |
| 100 | |
| 101 | void SaveFileAs(){ |
| 102 | char* filePath = Lemon::GUI::FileDialog(".", FILE_DIALOG_CREATE); |
no test coverage detected