diff options
Diffstat (limited to 'config/example-menu.cfg')
-rw-r--r-- | config/example-menu.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/example-menu.cfg b/config/example-menu.cfg index 81359081..453e1552 100644 --- a/config/example-menu.cfg +++ b/config/example-menu.cfg @@ -171,6 +171,11 @@ #items: # It accepts only 'card' elements. You are able to switch between different card screens # by using encoder or up/down buttons. +#content: +# It allows quickly define single card decks by adding content directly to deck. +# You have to remove deck item attribute and use named items in content. +# The menu functionality will then internally create one card item for this deck. +# This is optional. #[menu card1] #type: card @@ -179,6 +184,10 @@ # Card screen content. Each line represents display line. # Quotes can be used in the beginning and end of line. # Rendered elements are available for output formatting as {0}..{x}. It's always string type. +# It's possible directly use menu item names in content by leaving items attribute out or empty +# and use menu items names directly in content as {msg,xpos|ypos}. The menu functionality will then +# internally build a item list and replace names with indexes in content. +# This is optional. #items: # List of elements in card. Each line represents a single index for content formatting. # It's possible to show multiple elements in one place by separating them with comma on single line. |