reloading font dynamically
This commit is contained in:
@@ -1691,10 +1691,10 @@ u8 font_liberation_mono[] = {
|
||||
255,255,0,3,0,1,0,0,0,14,0,0,0,24,0,32,0,0,0,2,0,1,0,1,2,160,0,1,0,4,0,0,0,2,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,201,137,111,49,0,0,0,0,189,118,137,36,
|
||||
0,0,0,0,202,159,29,99,
|
||||
};
|
||||
gb b32 memes = true;
|
||||
gb f32 scrollasdasd = 32.0f;
|
||||
gb f32 font_size = 50;
|
||||
gb f32 _font_size = 50;
|
||||
mt_tweak_t tweak_table[] = {
|
||||
{type(b32), s8_const_lit("memes"), &memes, 0, 0},
|
||||
{type(f32), s8_const_lit("scrollasdasd"), &scrollasdasd, 0, 100.f},
|
||||
{type(f32), s8_const_lit("font_size"), &font_size, 4, 200},
|
||||
{type(f32), s8_const_lit("_font_size"), &_font_size, 50, 50},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user