AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GameSelector.h Source File

GameSelector.h

00001 #ifndef GAMESELECTOR_H
00002 #define GAMESELECTOR_H
00003 
00004 #include "../board/Board.h"
00005 
00006 class GameSelector /*: public ButtonListener*/{
00007     Board* board;
00008     void print_up_down_arrows();
00009     void print_selection_arrow();
00010     void print_list();
00011     
00012     void go_down();
00013     void go_up();
00014     
00015     volatile int start_position;
00016     volatile int current_selection;
00017     volatile int total_selections;
00018     
00019     volatile int selected_game;
00020     
00021     char* titles[7];
00022     
00023     int update_screen;
00024     
00025     public:
00026     uint32_t buttonEvent(uint32_t c);
00027     GameSelector(Board* board);
00028     int select();
00029 };
00030 
00031 #endif