aboutsummaryrefslogtreecommitdiff
path: root/main.tscn
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-03-31 16:05:54 +0000
committerdam <dam@gudinoff>2022-03-31 16:05:54 +0000
commit9b619b8c5f117e53b121c2d868b024c7c7d08f4c (patch)
tree0dde86709240834ba3acb078b605af1b76a8cb18 /main.tscn
parent6089eeb29382598d69c6b77be88d8ca4b1a3adf5 (diff)
downloadsurgery-log-9b619b8c5f117e53b121c2d868b024c7c7d08f4c.tar.zst
surgery-log-9b619b8c5f117e53b121c2d868b024c7c7d08f4c.zip
Fixed signals on popup and modal_dialog to make those usable.
Diffstat (limited to 'main.tscn')
-rw-r--r--main.tscn25
1 files changed, 14 insertions, 11 deletions
diff --git a/main.tscn b/main.tscn
index 83bcaf8..d388cb5 100644
--- a/main.tscn
+++ b/main.tscn
@@ -1,8 +1,8 @@
-[gd_scene load_steps=14 format=2]
+[gd_scene load_steps=16 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[ext_resource path="res://date_picker/date_picker.tscn" type="PackedScene" id=2]
-[ext_resource path="res://theme_white.tres" type="Theme" id=3]
+[ext_resource path="res://theme_dark.tres" type="Theme" id=3]
[ext_resource path="res://menu/menu.gd" type="Script" id=4]
[ext_resource path="res://logic/database.gd" type="Script" id=5]
[ext_resource path="res://fonts/font_icons.tres" type="DynamicFont" id=6]
@@ -13,6 +13,8 @@
[ext_resource path="res://touch_item_list/touch_item_list.tscn" type="PackedScene" id=11]
[ext_resource path="res://touch_vertical_container/touch_vertical_container.tscn" type="PackedScene" id=12]
[ext_resource path="res://fonts/font_mono_regular.tres" type="DynamicFont" id=13]
+[ext_resource path="res://dialog/dialog.gd" type="Script" id=14]
+[ext_resource path="res://file_picker.gd" type="Script" id=15]
[node name="main" type="Control"]
anchor_right = 1.0
@@ -240,19 +242,11 @@ filters = PoolStringArray( "*.*" )
show_hidden_files = true
current_dir = ""
current_path = ""
+script = ExtResource( 15 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="confirm_action" type="ConfirmationDialog" parent="."]
-anchor_right = 1.0
-anchor_bottom = 1.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-window_title = ""
-dialog_text = "Do you confirm this action?"
-dialog_autowrap = true
-
[node name="popup" type="ColorRect" parent="."]
visible = false
anchor_right = 1.0
@@ -290,7 +284,16 @@ flat = true
[node name="option_set_list" type="Control" parent="."]
visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
rect_clip_content = true
script = ExtResource( 8 )
+[node name="dialog" type="Control" parent="."]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+rect_clip_content = true
+script = ExtResource( 14 )
+
[editable path="stage"]