diff options
Diffstat (limited to 'screens/TaskManager/Body.gd')
-rw-r--r-- | screens/TaskManager/Body.gd | 10 |
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) |