rat-times/addons/native_dialogs/native_dialogs.gd

12 lines
517 B
GDScript3
Raw Normal View History

2023-04-25 23:10:17 +00:00
const Message = preload("./bin/native_dialog_message.gdns")
const Notify = preload("./bin/native_dialog_notify.gdns")
const OpenFile = preload("./bin/native_dialog_open_file.gdns")
const SaveFile = preload("./bin/native_dialog_save_file.gdns")
const SelectFolder = preload("./bin/native_dialog_select_folder.gdns")
enum MessageChoices { OK, OK_CANCEL, YES_NO, YES_NO_CANCEL }
enum MessageIcons { INFO, WARNING, ERROR, QUESTION }
enum MessageResults { OK, CANCEL, YES, NO }
enum NotifyIcons { INFO, WARNING, ERROR }