Add open file dialog panel to foundation

This commit is contained in:
Colin Davidson
2023-02-18 14:56:51 -08:00
parent 66f2881a78
commit ed371f2b0d
4 changed files with 52 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
package objc_Foundation
@(objc_class="NSSavePanel")
SavePanel :: struct{ using _: Panel }
@(objc_type=SavePanel, objc_name="runModal")
SavePanel_runModal :: proc(self: ^SavePanel) -> ModalResponse {
return msgSend(ModalResponse, self, "runModal")
}