diff options
| author | nathan <nathansmith@disroot.org> | 2025-12-22 03:02:10 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-12-22 03:02:10 +0000 |
| commit | db04bfb989a5ebbd1f57e9983a2bb819c3ce4d67 (patch) | |
| tree | 370c02d05800b9f856aa3a867da90e7ebd0f3a2b /src/ui.c | |
| parent | dabcd8342e77d4bfac4f7bc5cee8643121d379f7 (diff) | |
| download | FindThings-db04bfb989a5ebbd1f57e9983a2bb819c3ce4d67.tar.gz FindThings-db04bfb989a5ebbd1f57e9983a2bb819c3ce4d67.tar.bz2 FindThings-db04bfb989a5ebbd1f57e9983a2bb819c3ce4d67.zip | |
hehehehe over designed interaction menu
Diffstat (limited to 'src/ui.c')
| -rw-r--r-- | src/ui.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -158,10 +158,10 @@ void updateInteractionMenu(InteractionMenu* menu, Game* game) resizeInteractionMenu(menu, &game->settings); } - /* if (!menu->visible) */ - /* { */ - /* return; */ - /* } */ + if (!menu->visible) + { + return; + } // Draw background. Color background = DARKGRAY; @@ -187,7 +187,8 @@ void updateInteractionMenu(InteractionMenu* menu, Game* game) // Draw items. for (int index = 0; index < menu->itemCount; ++index) { - DrawText(TextFormat("%d: ", index + 1), position.x, position.y, fontSize, WHITE); + DrawText(TextFormat("%d: ", index + 1), position.x, position.y, fontSize, + WHITE); DrawText(TextFormat(" %s", menu->items[index]), position.x, position.y, fontSize, GREEN); position.y += fontSize; |
