we got custom icons
This commit is contained in:
parent
1848484831
commit
6ae8f615d9
12 changed files with 123 additions and 279 deletions
|
|
@ -2306,17 +2306,17 @@ void FurnaceGUI::drawInsEdit() {
|
|||
ins->type=(DivInstrumentType)insType;
|
||||
}
|
||||
*/
|
||||
if (ImGui::BeginCombo("##Type",insTypes[insType])) {
|
||||
if (ImGui::BeginCombo("##Type",insTypes[insType][0])) {
|
||||
std::vector<DivInstrumentType> insTypeList;
|
||||
if (settings.displayAllInsTypes) {
|
||||
for (int i=0; insTypes[i]; i++) {
|
||||
for (int i=0; insTypes[i][0]; i++) {
|
||||
insTypeList.push_back((DivInstrumentType)i);
|
||||
}
|
||||
} else {
|
||||
insTypeList=e->getPossibleInsTypes();
|
||||
}
|
||||
for (DivInstrumentType i: insTypeList) {
|
||||
if (ImGui::Selectable(insTypes[i],insType==i)) {
|
||||
if (ImGui::Selectable(insTypes[i][0],insType==i)) {
|
||||
ins->type=i;
|
||||
|
||||
// reset macro zoom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue