diff options
| author | nathan <nathansmith@disroot.org> | 2025-11-05 11:04:07 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-11-05 11:04:07 +0000 |
| commit | 2769ba6929b8aff2eadbb6c2e66ef4db25332e9b (patch) | |
| tree | 2e584716b50c069aa227dce19aa835542b5f60cf /src/utils.c | |
| parent | 5a1c6f8d8db8311d8be286c40792227549594693 (diff) | |
| download | FindThings-2769ba6929b8aff2eadbb6c2e66ef4db25332e9b.tar.gz FindThings-2769ba6929b8aff2eadbb6c2e66ef4db25332e9b.tar.bz2 FindThings-2769ba6929b8aff2eadbb6c2e66ef4db25332e9b.zip | |
Lazyyyyy
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index e49623c..e8e99cf 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,7 +1,5 @@ #include "utils.h" -#define RANDOM_DIRECTION_UNITS 4096 - Vector2 randomDirection2(int seed, int* nextSeed) { Vector2 direction; @@ -36,4 +34,15 @@ Vector3 randomDirection3(int seed, int* nextSeed) return Vector3Normalize(direction); } +void updateFloatWindow(FloatingWindow* window, const char* title) +{ +#ifndef RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT +#define RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT 24 +#endif + +#ifndef RAYGUI_WINDOW_CLOSEBUTTON_SIZE +#define RAYGUI_WINDOW_CLOSEBUTTON_SIZE 18 +#endif +} + // Why does the universe feel strange to exist in? |
