Initial commit
Half-baked state. Most of the UI is mostly done, but the integration with Grist (or any other data provider) is still missing.
This commit is contained in:
17
addons/onscreenkeyboard/plugin_node.gd
Normal file
17
addons/onscreenkeyboard/plugin_node.gd
Normal file
@@ -0,0 +1,17 @@
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
func _enter_tree():
|
||||
# Initialization of the plugin goes here
|
||||
# Add the new type with a name, a parent type, a script and an icon
|
||||
add_custom_type(
|
||||
"OnscreenKeyboard",
|
||||
"PanelContainer",
|
||||
preload("onscreen_keyboard.gd"),
|
||||
preload("icon.png")
|
||||
)
|
||||
|
||||
func _exit_tree():
|
||||
# Clean-up of the plugin goes here
|
||||
# Always remember to remove it from the engine when deactivated
|
||||
remove_custom_type("OnscreenKeyboard")
|
||||
Reference in New Issue
Block a user