GUI: custom sample editor icons, part 2
This commit is contained in:
parent
f2dd169e3d
commit
2f08407a73
4 changed files with 566 additions and 1561 deletions
|
|
@ -785,7 +785,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
sameLineMaybe();
|
||||
ImGui::Dummy(ImVec2(4.0*dpiScale,dpiScale));
|
||||
sameLineMaybe();
|
||||
ImGui::Button(ICON_FA_ARROWS_H "##SResize");
|
||||
ImGui::Button(ICON_FUR_SAMPLE_RESIZE "##SResize");
|
||||
if (ImGui::IsItemClicked()) {
|
||||
resizeSize=sample->samples;
|
||||
}
|
||||
|
|
@ -820,7 +820,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
resizeSize=sample->samples;
|
||||
}
|
||||
sameLineMaybe();
|
||||
ImGui::Button(ICON_FA_EXPAND "##SResample");
|
||||
ImGui::Button(ICON_FUR_SAMPLE_RESAMPLE "##SResample");
|
||||
if (ImGui::IsItemClicked()) {
|
||||
resampleTarget=targetRate;
|
||||
}
|
||||
|
|
@ -962,7 +962,7 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
ImGui::SetTooltip("Fade out");
|
||||
}
|
||||
sameLineMaybe();
|
||||
ImGui::Button(ICON_FA_ADJUST "##SInsertSilence");
|
||||
ImGui::Button(ICON_FUR_SAMPLE_INSERT_SILENCE "##SInsertSilence");
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("Insert silence");
|
||||
}
|
||||
|
|
@ -1016,14 +1016,14 @@ void FurnaceGUI::drawSampleEdit() {
|
|||
ImGui::SameLine();
|
||||
ImGui::Dummy(ImVec2(4.0*dpiScale,dpiScale));
|
||||
sameLineMaybe();
|
||||
if (ImGui::Button(ICON_FA_BACKWARD "##SReverse")) {
|
||||
if (ImGui::Button(ICON_FUR_SAMPLE_REVERSE "##SReverse")) {
|
||||
doAction(GUI_ACTION_SAMPLE_REVERSE);
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("Reverse");
|
||||
}
|
||||
sameLineMaybe();
|
||||
if (ImGui::Button(ICON_FA_SORT_AMOUNT_ASC "##SInvert")) {
|
||||
if (ImGui::Button(ICON_FUR_SAMPLE_INVERT "##SInvert")) {
|
||||
doAction(GUI_ACTION_SAMPLE_INVERT);
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue