From d2711061b06a95bdf0170e86c1c723a32a6527ba Mon Sep 17 00:00:00 2001 From: physick Date: Sun, 30 Aug 2026 20:12:17 +0500 Subject: collection view start --- src/scenes/collectionScene.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/scenes') 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; } -- cgit v1.3