minor improvements

This commit is contained in:
Krzosa Karol
2025-01-18 12:19:22 +01:00
parent 9a70640a6e
commit b90656508b
5 changed files with 36 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
u8 font_liberation_mono[] = {
gb_read_only u8 font_data_data[] = {
0,1,0,0,0,16,1,0,0,4,0,0,70,70,84,77,81,159,21,185,0,1,166,108,0,0,0,28,71,68,69,70,2,208,0,36,0,1,166,68,0,0,0,40,79,83,47,50,249,32,119,56,0,0,1,136,0,0,0,96,99,109,97,112,
86,141,58,69,0,0,7,52,0,0,6,214,99,118,116,32,77,22,94,181,0,0,25,128,0,0,2,60,102,112,103,109,115,211,35,176,0,0,14,12,0,0,7,5,103,97,115,112,0,24,0,9,0,1,166,52,0,0,0,16,103,108,121,102,
110,248,53,199,0,0,33,0,0,1,104,60,104,101,97,100,249,30,158,54,0,0,1,12,0,0,0,54,104,104,101,97,11,89,2,89,0,0,1,68,0,0,0,36,104,109,116,120,185,156,200,204,0,0,1,232,0,0,5,74,108,111,99,97,
@@ -1691,9 +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_read_only s8_t font_data = s8_array_lit(font_data_data);
gb f32 font_size = 50;
gb f32 _font_size = 50;
mt_tweak_t tweak_table[] = {
gb_read_only mt_tweak_t tweak_table[] = {
{type(f32), s8_const_lit("font_size"), &font_size, 4, 200},
{type(f32), s8_const_lit("_font_size"), &_font_size, 50, 50},