summaryrefslogtreecommitdiff
path: root/src/puzzles/puzzle.h
diff options
context:
space:
mode:
authorphysick <mynameisgennadiy@vk.com>2026-08-30 20:12:17 +0500
committerphysick <mynameisgennadiy@vk.com>2026-08-30 20:12:17 +0500
commitd2711061b06a95bdf0170e86c1c723a32a6527ba (patch)
tree13ec59966abdbef2672448300d2dd7c8f6e89a8c /src/puzzles/puzzle.h
parent1e7ec08dc9c62df43940d00c1fae4a6e54464b86 (diff)
collection view start
Diffstat (limited to 'src/puzzles/puzzle.h')
-rw-r--r--src/puzzles/puzzle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/puzzles/puzzle.h b/src/puzzles/puzzle.h
index 90ee160..a65ae6f 100644
--- a/src/puzzles/puzzle.h
+++ b/src/puzzles/puzzle.h
@@ -101,6 +101,7 @@ typedef enum {
typedef struct CollectionElement {
char *path;
+ char *name;
struct CollectionElement *children;
size_t childCount;
Texture2D *icon;
@@ -109,5 +110,6 @@ typedef struct CollectionElement {
} CollectionElement;
void InitializeCollection(CollectionElement *el);
+void DrawCollectionElement(CollectionElement *el, Rectangle rec);
#endif // PUZZLE_H