First work on dialogic, resized guild, and started implementing portraits.
This commit is contained in:
35
addons/dialogic/Editor/Settings/settings_page.gd
Normal file
35
addons/dialogic/Editor/Settings/settings_page.gd
Normal file
@@ -0,0 +1,35 @@
|
||||
@tool
|
||||
extends Control
|
||||
class_name DialogicSettingsPage
|
||||
|
||||
@export_multiline var short_info := ""
|
||||
|
||||
## Called to get the title of the page
|
||||
func _get_title() -> String:
|
||||
return name
|
||||
|
||||
|
||||
## Called to get the ordering of the page
|
||||
func _get_priority() -> int:
|
||||
return 0
|
||||
|
||||
|
||||
## Called to know whether to put this in the features section
|
||||
func _is_feature_tab() -> bool:
|
||||
return false
|
||||
|
||||
|
||||
## Called when the settings editor is opened
|
||||
func _refresh() -> void:
|
||||
pass
|
||||
|
||||
|
||||
## Called before the settings editor closes (another editor is opened)
|
||||
## Can be used to safe stuff
|
||||
func _about_to_close() -> void:
|
||||
pass
|
||||
|
||||
|
||||
## Return a section with information.
|
||||
func _get_info_section() -> Control:
|
||||
return null
|
||||
Reference in New Issue
Block a user