Skip to content

Class descriptions

Brian Alano edited this page Feb 19, 2019 · 3 revisions

These are my "developmental" pages for the Wiki on the main fork.

class(?) menuOut

Methods

print()

class menuRoot(?)

Properties

enabled enum status - {disabledStatus=0,enabledStatus=1};

class navNode

Properties

idx_t sel

menuNode* target

navRoot* root;

prompt& operator[](idx_t i) - const {return target->operator;}

Methods

void reset() - resets current selection to beginning [{sel=0;}];

prompt& selected() - returns address of currently selected menu option

bool wrap() - if true, navigating past end of menu wraps to beginning of menu. Disabled by default. Set wrap by passing "wrapStyle" in the styles parameter of the MENU macro

result event(eventMask e,idx_t i) - send event e to item index i

result event(eventMask e) - send event e to current item

sysEvent(eventMask e,idx_t i) - send system event e to item index i

result sysEvent(eventMask e) - send event e to current item

class navRoot

Properties

idleTask

boolean showTitle - if true, show the menu title on the panel, otherwise don't

Methods

doInput()

doOutput()