Move [outputs] "Trim => Subtrims" button to top, change btn text (#1076)
* partial implementation of 354 * implemented screen refresh and test update * chaged add to move...after much discussion * change move to add Co-authored-by: kkoenig1@optonline.com <kkoenig1@optonline.com>
This commit is contained in:
co-authored by
kkoenig1@optonline.com <kkoenig1@optonline.com>
parent
3b0e1ab25e
commit
9a795c4126
@@ -216,6 +216,14 @@ void ModelOutputsPage::build(FormWindow * window, int8_t focusChannel)
|
||||
grid.spacer(PAGE_PADDING);
|
||||
grid.setLabelWidth(66);
|
||||
|
||||
new TextButton(window, grid.getLineSlot(), STR_ADD_ALL_TRIMS_TO_SUBTRIMS,
|
||||
[=] () {
|
||||
moveTrimsToOffsets(); // if highlighted and menu pressed - move trims to offsets
|
||||
rebuild(window, 0);
|
||||
return 0;
|
||||
}, 0, COLOR_THEME_PRIMARY1);
|
||||
grid.nextLine();
|
||||
|
||||
for (uint8_t ch = 0; ch < MAX_OUTPUT_CHANNELS; ch++) {
|
||||
LimitData * output = limitAddress(ch);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user