GUI: major usability improvement coming
click on orders in click-to-edit or select instrument=auto-focus pattern
This commit is contained in:
parent
e07caddc92
commit
23431323e2
4 changed files with 75 additions and 18 deletions
|
|
@ -29,6 +29,9 @@
|
|||
|
||||
#define rightClickable if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) ImGui::SetKeyboardFocusHere(-1);
|
||||
|
||||
#define handleUnimportant if (settings.insFocusesPattern && patternOpen) {nextWindow=GUI_WINDOW_PATTERN;}
|
||||
#define unimportant(x) if (x) {handleUnimportant}
|
||||
|
||||
enum FurnaceGUIColors {
|
||||
GUI_COLOR_BACKGROUND=0,
|
||||
GUI_COLOR_FRAME_BACKGROUND,
|
||||
|
|
@ -495,6 +498,7 @@ class FurnaceGUI {
|
|||
int viewPrevPattern;
|
||||
int guiColorsBase;
|
||||
int avoidRaisingPattern;
|
||||
int insFocusesPattern;
|
||||
unsigned int maxUndoSteps;
|
||||
String mainFontPath;
|
||||
String patFontPath;
|
||||
|
|
@ -537,6 +541,7 @@ class FurnaceGUI {
|
|||
viewPrevPattern(1),
|
||||
guiColorsBase(0),
|
||||
avoidRaisingPattern(0),
|
||||
insFocusesPattern(1),
|
||||
maxUndoSteps(100),
|
||||
mainFontPath(""),
|
||||
patFontPath(""),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue