solosky / pixl.js

An emulator for Amiibo!
GNU General Public License v2.0
599 stars 112 forks source link

Menu icons #177

Closed impeeza closed 10 months ago

impeeza commented 10 months ago

Hello there, I am wondering. reading some code do reference to icons, by example the function add menu item (mui_list_view_add_item) one of the parameters is the icon.

Then I found the mui_icons.h which reference some of the used icons on other files. but the set is reduced, on some .c files the icon is directly the Hex value.

I wonder, How that Hex values are referenced to the font file?

Because if I do open the .bdf files using FontForge and do not find most of the icons.

Thanks a lot for your help.

solosky commented 10 months ago

Hi, you can view the icon of hex code via https://github.com/solosky/pixl.js/blob/main/fw/docs/u8g2_font_siji_t_6x10.png

impeeza commented 10 months ago

Thank you so much, I was blind, how I wasn't able to see that file :P