summaryrefslogtreecommitdiffstats
path: root/screens/Schedule/Body.gd
diff options
context:
space:
mode:
Diffstat (limited to 'screens/Schedule/Body.gd')
-rw-r--r--screens/Schedule/Body.gd13
1 files changed, 13 insertions, 0 deletions
diff --git a/screens/Schedule/Body.gd b/screens/Schedule/Body.gd
new file mode 100644
index 0000000..7760a59
--- /dev/null
+++ b/screens/Schedule/Body.gd
@@ -0,0 +1,13 @@
+extends VBoxContainer
+
+func populate(data):
+ var TimeSlotItem = load("res://screens/Schedule/TimeSlotItem.tscn")
+ var timeslot_list = $"%TimeSlotList"
+ for timeslot in data:
+ var item = TimeSlotItem.instance()
+ item.populate(timeslot)
+ timeslot_list.add_child(item)
+
+
+func _on_ManageTasks_button_up():
+ $"/root/Main".nav_screen("TaskManager", DataHelpers, "dummy_data", [[]])