The ChoiceMenu class provides a simmliar list like the Standard Menu. In the ChoiceMenu each entry is associated with a boolean variable, which can be changed by pressing the OK Button.  
 More...
#include <modm/ui/menu/choice_menu.hpp>
template<typename Allocator = std::allocator<IAbstractView>>
class modm::ChoiceMenu< Allocator >
The ChoiceMenu class provides a simmliar list like the Standard Menu. In the ChoiceMenu each entry is associated with a boolean variable, which can be changed by pressing the OK Button. 
Controls: DOWN - select next entry UP - select previous entry OK - toogle boolean value of selected entry LEFT - remove screen from stack RIGHT - put next screen on stack
- Author
 - Thorsten Lajewski 
 
 
template<typename Allocator  = std::allocator<IAbstractView>> 
      
        
          | void modm::ChoiceMenu< Allocator >::addEntry  | 
          ( | 
          const char *  | 
          text,  | 
        
        
           | 
           | 
          bool *  | 
          valuePtr,  | 
        
        
           | 
           | 
          bool  | 
          defaultValue = true  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
addEntry a new entry to the ChoiceMenu 
- Parameters
 - 
  
    | text | to be displayed in the list  | 
    | valuePtr | pointer to the associated boolean variable  | 
    | defaultValue | default value of the boolean variable  | 
  
   
 
 
  
  
      
        
          | bool modm::IAbstractView::isAlive  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inheritedinline   | 
  
 
 
template<typename Allocator  = std::allocator<IAbstractView>> 
      
        
          | void modm::ChoiceMenu< Allocator >::setTitle  | 
          ( | 
          const char *  | 
          text | ) | 
           | 
        
      
 
setTitle set the title displayed on top of the entryList 
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: