Change Naming Convention, add scroll to microui
This commit is contained in:
@@ -101,6 +101,9 @@ glyph_init :: proc(glyph: ^GlyphState, font_path : string = "")
|
||||
if !os.exists(font_path)
|
||||
{
|
||||
fmt.eprintln("Font not provided or not exist using default font")
|
||||
|
||||
/* TODO: use microui's font when no font's provided */
|
||||
|
||||
font_data := #load("./mononoki-Regular.ttf", []byte)
|
||||
stbtt.InitFont(&glyph.font_info, &font_data[0], 0)
|
||||
}else
|
||||
|
||||
Reference in New Issue
Block a user