more pushdestcolor
This commit is contained in:
parent
f0bcb1c06a
commit
3c38a79801
|
@ -504,7 +504,7 @@ void FurnaceGUI::drawInsList(bool asChild) {
|
|||
}
|
||||
ImGui::SameLine();
|
||||
pushDestColor();
|
||||
if (ImGui::Button(ICON_FA_TIMES "##InsDelete")) {
|
||||
if (ImGui::Button(ICON_FA_MINUS "##InsDelete")) {
|
||||
if (settings.unifiedDataView) {
|
||||
switch (lastAssetType) {
|
||||
case 0:
|
||||
|
@ -749,7 +749,7 @@ void FurnaceGUI::drawWaveList(bool asChild) {
|
|||
}
|
||||
ImGui::SameLine();
|
||||
pushDestColor();
|
||||
if (ImGui::Button(ICON_FA_TIMES "##WaveDelete")) {
|
||||
if (ImGui::Button(ICON_FA_MINUS "##WaveDelete")) {
|
||||
doAction(GUI_ACTION_WAVE_LIST_DELETE);
|
||||
}
|
||||
popDestColor();
|
||||
|
@ -901,7 +901,7 @@ void FurnaceGUI::drawSampleList(bool asChild) {
|
|||
}
|
||||
ImGui::SameLine();
|
||||
pushDestColor();
|
||||
if (ImGui::Button(ICON_FA_TIMES "##SampleDelete")) {
|
||||
if (ImGui::Button(ICON_FA_MINUS "##SampleDelete")) {
|
||||
doAction(GUI_ACTION_SAMPLE_LIST_DELETE);
|
||||
}
|
||||
popDestColor();
|
||||
|
|
|
@ -115,10 +115,12 @@ void FurnaceGUI::drawOrderButtons() {
|
|||
}
|
||||
NEXT_BUTTON;
|
||||
|
||||
pushDestColor();
|
||||
if (ImGui::Button(ICON_FA_MINUS)) { handleUnimportant
|
||||
// remove this order row
|
||||
doAction(GUI_ACTION_ORDERS_REMOVE);
|
||||
}
|
||||
popDestColor();
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("Remove order");
|
||||
}
|
||||
|
|
|
@ -102,10 +102,12 @@ void FurnaceGUI::drawSysManager() {
|
|||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::BeginDisabled(e->song.systemLen<=1);
|
||||
if (ImGui::Button(ICON_FA_TIMES "##SysRemove")) {
|
||||
pushDestColor();
|
||||
if (ImGui::Button(ICON_FA_MINUS "##SysRemove")) {
|
||||
sysToDelete=i;
|
||||
showWarning("Are you sure you want to remove this chip?",GUI_WARN_SYSTEM_DEL);
|
||||
}
|
||||
popDestColor();
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("Remove");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue