diff --git a/demo/atlas.inl b/demo/atlas.inl index 8e9e5d3..129ca31 100644 --- a/demo/atlas.inl +++ b/demo/atlas.inl @@ -3,7 +3,7 @@ enum { ATLAS_WHITE = MU_ICON_MAX, ATLAS_FONT }; enum { ATLAS_WIDTH = 128, ATLAS_HEIGHT = 128 }; -static unsigned char atlas_texture[ATLAS_WIDTH * ATLAS_HEIGHT] = { +static const unsigned char atlas_texture[ATLAS_WIDTH * ATLAS_HEIGHT] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, @@ -426,6 +426,7 @@ static unsigned char atlas_texture[ATLAS_WIDTH * ATLAS_HEIGHT] = { 0x5f, 0xa3, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6d, 0xe9, 0xea, 0xb4, 0x23, 0x00, 0x07, 0x98, 0xff, 0x61, 0x00, 0x27, 0xd4, 0xee, 0xe8, 0xe8, 0x2f, 0x32, 0xcf, 0xdd, 0xe5, 0xef, 0x33, 0x00, 0x00, + 0x00, 0x89, 0xff, 0x41, 0x00, 0xea, 0xf9, 0xf6, 0xf6, 0x64, 0x00, 0x25, 0xcf, 0xfe, 0xd1, 0x6c, 0x90, 0xf6, 0xf6, 0xf6, 0xf9, 0xff, 0x00, 0xa0, 0xea, 0xca, 0xee, 0x3e, 0x00, 0x9e, 0xf3, 0xe2, 0xe3, 0x1c, 0x00, 0x00, @@ -889,7 +890,7 @@ static unsigned char atlas_texture[ATLAS_WIDTH * ATLAS_HEIGHT] = { }; -static mu_Rect atlas[] = { +static const mu_Rect atlas[] = { [ MU_ICON_CLOSE ] = { 88, 68, 16, 16 }, [ MU_ICON_CHECK ] = { 0, 0, 18, 18 }, [ MU_ICON_EXPANDED ] = { 118, 68, 7, 5 }, @@ -912,6 +913,7 @@ static mu_Rect atlas[] = { [ ATLAS_FONT+46 ] = { 54, 68, 3, 17 }, [ ATLAS_FONT+47 ] = { 124, 34, 4, 17 }, [ ATLAS_FONT+48 ] = { 46, 34, 6, 17 }, + [ ATLAS_FONT+49 ] = { 52, 34, 6, 17 }, [ ATLAS_FONT+50 ] = { 58, 34, 6, 17 }, [ ATLAS_FONT+51 ] = { 64, 34, 6, 17 },