66 lines
1.4 KiB
GDScript
66 lines
1.4 KiB
GDScript
extends Control
|
|
var StateTab = null
|
|
func _ready() -> void:
|
|
StateTab = find_child("StateTab")
|
|
func _on_more_option_pressed() -> void:
|
|
%MoreOptionPanel.visibility_layer=not %MoreOptionPanel.visibility_layer
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_ad_view_self_click(is_selected: bool) -> void:
|
|
%ADPanel.visible=not is_selected
|
|
if not is_selected:
|
|
%ADTab.hide()
|
|
StateTab.hide()
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_tunnel_panel_request_hide() -> void:
|
|
%ADTab.hide()
|
|
StateTab.hide()
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_tunnel_panel_search_click(str: String) -> void:
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_language_pressed() -> void:
|
|
if %ADView.is_select:
|
|
StateTab.set_current_tab(0)
|
|
StateTab.show()
|
|
else:
|
|
%ADTab.set_current_tab(0)
|
|
%ADTab.show()
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_tunnel_pressed() -> void:
|
|
if %ADView.is_select:
|
|
|
|
StateTab.set_current_tab(1)
|
|
StateTab.show()
|
|
else:
|
|
%ADTab.set_current_tab(1)
|
|
%ADTab.show()
|
|
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_language_panel_horizontal_click(index: int) -> void:
|
|
%LanguageVertical.set_select(index)
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_language_vertical_click(index: int) -> void:
|
|
%LanguagePanelHorizontal.set_select(index)
|
|
pass # Replace with function body.
|
|
|
|
|
|
func _on_language_close_requeset() -> void:
|
|
%ADTab.hide()
|
|
StateTab.hide()
|
|
pass # Replace with function body.
|