TheCodersCorner.com items tagged with library.

Working with boolean values - BooleanMenuItems

By dave

An item that can represent only boolean true or false. It can be configured to show as ON/OFF, TRUE/FALSE or YES/NO as required. Type information for BooleanMenuItem Class Type: / in MenuItems.h Enum returned by is MENUTYPE_BOOLEAN_VALUE This item is based on an Info block Information applicable to all menu items BooleanMenuItem reference documentation Creating an object...

Working with RGB color choice items - Rgb32MenuItem

By dave

An item type that represents a color in the Red Green Blue space, optionally also having an Alpha. Colors are represented as values between 0 and 255 for each part and optionally an additional part for Alpha. Type information for Rgb32MenuItem Type: with default callback of in Enum returned by is MENUTYPE_COLOR_VALUE This item is based on RuntimeMenuItem...

Working with fixed choices - EnumMenuItems

By dave

An item that can represent a known series of values where only one can be selected at a time. Somewhat like a combo box. For enum items these values must be set at compile time, and on AVR / ESP they are in program memory. We store the choice as a zero based integer with the first choice being 0 and...

Detailed description of MenuInfo based menu items

By dave

All types of MenuItem can have an INFO block, which is a structure that can be stored in FLASH that represents the static data for an item. This is because all items directly extend from the MenuItem class, they always have a reference to an AnyMenuInfo block that's stored in program memory on devices that support it. In addition to this,...

Detailed description of RuntimeMenuItem

By dave

Items that extend from runtime menu item use a callback at runtime that can be used to get more or less every property, but will use the INFO block if it is available (not null). That being the case, they don't need but can use an info block (that is defined ahead of time) ahead of time. However, in...

These may be of interest

We use cookies to analyse traffic and to personalise content. We also embed Twitter and Youtube on some pages, these companies have their own privacy policies.

See the privacy policy and terms of use of this site should you need more information or wish to adjust your settings.