New metronome icon!
The bell just wasn't cutting it.
This commit is contained in:
parent
66e2791b35
commit
adf7d4b740
1344
res/icons.sfd
1344
res/icons.sfd
File diff suppressed because it is too large
Load diff
BIN
res/icons.ttf
BIN
res/icons.ttf
Binary file not shown.
|
|
@ -21,6 +21,7 @@
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
#include "../fileutils.h"
|
#include "../fileutils.h"
|
||||||
#include "IconsFontAwesome4.h"
|
#include "IconsFontAwesome4.h"
|
||||||
|
#include "furIcons.h"
|
||||||
#include "misc/cpp/imgui_stdlib.h"
|
#include "misc/cpp/imgui_stdlib.h"
|
||||||
#include <fmt/printf.h>
|
#include <fmt/printf.h>
|
||||||
|
|
||||||
|
|
@ -395,7 +396,7 @@ void FurnaceGUI::drawMobileControls() {
|
||||||
bool metro=e->getMetronome();
|
bool metro=e->getMetronome();
|
||||||
pushToggleColors(metro);
|
pushToggleColors(metro);
|
||||||
if (portrait) ImGui::SameLine();
|
if (portrait) ImGui::SameLine();
|
||||||
if (ImGui::Button(ICON_FA_BELL_O "##Metronome",buttonSize)) {
|
if (ImGui::Button(ICON_FUR_METRONOME "##Metronome",buttonSize)) {
|
||||||
e->setMetronome(!metro);
|
e->setMetronome(!metro);
|
||||||
}
|
}
|
||||||
popToggleColors();
|
popToggleColors();
|
||||||
|
|
@ -808,7 +809,7 @@ void FurnaceGUI::drawEditControls() {
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
bool metro=e->getMetronome();
|
bool metro=e->getMetronome();
|
||||||
pushToggleColors(metro);
|
pushToggleColors(metro);
|
||||||
if (ImGui::Button(ICON_FA_BELL_O "##Metronome")) {
|
if (ImGui::Button(ICON_FUR_METRONOME "##Metronome")) {
|
||||||
e->setMetronome(!metro);
|
e->setMetronome(!metro);
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
|
|
@ -924,7 +925,7 @@ void FurnaceGUI::drawEditControls() {
|
||||||
|
|
||||||
bool metro=e->getMetronome();
|
bool metro=e->getMetronome();
|
||||||
pushToggleColors(metro);
|
pushToggleColors(metro);
|
||||||
if (ImGui::Button(ICON_FA_BELL_O "##Metronome",buttonSize)) {
|
if (ImGui::Button(ICON_FUR_METRONOME "##Metronome",buttonSize)) {
|
||||||
e->setMetronome(!metro);
|
e->setMetronome(!metro);
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
|
|
@ -1064,7 +1065,7 @@ void FurnaceGUI::drawEditControls() {
|
||||||
bool metro=e->getMetronome();
|
bool metro=e->getMetronome();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
pushToggleColors(metro);
|
pushToggleColors(metro);
|
||||||
if (ImGui::Button(ICON_FA_BELL_O "##Metronome")) {
|
if (ImGui::Button(ICON_FUR_METRONOME "##Metronome")) {
|
||||||
e->setMetronome(!metro);
|
e->setMetronome(!metro);
|
||||||
}
|
}
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,7 @@
|
||||||
// not auto-generated. update every time you change icons.ttf!
|
// not auto-generated. update every time you change icons.ttf!
|
||||||
|
|
||||||
#define ICON_MIN_FUR 0xe0f0
|
#define ICON_MIN_FUR 0xe0f0
|
||||||
#define ICON_MAX_FUR 0xe164
|
#define ICON_MAX_FUR 0xe165
|
||||||
|
|
||||||
// test
|
// test
|
||||||
#define ICON_FUR_TEST0 u8"\ue0f0"
|
#define ICON_FUR_TEST0 u8"\ue0f0"
|
||||||
|
|
@ -118,3 +118,4 @@
|
||||||
#define ICON_FUR_VOL_DIRECT u8"\ue14d"
|
#define ICON_FUR_VOL_DIRECT u8"\ue14d"
|
||||||
#define ICON_FUR_ADSR u8"\ue14e"
|
#define ICON_FUR_ADSR u8"\ue14e"
|
||||||
#define ICON_FUR_CROSSFADE u8"\ue159"
|
#define ICON_FUR_CROSSFADE u8"\ue159"
|
||||||
|
#define ICON_FUR_METRONOME u8"\ue165"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue