[gd_scene load_steps=9 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) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_playback"] 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_top = 1 border_color = Color(0.121569, 0.160784, 0.219608, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sections"] content_margin_left = 12.0 content_margin_top = 12.0 content_margin_right = 12.0 content_margin_bottom = 12.0 bg_color = Color(0.0588235, 0.0901961, 0.164706, 1) border_width_left = 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="FileMenuButton" type="MenuButton" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 20 text = "☰" tooltip_text = "Datei" [node name="TitleSeparator" type="VSeparator" parent="Layout/TopBar/Tools"] layout_mode = 2 [node name="ToolLabel" 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 = "Werkzeug" vertical_alignment = 1 [node name="ToolOption" type="OptionButton" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(170, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 [node name="ToolSeparator" type="VSeparator" parent="Layout/TopBar/Tools"] layout_mode = 2 [node name="ForwardButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(96, 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(96, 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="InsideButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(80, 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(80, 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(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 20 disabled = true text = "↶" tooltip_text = "Rückgängig (Strg+Z)" [node name="RedoButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 20 disabled = true text = "↷" tooltip_text = "Wiederholen (Strg+Shift+Z)" [node name="FitButton" type="Button" parent="Layout/TopBar/Tools"] unique_name_in_owner = true custom_minimum_size = Vector2(96, 48) layout_mode = 2 theme_override_font_sizes/font_size = 16 text = "Einpassen" [node name="Content" type="HBoxContainer" parent="Layout"] layout_mode = 2 size_flags_vertical = 3 theme_override_constants/separation = 0 [node name="RinkCanvas" type="Control" parent="Layout/Content"] unique_name_in_owner = true clip_contents = true layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("2_canvas") [node name="SectionsPanel" type="PanelContainer" parent="Layout/Content"] custom_minimum_size = Vector2(300, 0) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_sections") [node name="SectionsVBox" type="VBoxContainer" parent="Layout/Content/SectionsPanel"] layout_mode = 2 theme_override_constants/separation = 8 [node name="Header" type="HBoxContainer" parent="Layout/Content/SectionsPanel/SectionsVBox"] layout_mode = 2 theme_override_constants/separation = 8 [node name="SectionsTitle" type="Label" parent="Layout/Content/SectionsPanel/SectionsVBox/Header"] layout_mode = 2 theme_override_colors/font_color = Color(0.882353, 0.909804, 0.941176, 1) theme_override_font_sizes/font_size = 18 text = "Abschnitte" vertical_alignment = 1 [node name="HeaderSpacer" type="Control" parent="Layout/Content/SectionsPanel/SectionsVBox/Header"] layout_mode = 2 size_flags_horizontal = 3 [node name="AddSectionButton" type="Button" parent="Layout/Content/SectionsPanel/SectionsVBox/Header"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 20 text = "+" tooltip_text = "Abschnitt hinzufügen" [node name="SectionScroll" type="ScrollContainer" parent="Layout/Content/SectionsPanel/SectionsVBox"] layout_mode = 2 size_flags_vertical = 3 horizontal_scroll_mode = 0 [node name="SectionList" type="VBoxContainer" parent="Layout/Content/SectionsPanel/SectionsVBox/SectionScroll"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 6 [node name="Footer" type="VBoxContainer" parent="Layout/Content/SectionsPanel/SectionsVBox"] layout_mode = 2 theme_override_constants/separation = 6 [node name="MoveRow" type="HBoxContainer" parent="Layout/Content/SectionsPanel/SectionsVBox/Footer"] layout_mode = 2 theme_override_constants/separation = 6 [node name="MoveUpButton" type="Button" parent="Layout/Content/SectionsPanel/SectionsVBox/Footer/MoveRow"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 14 text = "Hoch" [node name="MoveDownButton" type="Button" parent="Layout/Content/SectionsPanel/SectionsVBox/Footer/MoveRow"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 14 text = "Runter" [node name="EditRow" type="HBoxContainer" parent="Layout/Content/SectionsPanel/SectionsVBox/Footer"] layout_mode = 2 theme_override_constants/separation = 6 [node name="RenameButton" type="Button" parent="Layout/Content/SectionsPanel/SectionsVBox/Footer/EditRow"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 14 text = "Umbenennen" [node name="DeleteButton" type="Button" parent="Layout/Content/SectionsPanel/SectionsVBox/Footer/EditRow"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 size_flags_horizontal = 3 theme_override_font_sizes/font_size = 14 text = "Abschnitt löschen" [node name="TimingBar" type="PanelContainer" parent="Layout"] custom_minimum_size = Vector2(0, 64) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_playback") [node name="TimingContent" type="HBoxContainer" parent="Layout/TimingBar"] layout_mode = 2 theme_override_constants/separation = 8 [node name="TimingTitle" type="Label" parent="Layout/TimingBar/TimingContent"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 14 text = "Timing" vertical_alignment = 1 [node name="TimingSelectionLabel" type="Label" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(170, 48) layout_mode = 2 theme_override_colors/font_color = Color(0.85098, 0.890196, 0.941176, 1) theme_override_font_sizes/font_size = 14 text = "Kein Segment ausgewählt" vertical_alignment = 1 [node name="TimingSeparator1" type="VSeparator" parent="Layout/TimingBar/TimingContent"] layout_mode = 2 [node name="DurationLabel" type="Label" parent="Layout/TimingBar/TimingContent"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 14 text = "Dauer" vertical_alignment = 1 [node name="DurationMinusButton" type="Button" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 18 disabled = true text = "−" tooltip_text = "Dauer verringern" [node name="DurationValueLabel" type="Label" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(64, 48) layout_mode = 2 theme_override_colors/font_color = Color(0.85098, 0.890196, 0.941176, 1) theme_override_font_sizes/font_size = 14 text = "…" horizontal_alignment = 1 vertical_alignment = 1 [node name="DurationPlusButton" type="Button" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 18 disabled = true text = "+" tooltip_text = "Dauer erhöhen" [node name="TimingSeparator2" type="VSeparator" parent="Layout/TimingBar/TimingContent"] layout_mode = 2 [node name="SpeedLabel" type="Label" parent="Layout/TimingBar/TimingContent"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 14 text = "Tempo" vertical_alignment = 1 [node name="SpeedMinusButton" type="Button" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 18 disabled = true text = "−" tooltip_text = "Tempo verringern" [node name="SpeedValueLabel" type="Label" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(78, 48) layout_mode = 2 theme_override_colors/font_color = Color(0.85098, 0.890196, 0.941176, 1) theme_override_font_sizes/font_size = 14 text = "…" horizontal_alignment = 1 vertical_alignment = 1 [node name="SpeedPlusButton" type="Button" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(48, 48) layout_mode = 2 theme_override_font_sizes/font_size = 18 disabled = true text = "+" tooltip_text = "Tempo erhöhen" [node name="TimingSeparator3" type="VSeparator" parent="Layout/TimingBar/TimingContent"] layout_mode = 2 [node name="ProfileOption" type="OptionButton" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(140, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 tooltip_text = "Geschwindigkeitsprofil für Auswahl bzw. neue Segmente" [node name="CalibrateButton" type="Button" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 disabled = true text = "Kalibrieren" tooltip_text = "Geschwindigkeit aus Strecke und gemessener Zeit berechnen" [node name="ResetTimingButton" type="Button" parent="Layout/TimingBar/TimingContent"] unique_name_in_owner = true custom_minimum_size = Vector2(90, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 disabled = true text = "Standard" tooltip_text = "Auf Adult Gold (4,3 m/s) zurücksetzen" [node name="PlaybackBar" type="PanelContainer" parent="Layout"] custom_minimum_size = Vector2(0, 64) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_playback") [node name="PlaybackContent" type="HBoxContainer" parent="Layout/PlaybackBar"] layout_mode = 2 theme_override_constants/separation = 8 [node name="PlayButton" type="Button" parent="Layout/PlaybackBar/PlaybackContent"] unique_name_in_owner = true custom_minimum_size = Vector2(80, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 disabled = true text = "Start" tooltip_text = "Abspielen" [node name="ResetPlaybackButton" type="Button" parent="Layout/PlaybackBar/PlaybackContent"] unique_name_in_owner = true custom_minimum_size = Vector2(80, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 disabled = true text = "Reset" tooltip_text = "Zurücksetzen" [node name="PlaybackTimeLabel" type="Label" parent="Layout/PlaybackBar/PlaybackContent"] unique_name_in_owner = true custom_minimum_size = Vector2(150, 48) layout_mode = 2 theme_override_colors/font_color = Color(0.85098, 0.890196, 0.941176, 1) theme_override_font_sizes/font_size = 14 text = "0,0 / 0,0 s" horizontal_alignment = 1 vertical_alignment = 1 [node name="PlaybackTimeline" type="HSlider" parent="Layout/PlaybackBar/PlaybackContent"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 size_flags_horizontal = 3 max_value = 0.0 step = 0.01 editable = false [node name="SpeedOption" type="OptionButton" parent="Layout/PlaybackBar/PlaybackContent"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 tooltip_text = "Wiedergabegeschwindigkeit" [node name="StatusBar" type="PanelContainer" parent="Layout"] custom_minimum_size = Vector2(0, 56) layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_status") [node name="StatusBarContent" type="HBoxContainer" parent="Layout/StatusBar"] layout_mode = 2 theme_override_constants/separation = 8 [node name="StatusLabel" type="Label" parent="Layout/StatusBar/StatusBarContent"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 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 [node name="DeleteSegmentButton" type="Button" parent="Layout/StatusBar/StatusBarContent"] unique_name_in_owner = true custom_minimum_size = Vector2(160, 48) layout_mode = 2 theme_override_font_sizes/font_size = 14 disabled = true text = "Segment löschen" [node name="RenameDialog" type="ConfirmationDialog" parent="."] unique_name_in_owner = true title = "Abschnitt umbenennen" size = Vector2i(420, 190) ok_button_text = "Übernehmen" cancel_button_text = "Abbrechen" [node name="RenameBox" type="VBoxContainer" parent="RenameDialog"] offset_left = 8.0 offset_top = 8.0 offset_right = 412.0 offset_bottom = 120.0 theme_override_constants/separation = 8 [node name="RenameLabel" type="Label" parent="RenameDialog/RenameBox"] layout_mode = 2 text = "Neuer Name" [node name="RenameEdit" type="LineEdit" parent="RenameDialog/RenameBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="DeleteDialog" type="ConfirmationDialog" parent="."] unique_name_in_owner = true title = "Abschnitt löschen" size = Vector2i(460, 160) ok_button_text = "Löschen" cancel_button_text = "Abbrechen" [node name="AutosaveTimer" type="Timer" parent="."] unique_name_in_owner = true wait_time = 1.5 one_shot = true [node name="SaveAsDialog" type="ConfirmationDialog" parent="."] unique_name_in_owner = true title = "Kür speichern unter" size = Vector2i(460, 210) ok_button_text = "Speichern" cancel_button_text = "Abbrechen" [node name="SaveAsBox" type="VBoxContainer" parent="SaveAsDialog"] offset_left = 8.0 offset_top = 8.0 offset_right = 452.0 offset_bottom = 140.0 theme_override_constants/separation = 8 [node name="SaveAsLabel" type="Label" parent="SaveAsDialog/SaveAsBox"] layout_mode = 2 text = "Name der Kür" [node name="SaveNameEdit" type="LineEdit" parent="SaveAsDialog/SaveAsBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="OpenDialog" type="AcceptDialog" parent="."] unique_name_in_owner = true title = "Kür öffnen" size = Vector2i(520, 460) ok_button_text = "Schließen" [node name="OpenBox" type="VBoxContainer" parent="OpenDialog"] offset_left = 8.0 offset_top = 8.0 offset_right = 512.0 offset_bottom = 390.0 theme_override_constants/separation = 8 [node name="OpenLabel" type="Label" parent="OpenDialog/OpenBox"] layout_mode = 2 text = "Gespeicherte Kürläufe" [node name="OpenScroll" type="ScrollContainer" parent="OpenDialog/OpenBox"] custom_minimum_size = Vector2(0, 300) layout_mode = 2 size_flags_vertical = 3 horizontal_scroll_mode = 0 [node name="OpenList" type="VBoxContainer" parent="OpenDialog/OpenBox/OpenScroll"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 6 [node name="ConfirmDialog" type="ConfirmationDialog" parent="."] unique_name_in_owner = true title = "Ungespeicherte Änderungen" size = Vector2i(460, 160) ok_button_text = "Verwerfen" cancel_button_text = "Abbrechen" [node name="MessageDialog" type="AcceptDialog" parent="."] unique_name_in_owner = true title = "Rinkplanner" size = Vector2i(520, 180) ok_button_text = "OK" [node name="CalibrationDialog" type="ConfirmationDialog" parent="."] unique_name_in_owner = true title = "Timing kalibrieren" size = Vector2i(460, 300) ok_button_text = "Übernehmen" cancel_button_text = "Abbrechen" [node name="CalibrationBox" type="VBoxContainer" parent="CalibrationDialog"] offset_left = 8.0 offset_top = 8.0 offset_right = 452.0 offset_bottom = 230.0 theme_override_constants/separation = 8 [node name="CalibrationDistanceLabel" type="Label" parent="CalibrationDialog/CalibrationBox"] layout_mode = 2 text = "Strecke (m)" [node name="CalibrationDistanceEdit" type="LineEdit" parent="CalibrationDialog/CalibrationBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="CalibrationTimeLabel" type="Label" parent="CalibrationDialog/CalibrationBox"] layout_mode = 2 text = "Gemessene Zeit (s)" [node name="CalibrationTimeEdit" type="LineEdit" parent="CalibrationDialog/CalibrationBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="CalibrationHint" type="Label" parent="CalibrationDialog/CalibrationBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 12 text = "Geschwindigkeit = Strecke / Zeit" [node name="ExportDialog" type="ConfirmationDialog" parent="."] unique_name_in_owner = true title = "Kür exportieren" size = Vector2i(480, 360) ok_button_text = "Exportieren" cancel_button_text = "Abbrechen" [node name="ExportBox" type="VBoxContainer" parent="ExportDialog"] offset_left = 8.0 offset_top = 8.0 offset_right = 472.0 offset_bottom = 280.0 theme_override_constants/separation = 8 [node name="ExportNameLabel" type="Label" parent="ExportDialog/ExportBox"] layout_mode = 2 text = "Dateiname" [node name="ExportNameEdit" type="LineEdit" parent="ExportDialog/ExportBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="ExportFormatLabel" type="Label" parent="ExportDialog/ExportBox"] layout_mode = 2 text = "Format" [node name="ExportFormatOption" type="OptionButton" parent="ExportDialog/ExportBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="ExportScopeLabel" type="Label" parent="ExportDialog/ExportBox"] layout_mode = 2 text = "Umfang" [node name="ExportScopeOption" type="OptionButton" parent="ExportDialog/ExportBox"] unique_name_in_owner = true custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="ExportHint" type="Label" parent="ExportDialog/ExportBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.580392, 0.639216, 0.721569, 1) theme_override_font_sizes/font_size = 12 text = "Ziel: user://exports"