|
@@ -49,7 +49,8 @@ void TuneMenu::onRedraw(draw_mode_t what) {
|
49
|
49
|
#define PAUSE_POS BTN_POS(1,6), BTN_SIZE(2,1)
|
50
|
50
|
#define STOP_POS BTN_POS(1,7), BTN_SIZE(2,1)
|
51
|
51
|
#define CASE_LIGHT_POS BTN_POS(1,8), BTN_SIZE(2,1)
|
52
|
|
- #define BACK_POS BTN_POS(1,9), BTN_SIZE(2,1)
|
|
52
|
+ #define ADVANCED_SETTINGS_POS BTN_POS(1,9), BTN_SIZE(1,1)
|
|
53
|
+ #define BACK_POS BTN_POS(2,9), BTN_SIZE(1,1)
|
53
|
54
|
#else
|
54
|
55
|
#define GRID_ROWS 5
|
55
|
56
|
#define GRID_COLS 2
|
|
@@ -61,7 +62,8 @@ void TuneMenu::onRedraw(draw_mode_t what) {
|
61
|
62
|
#define STOP_POS BTN_POS(2,3), BTN_SIZE(1,1)
|
62
|
63
|
#define FILAMENT_POS BTN_POS(1,4), BTN_SIZE(1,1)
|
63
|
64
|
#define CASE_LIGHT_POS BTN_POS(2,4), BTN_SIZE(1,1)
|
64
|
|
- #define BACK_POS BTN_POS(1,5), BTN_SIZE(2,1)
|
|
65
|
+ #define ADVANCED_SETTINGS_POS BTN_POS(1,5), BTN_SIZE(1,1)
|
|
66
|
+ #define BACK_POS BTN_POS(2,5), BTN_SIZE(2,1)
|
65
|
67
|
#endif
|
66
|
68
|
|
67
|
69
|
if (what & FOREGROUND) {
|
|
@@ -86,6 +88,7 @@ void TuneMenu::onRedraw(draw_mode_t what) {
|
86
|
88
|
.tag(8).button(STOP_POS, GET_TEXT_F(MSG_STOP_PRINT))
|
87
|
89
|
.enabled(ENABLED(CASE_LIGHT_ENABLE))
|
88
|
90
|
.tag(10).button(CASE_LIGHT_POS, GET_TEXT_F(MSG_CASE_LIGHT))
|
|
91
|
+ .tag(11).button(ADVANCED_SETTINGS_POS, GET_TEXT_F(MSG_ADVANCED_SETTINGS))
|
89
|
92
|
.tag(1).colors(action_btn)
|
90
|
93
|
.button(BACK_POS, GET_TEXT_F(MSG_BACK));
|
91
|
94
|
}
|
|
@@ -121,6 +124,7 @@ bool TuneMenu::onTouchEnd(uint8_t tag) {
|
121
|
124
|
#if ENABLED(CASE_LIGHT_ENABLE)
|
122
|
125
|
case 10: GOTO_SCREEN(CaseLightScreen); break;
|
123
|
126
|
#endif
|
|
127
|
+ case 11: GOTO_SCREEN(AdvancedSettingsMenu); break;
|
124
|
128
|
default:
|
125
|
129
|
return false;
|
126
|
130
|
}
|