summaryrefslogtreecommitdiffstats
path: root/screens/TaskManager/Body.gd
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-08-26 19:37:29 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-08-26 19:37:29 -0400
commit5756a8f8ed23f0af88b9a351fbbde7417ac82c2f (patch)
tree483d564f7868a74276a930784f18b3271d6abbcc /screens/TaskManager/Body.gd
parentc96db866eaa188ea73548a58716f3c0a46bc011c (diff)
downloadPlanner-5756a8f8ed23f0af88b9a351fbbde7417ac82c2f.tar.gz
Planner-5756a8f8ed23f0af88b9a351fbbde7417ac82c2f.zip
Add Prototype Task Manager Screen
Diffstat (limited to 'screens/TaskManager/Body.gd')
-rw-r--r--screens/TaskManager/Body.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/screens/TaskManager/Body.gd b/screens/TaskManager/Body.gd
new file mode 100644
index 0000000..9f783fc
--- /dev/null
+++ b/screens/TaskManager/Body.gd
@@ -0,0 +1,10 @@
+extends VBoxContainer
+
+func populate(_data):
+ var TaskCategory = load("res://screens/TaskManager/TaskCategory.tscn")
+ var tabs = $"%Tabs"
+ for i in range(DataHelpers.Frequency.SIZE):
+ var cat = TaskCategory.instance()
+ cat.name = DataHelpers.frequency(i).replace("\n", " ")
+ cat.populate(i)
+ tabs.add_child(cat)