zephr/game: textures, icons, and buttons

- zephr: correctly set cursor when hovering button
- zephr: added texture loading and displaying
- zephr: added icon button
- game: added help and settings icon buttons
This commit is contained in:
2023-12-27 22:42:35 +02:00
parent 2fc8ac6456
commit 2f88c53a07
13 changed files with 263 additions and 57 deletions
+7
View File
@@ -0,0 +1,7 @@
#pragma once
#include "glad/gl.h"
typedef GLuint TextureId;
TextureId load_texture(const char *path);