remove native dialogs

This commit is contained in:
xananax prozaxx 2023-04-30 18:48:31 +02:00
parent 8fd89c3b4c
commit 320d6ceb0b
25 changed files with 0 additions and 327 deletions

View File

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2022 Tomás Espejo Gómez
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,9 +0,0 @@
[gd_resource type="NativeScript" load_steps=2 format=2]
[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1]
[resource]
resource_name = "native_dialog_message"
class_name = "NativeDialogMessage"
library = ExtResource( 1 )
script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_message.png"

View File

@ -1,9 +0,0 @@
[gd_resource type="NativeScript" load_steps=2 format=2]
[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1]
[resource]
resource_name = "native_dialog_notify"
class_name = "NativeDialogNotify"
library = ExtResource( 1 )
script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_notify.png"

View File

@ -1,9 +0,0 @@
[gd_resource type="NativeScript" load_steps=2 format=2]
[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1]
[resource]
resource_name = "native_dialog_open_file"
class_name = "NativeDialogOpenFile"
library = ExtResource( 1 )
script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_open_file.png"

View File

@ -1,9 +0,0 @@
[gd_resource type="NativeScript" load_steps=2 format=2]
[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1]
[resource]
resource_name = "native_dialog_save_file"
class_name = "NativeDialogSaveFile"
library = ExtResource( 1 )
script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_save_file.png"

View File

@ -1,9 +0,0 @@
[gd_resource type="NativeScript" load_steps=2 format=2]
[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1]
[resource]
resource_name = "native_dialog_select_folder"
class_name = "NativeDialogSelectFolder"
library = ExtResource( 1 )
script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_select_folder.png"

View File

@ -1,18 +0,0 @@
[general]
singleton=false
load_once=true
symbol_prefix="godot_"
reloadable=false
[entry]
X11.64="res://addons/native_dialogs/bin/x11/libnativedialogs.so"
Windows.64="res://addons/native_dialogs/bin/win64/libnativedialogs.dll"
OSX.64="res://addons/native_dialogs/bin/osx/libnativedialogs.dylib"
[dependencies]
X11.64=[ ]
Windows.64=[ ]
OSX.64=[ ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

View File

@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/native_dialog_message.png-d3a3788b812cbdd538caffc1bd4f6303.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/native_dialogs/icons/native_dialog_message.png"
dest_files=[ "res://.import/native_dialog_message.png-d3a3788b812cbdd538caffc1bd4f6303.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 B

View File

@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/native_dialog_notify.png-5ccb03b82c726e402d1ee63705cdfce9.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/native_dialogs/icons/native_dialog_notify.png"
dest_files=[ "res://.import/native_dialog_notify.png-5ccb03b82c726e402d1ee63705cdfce9.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

View File

@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/native_dialog_open_file.png-94d31b95f481d556dcb2679a4986fc3e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/native_dialogs/icons/native_dialog_open_file.png"
dest_files=[ "res://.import/native_dialog_open_file.png-94d31b95f481d556dcb2679a4986fc3e.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

View File

@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/native_dialog_save_file.png-488c5f5500af041c2ce0b2fc9836df36.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/native_dialogs/icons/native_dialog_save_file.png"
dest_files=[ "res://.import/native_dialog_save_file.png-488c5f5500af041c2ce0b2fc9836df36.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

View File

@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/native_dialog_select_folder.png-38710e428d30ce3e92fad43e6141022e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/native_dialogs/icons/native_dialog_select_folder.png"
dest_files=[ "res://.import/native_dialog_select_folder.png-38710e428d30ce3e92fad43e6141022e.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@ -1,11 +0,0 @@
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 }

View File

@ -1,7 +0,0 @@
[plugin]
name="Native Dialogs"
description="Native Dialogs is a plugin for Godot that allows you to interact with OS-specific dialogs, such as notifications, messages and file dialogs. "
author="Teggy"
version="1.0.0"
script="plugin.gd"

View File

@ -1,50 +0,0 @@
tool
extends EditorPlugin
const NativeDialogs = preload("./native_dialogs.gd")
func _enter_tree():
add_custom_type(
"NativeDialogMessage",
"Node",
NativeDialogs.Message,
preload("./icons/native_dialog_message.png")
)
add_custom_type(
"NativeDialogNotify",
"Node",
NativeDialogs.Notify,
preload("./icons/native_dialog_notify.png")
)
add_custom_type(
"NativeDialogOpenFile",
"Node",
NativeDialogs.OpenFile,
preload("./icons/native_dialog_open_file.png")
)
add_custom_type(
"NativeDialogSaveFile",
"Node",
NativeDialogs.SaveFile,
preload("./icons/native_dialog_save_file.png")
)
add_custom_type(
"NativeDialogSelectFolder",
"Node",
NativeDialogs.SelectFolder,
preload("./icons/native_dialog_select_folder.png")
)
func _exit_tree():
remove_custom_type("NativeDialogMessage")
remove_custom_type("NativeDialogNotify")
remove_custom_type("NativeDialogOpenFile")
remove_custom_type("NativeDialogSaveFile")
remove_custom_type("NativeDialogSelectFolder")