Task now ask Interface to update task status instead of just doing it themselves whenever they want, stubbed apply_patch method, moved unpacking into its own method

This commit is contained in:
2021-11-26 15:21:22 -06:00
parent 6c18e16357
commit 2a65761b8d
3 changed files with 41 additions and 14 deletions

View File

@@ -53,14 +53,10 @@ class W3DHub
@operations_container = stack(width: 1.0, height: 0.9, padding: 8, scroll: true) do
# TODO: Show actual list of downloads
p ["DOWNLOAD MANAGER", task.status.operations.size]
i = -1
task.status.operations.each do |key, operation|
i += 1
p [key, operation.label]
stack(width: 1.0, height: 24, padding: 8) do
background 0xff_333333 if i.odd?