Preparing skeleton for proper imgui support.

I originally wanted to reference Ryan's UI series along with the RAD Debugger codebase, but that ended up being too convoluted of a route. Instead, I moved on to just doing a deep dive on imgui content I could find to learn from and associated libraries available. I collected my notes so far in this repo [IMGUI_Notes](https://github.com/Ed94/IMGUI_Notes).

For now I have the base scaffolding datatype wise for the prototype ui.
This commit is contained in:
2024-02-22 21:19:29 -05:00
parent 9cc0855c03
commit 7332644515
15 changed files with 862 additions and 288 deletions

View File

@ -9,7 +9,7 @@ import "core:os"
import rl "vendor:raylib"
Font_Arena_Size :: 32 * Megabyte
Font_Largest_Px_Size :: 96
Font_Largest_Px_Size :: 32
// Font_Default :: ""
Font_Default :: 0
@ -56,6 +56,7 @@ FontProviderData :: struct {
//TODO(Ed) : There is an issue with hot-reload and map allocations that I can't figure out right now..
// font_cache : ^ map [FontID](FontDef),
// font_cache : HashTable(FontDef),
font_cache : [10] FontDef,
open_id : i32
}