Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
21
addons/dialogic/Documentation/Nodes/DocumentationViewer.gd
Normal file
21
addons/dialogic/Documentation/Nodes/DocumentationViewer.gd
Normal file
|
@ -0,0 +1,21 @@
|
|||
tool
|
||||
extends Control
|
||||
|
||||
onready var DocTree = $HSplit / VBoxContainer / DocumentationTree
|
||||
onready var DocPageViewer = $HSplit / DocsPageViewer
|
||||
|
||||
|
||||
func _on_DocsPageViewer_open_non_html_link(link, section):
|
||||
DocTree.select_item(link)
|
||||
DocPageViewer.scroll_to_section(section)
|
||||
|
||||
func _on_DocumentationTree_page_selected(path):
|
||||
DocPageViewer.load_page(path)
|
||||
|
||||
func _on_FilterEntry_text_changed(new_text):
|
||||
var child = DocTree.documentation_tree.get_children()
|
||||
while child:
|
||||
child.call_recursive("call_deferred", "free")
|
||||
child = child.get_next()
|
||||
|
||||
DocTree.call_deferred("update")
|
Loading…
Add table
Add a link
Reference in a new issue