diff options
Diffstat (limited to 'src/scenes')
| -rw-r--r-- | src/scenes/collectionScene.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/scenes/collectionScene.c b/src/scenes/collectionScene.c index 2a9fc22..a5a650f 100644 --- a/src/scenes/collectionScene.c +++ b/src/scenes/collectionScene.c @@ -52,6 +52,15 @@ bool drawCollectionScene(void *self) { DrawBackground(); DrawCollectionName(data->Name); DrawPageView(GetScreenHeight() - 60, 5, 2); + + for (size_t i = 0; i < data->collection->childCount; ++i) { + DrawCollectionElement(&data->collection->children[i], (Rectangle) { + .x = 10 + 210 * i, + .y = 80, + .width = 200, + .height = 450, + }); + } return true; } |
