aboutsummaryrefslogtreecommitdiff
path: root/main.tscn
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-03-27 16:57:14 +0000
committerdam <dam@gudinoff>2022-03-27 16:57:14 +0000
commitf6369eaee39abe3d360ba42278a5a2a1d166f5af (patch)
tree1fec29cbf9de9537efec5a4b7ddd870e4fc2f512 /main.tscn
parenta6d836d53a09c5b2abedccba51ac428fcfc74379 (diff)
downloadsurgery-log-f6369eaee39abe3d360ba42278a5a2a1d166f5af.tar.zst
surgery-log-f6369eaee39abe3d360ba42278a5a2a1d166f5af.zip
Implemented prototype of option set list component.
Diffstat (limited to 'main.tscn')
-rw-r--r--main.tscn28
1 files changed, 15 insertions, 13 deletions
diff --git a/main.tscn b/main.tscn
index ed59082..8e750d4 100644
--- a/main.tscn
+++ b/main.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=12 format=2]
+[gd_scene load_steps=13 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]
@@ -7,8 +7,9 @@
[ext_resource path="res://logic/database.gd" type="Script" id=5]
[ext_resource path="res://fonts/font_icons.tres" type="DynamicFont" id=6]
[ext_resource path="res://option_set/option_set.tscn" type="PackedScene" id=7]
+[ext_resource path="res://option_set/option_set_list.gd" type="Script" id=8]
[ext_resource path="res://logic/stage.gd" type="Script" id=9]
-[ext_resource path="res://logic/popup_list.gd" type="Script" id=10]
+[ext_resource path="res://logic/popup.gd" type="Script" id=10]
[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]
@@ -17,9 +18,6 @@ anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 3 )
script = ExtResource( 1 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
[node name="database" parent="." instance=ExtResource( 11 )]
script = ExtResource( 5 )
@@ -246,19 +244,23 @@ window_title = "CONFIRM ACTION"
dialog_text = "Do you confirm this action?"
dialog_autowrap = true
-[node name="popup_list" type="Popup" parent="."]
+[node name="popup" type="ColorRect" parent="."]
+visible = false
anchor_right = 1.0
anchor_bottom = 1.0
-popup_exclusive = true
+color = Color( 0, 0, 0, 0.501961 )
script = ExtResource( 10 )
-[node name="blur" type="ColorRect" parent="popup_list"]
-show_behind_parent = true
-anchor_right = 1.0
-anchor_bottom = 1.0
-color = Color( 0, 0, 0, 0.75 )
+[node name="background" type="Panel" parent="popup"]
+anchor_left = 0.05
+anchor_top = 0.025
+anchor_right = 0.95
+anchor_bottom = 0.975
-[node name="list" parent="popup_list" instance=ExtResource( 11 )]
+[node name="option_set_list" type="Control" parent="."]
+visible = false
+rect_clip_content = true
+script = ExtResource( 8 )
[node name="debug" type="Label" parent="."]
visible = false