GUI: finish some more TODOs
This commit is contained in:
parent
a6ad79f686
commit
8ba6c4cf42
|
@ -381,7 +381,6 @@ void FurnaceGUI::drawPiano() {
|
||||||
pianoOptions=!pianoOptions;
|
pianoOptions=!pianoOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: wave and sample preview
|
|
||||||
// first check released keys
|
// first check released keys
|
||||||
for (int i=0; i<180; i++) {
|
for (int i=0; i<180; i++) {
|
||||||
int note=i-60;
|
int note=i-60;
|
||||||
|
|
|
@ -3814,14 +3814,10 @@ void FurnaceGUI::popWarningColor() {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define SYSTEM_FONT_PATH_1 "C:\\Windows\\Fonts\\segoeui.ttf"
|
#define SYSTEM_FONT_PATH_1 "C:\\Windows\\Fonts\\segoeui.ttf"
|
||||||
#define SYSTEM_FONT_PATH_2 "C:\\Windows\\Fonts\\tahoma.ttf"
|
#define SYSTEM_FONT_PATH_2 "C:\\Windows\\Fonts\\tahoma.ttf"
|
||||||
// TODO!
|
#define SYSTEM_FONT_PATH_3 "C:\\Windows\\Fonts\\micross.ttf"
|
||||||
#define SYSTEM_FONT_PATH_3 "C:\\Windows\\Fonts\\tahoma.ttf"
|
|
||||||
// TODO!
|
|
||||||
#define SYSTEM_HEAD_FONT_PATH_1 "C:\\Windows\\Fonts\\segoeui.ttf"
|
#define SYSTEM_HEAD_FONT_PATH_1 "C:\\Windows\\Fonts\\segoeui.ttf"
|
||||||
#define SYSTEM_HEAD_FONT_PATH_2 "C:\\Windows\\Fonts\\tahoma.ttf"
|
#define SYSTEM_HEAD_FONT_PATH_2 "C:\\Windows\\Fonts\\tahoma.ttf"
|
||||||
// TODO!
|
#define SYSTEM_HEAD_FONT_PATH_3 "C:\\Windows\\Fonts\\micross.ttf"
|
||||||
#define SYSTEM_HEAD_FONT_PATH_3 "C:\\Windows\\Fonts\\tahoma.ttf"
|
|
||||||
// TODO!
|
|
||||||
#define SYSTEM_PAT_FONT_PATH_1 "C:\\Windows\\Fonts\\consola.ttf"
|
#define SYSTEM_PAT_FONT_PATH_1 "C:\\Windows\\Fonts\\consola.ttf"
|
||||||
#define SYSTEM_PAT_FONT_PATH_2 "C:\\Windows\\Fonts\\cour.ttf"
|
#define SYSTEM_PAT_FONT_PATH_2 "C:\\Windows\\Fonts\\cour.ttf"
|
||||||
// GOOD LUCK WITH THIS ONE - UNTESTED
|
// GOOD LUCK WITH THIS ONE - UNTESTED
|
||||||
|
@ -4235,7 +4231,6 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
||||||
mainFont->EllipsisCharCount=3;
|
mainFont->EllipsisCharCount=3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: allow changing these colors.
|
|
||||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByTypeDir,"",uiColors[GUI_COLOR_FILE_DIR],ICON_FA_FOLDER_O);
|
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByTypeDir,"",uiColors[GUI_COLOR_FILE_DIR],ICON_FA_FOLDER_O);
|
||||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByTypeFile,"",uiColors[GUI_COLOR_FILE_OTHER],ICON_FA_FILE_O);
|
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByTypeFile,"",uiColors[GUI_COLOR_FILE_OTHER],ICON_FA_FILE_O);
|
||||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fur",uiColors[GUI_COLOR_FILE_SONG_NATIVE],ICON_FA_FILE);
|
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fur",uiColors[GUI_COLOR_FILE_SONG_NATIVE],ICON_FA_FILE);
|
||||||
|
|
|
@ -1602,7 +1602,7 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DIV_SYSTEM_SNES: { // TODO: echo
|
case DIV_SYSTEM_SNES: {
|
||||||
char temp[64];
|
char temp[64];
|
||||||
int vsL=127-(flags.getInt("volScaleL",0)&127);
|
int vsL=127-(flags.getInt("volScaleL",0)&127);
|
||||||
int vsR=127-(flags.getInt("volScaleR",0)&127);
|
int vsR=127-(flags.getInt("volScaleR",0)&127);
|
||||||
|
|
|
@ -60,8 +60,7 @@ bool FurnaceGUI::parseSysEx(unsigned char* data, size_t len) {
|
||||||
op.rs=reader.readC();
|
op.rs=reader.readC();
|
||||||
reader.readC(); // EBS - ignore
|
reader.readC(); // EBS - ignore
|
||||||
op.am=reader.readC();
|
op.am=reader.readC();
|
||||||
// TODO: don't ignore after I add KVS to Furnace
|
op.kvs=(reader.readC()>2)?1:0;
|
||||||
reader.readC(); // KVS - ignore
|
|
||||||
op.tl=3+((99-reader.readC())*124)/99;
|
op.tl=3+((99-reader.readC())*124)/99;
|
||||||
unsigned char freq=reader.readC();
|
unsigned char freq=reader.readC();
|
||||||
logV("OP%d freq: %d",i,freq);
|
logV("OP%d freq: %d",i,freq);
|
||||||
|
|
Loading…
Reference in a new issue