[gd_scene load_steps=7 format=3] [ext_resource type="Script" path="res://src/whiteboard/ctrl/whiteboard_controller.gd" id="1_controller"] [ext_resource type="Script" path="res://src/whiteboard/view/rink_canvas.gd" id="2_canvas"] [sub_resource type="ButtonGroup" id="ButtonGroup_direction"] [sub_resource type="ButtonGroup" id="ButtonGroup_edge"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_top"] content_margin_left = 16.0 content_margin_top = 8.0 content_margin_right = 16.0 content_margin_bottom = 8.0 bg_color = Color(0.0588235, 0.0901961, 0.164706, 1) border_width_bottom = 1 border_color = Color(0.121569, 0.160784, 0.219608, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_status"] content_margin_left = 16.0 content_margin_top = 4.0 content_margin_right = 16.0 content_margin_bottom = 4.0 bg_color = Color(0.0431373, 0.0705882, 0.12549, 1) border_width_top = 1 border_color = Color(0.121569, 0.160784, 0.219608, 1) [node name="Whiteboard" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_controller") [node name="Layout" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 0 [node name="TopBar" type="PanelContainer" parent="Layout"] custom_minimum_size = Vector2(0, 72) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_top") [node name="Tools" type="HBoxContainer" parent="Layout/TopBar"] layout_mode = 2 theme_override_constants/separation = 10 [node name="Title" type="Label" parent="Layout/TopBar/Tools"] layout_mode = 2 theme_override_colors/font_color = Color(0.882353, 0.909804, 0.941176, 1) theme_override_font_sizes/font_size = 22 text = "Rinkplanner" vertical_alignment = 1 [node name="TitleSeparator" type="VSeparator" parent="Layout/TopBar/Tools"] layout_mode = 2 [node name="DrawButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(112, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 toggle_mode = true button_pressed = true text = "Zeichnen" [node name="DrawSeparator" type="VSeparator" parent="Layout/TopBar/Tools"] layout_mode = 2 [node name="DirectionLabel" type="Label" parent="Layout/TopBar/Tools"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 14 text = "Richtung" vertical_alignment = 1 [node name="ForwardButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(104, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 toggle_mode = true button_pressed = true button_group = SubResource("ButtonGroup_direction") text = "Vorwärts" [node name="BackwardButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(104, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 toggle_mode = true button_group = SubResource("ButtonGroup_direction") text = "Rückwärts" [node name="EdgeSeparator" type="VSeparator" parent="Layout/TopBar/Tools"] layout_mode = 2 [node name="EdgeLabel" type="Label" parent="Layout/TopBar/Tools"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 14 text = "Kante" vertical_alignment = 1 [node name="InsideButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(88, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 toggle_mode = true button_group = SubResource("ButtonGroup_edge") text = "Innen" [node name="OutsideButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(88, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 toggle_mode = true button_pressed = true button_group = SubResource("ButtonGroup_edge") text = "Außen" [node name="Spacer" type="Control" parent="Layout/TopBar/Tools"] layout_mode = 2 size_flags_horizontal = 3 [node name="UndoButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(120, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 text = "Rückgängig" [node name="FitButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(110, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 text = "Einpassen" [node name="RinkCanvas" type="Control" parent="Layout"] unique_name_in_owner = true clip_contents = true layout_mode = 2 size_flags_vertical = 3 script = ExtResource("2_canvas") [node name="StatusBar" type="PanelContainer" parent="Layout"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_status") [node name="StatusLabel" type="Label" parent="Layout/StatusBar"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 14 text = "Abschnitt 1 · 0 Segmente" vertical_alignment = 1