GUI: add option to load Japanese chars

issue #52
This commit is contained in:
tildearrow 2022-03-21 23:36:17 -05:00
parent bd84dc1c17
commit e256efa641
4 changed files with 73 additions and 17 deletions

View file

@ -530,6 +530,7 @@ class FurnaceGUI {
ImFont* iconFont;
ImFont* patFont;
ImFont* bigFont;
ImWchar* fontRange;
ImVec4 uiColors[GUI_COLOR_MAX];
ImVec4 volColors[128];
ImU32 pitchGrad[256];
@ -584,6 +585,7 @@ class FurnaceGUI {
int roundedWindows;
int roundedButtons;
int roundedMenus;
int loadJapanese;
unsigned int maxUndoSteps;
String mainFontPath;
String patFontPath;
@ -633,6 +635,7 @@ class FurnaceGUI {
roundedWindows(1),
roundedButtons(1),
roundedMenus(0),
loadJapanese(0),
maxUndoSteps(100),
mainFontPath(""),
patFontPath(""),