Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit b83075e

Browse files
committed
Add placeholders for preset and app settings views
Former-commit-id: 692fd84
1 parent 52afdb4 commit b83075e

8 files changed

+134
-4
lines changed

screens/gui/AppSettingsViewLeft.gd

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
extends BaseSidebar
2+
3+
###############################################################################
4+
# Builtin functions #
5+
###############################################################################
6+
7+
func _ready() -> void:
8+
pass
9+
10+
###############################################################################
11+
# Connections #
12+
###############################################################################
13+
14+
func _on_apply_button_pressed() -> void:
15+
pass
16+
17+
func _on_reset_button_pressed() -> void:
18+
pass
19+
20+
###############################################################################
21+
# Private functions #
22+
###############################################################################
23+
24+
###############################################################################
25+
# Public functions #
26+
###############################################################################
27+
28+
func save() -> Dictionary:
29+
return {}

screens/gui/AppSettingsViewLeft.tscn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
[gd_scene load_steps=2 format=2]
1+
[gd_scene load_steps=3 format=2]
22

33
[ext_resource path="res://screens/gui/BaseSidebar.tscn" type="PackedScene" id=1]
4+
[ext_resource path="res://screens/gui/AppSettingsViewLeft.gd" type="Script" id=2]
45

56
[node name="AppSettingsViewLeft" instance=ExtResource( 1 )]
7+
script = ExtResource( 2 )

screens/gui/AppSettingsViewRight.gd

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
extends BaseSidebar
2+
3+
###############################################################################
4+
# Builtin functions #
5+
###############################################################################
6+
7+
func _ready() -> void:
8+
pass
9+
10+
###############################################################################
11+
# Connections #
12+
###############################################################################
13+
14+
func _on_apply_button_pressed() -> void:
15+
pass
16+
17+
func _on_reset_button_pressed() -> void:
18+
pass
19+
20+
###############################################################################
21+
# Private functions #
22+
###############################################################################
23+
24+
###############################################################################
25+
# Public functions #
26+
###############################################################################
27+
28+
func save() -> Dictionary:
29+
return {}

screens/gui/AppSettingsViewRight.tscn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
[gd_scene load_steps=2 format=2]
1+
[gd_scene load_steps=3 format=2]
22

33
[ext_resource path="res://screens/gui/BaseSidebar.tscn" type="PackedScene" id=1]
4+
[ext_resource path="res://screens/gui/AppSettingsViewRight.gd" type="Script" id=2]
45

56
[node name="AppSettingsViewRight" instance=ExtResource( 1 )]
7+
script = ExtResource( 2 )

screens/gui/PresetViewLeft.gd

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
extends BaseSidebar
2+
3+
###############################################################################
4+
# Builtin functions #
5+
###############################################################################
6+
7+
func _ready() -> void:
8+
_setup()
9+
10+
###############################################################################
11+
# Connections #
12+
###############################################################################
13+
14+
func _on_apply_button_pressed() -> void:
15+
push_error("Not yet implemented")
16+
17+
func _on_reset_button_pressed() -> void:
18+
push_error("Not yet implemented")
19+
20+
###############################################################################
21+
# Private functions #
22+
###############################################################################
23+
24+
func _setup() -> void:
25+
pass
26+
27+
###############################################################################
28+
# Public functions #
29+
###############################################################################
30+
31+
func save() -> Dictionary:
32+
return {}

screens/gui/PresetViewLeft.tscn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
[gd_scene load_steps=2 format=2]
1+
[gd_scene load_steps=3 format=2]
22

33
[ext_resource path="res://screens/gui/BaseSidebar.tscn" type="PackedScene" id=1]
4+
[ext_resource path="res://screens/gui/PresetViewLeft.gd" type="Script" id=2]
45

56
[node name="PresetViewLeft" instance=ExtResource( 1 )]
7+
script = ExtResource( 2 )

screens/gui/PresetViewRight.gd

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
extends BaseSidebar
2+
3+
###############################################################################
4+
# Builtin functions #
5+
###############################################################################
6+
7+
func _ready() -> void:
8+
_setup()
9+
10+
###############################################################################
11+
# Connections #
12+
###############################################################################
13+
14+
func _on_apply_button_pressed() -> void:
15+
push_error("Not yet implemented")
16+
17+
func _on_reset_button_pressed() -> void:
18+
push_error("Not yet implemented")
19+
20+
###############################################################################
21+
# Private functions #
22+
###############################################################################
23+
24+
func _setup() -> void:
25+
pass
26+
27+
###############################################################################
28+
# Public functions #
29+
###############################################################################
30+
31+
func save() -> Dictionary:
32+
return {}

screens/gui/PresetViewRight.tscn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
[gd_scene load_steps=2 format=2]
1+
[gd_scene load_steps=3 format=2]
22

33
[ext_resource path="res://screens/gui/BaseSidebar.tscn" type="PackedScene" id=1]
4+
[ext_resource path="res://screens/gui/PresetViewRight.gd" type="Script" id=2]
45

56
[node name="PresetViewRight" instance=ExtResource( 1 )]
7+
script = ExtResource( 2 )

0 commit comments

Comments
 (0)