Hendrik Langer
7 years ago
3 changed files with 47 additions and 5 deletions
@ -0,0 +1,7 @@ |
|||||
|
#include "selectionlist.h" |
||||
|
|
||||
|
SelectionList::SelectionList() {} |
||||
|
|
||||
|
SelectionList::SelectionList(const char* title, uint8_t start_pos, const char* string_list) {} |
||||
|
|
||||
|
void SelectionList::draw() {} |
@ -0,0 +1,27 @@ |
|||||
|
#ifndef _SELECTIONLIST_H |
||||
|
#define _SELECTIONLIST_H |
||||
|
|
||||
|
#include <Arduino.h> |
||||
|
|
||||
|
class SelectionList { |
||||
|
public: |
||||
|
SelectionList(); |
||||
|
SelectionList(const char*, uint8_t, const char*); |
||||
|
void draw(void); |
||||
|
private: |
||||
|
const char* title = "Cloud Types"; |
||||
|
const char *string_list = |
||||
|
"Altocumulus\n" |
||||
|
"Altostratus\n" |
||||
|
"Cirrocumulus\n" |
||||
|
"Cirrostratus\n" |
||||
|
"Cirrus\n" |
||||
|
"Cumulonimbus\n" |
||||
|
"Cumulus\n" |
||||
|
"Nimbostratus\n" |
||||
|
"Stratocumulus\n" |
||||
|
"Stratus"; |
||||
|
uint8_t current_selection = 1; |
||||
|
}; |
||||
|
|
||||
|
#endif /* _SELECTIONLIST_H */ |
Loading…
Reference in new issue