GUI: make sliders right-clickable

This commit is contained in:
tildearrow 2022-02-28 22:42:52 -05:00
parent f8e7dd7214
commit f8046facfc
4 changed files with 38 additions and 36 deletions

View file

@ -26,6 +26,8 @@
#include <map>
#include <vector>
#define rightClickable if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) ImGui::SetKeyboardFocusHere(-1);
enum FurnaceGUIColors {
GUI_COLOR_BACKGROUND=0,
GUI_COLOR_FRAME_BACKGROUND,