JS: Widget icons without path, just name

This commit is contained in:
Willy-JL
2024-03-28 22:28:52 +00:00
parent a94a1a96ae
commit a1eeeb245f
2 changed files with 8 additions and 4 deletions

View File

@@ -34,8 +34,8 @@ widget.addDot(102, 44);
widget.addDot(104, 43);
// add an icon (x, y, icon)
widget.addIcon(100, 55, "Common/ButtonUp_7x4");
widget.addIcon(100, 60, "Common/ButtonDown_7x4");
widget.addIcon(100, 50, "ButtonUp_7x4");
widget.addIcon(100, 55, "ButtonDown_7x4");
// add a glyph (x, y, glyph)
widget.addGlyph(120, 50, 0x23);