-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
Hi.
Could you pls. point me how to use menu without macros (I need more than 16 items in list) ?
I have raplacement of CHOOSE() macro. It works, but strangely.
- during selecting of value the first line on an lcd disp. the first line is changing (in opposite to CHOOSE())
- whenever I return to this "submenu", it does NOT show propper line/value (according to value in settingsTmp.aux1Mode)
I did not find any example for CHOOSE option. :-(
Many thanks for pointing me in advance.
menuValue<int> auxMode_1(
"v1",
auxModes::auxWhenPower1,
(callback)doNothing,
noEvent
);
menuValue<int> auxMode_2(
"v2",
auxModes::auxWhenOut1,
(callback)doNothing,
noEvent
);
menuValue<int> auxMode_3(
"v3",
auxModes::auxWhenPower2,
(callback)doNothing,
noEvent
);
prompt* chAuxMode1_items[] = {
&auxMode_1,
&auxMode_2,
&auxMode_3
};
menuVariant<int> chAuxMode1(
(constText*)"AUX output",
settingsTmp.aux1Mode,
(idx_t)sizeof(chAuxMode1_items)/sizeof(prompt*),
chAuxMode1_items,
(callback)doNothing,
noEvent,
noStyle
);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels