#include <list.h>
Public Member Functions | |
ListMenu (const char *filename, const char *new_sudoku=NULL) | |
Constructor. | |
const char * | get_selected_sudoku () const |
Get the selected sudoku. | |
virtual eOSState | ProcessKey (eKeys key) |
Process user events. | |
Private Member Functions | |
void | refresh () |
Refresh the list menu. | |
Private Attributes | |
cConfig< ListLine > | list |
int | selected |
bool | save_mode |
Sudoku list menu.
Definition at line 69 of file list.h.
ListMenu::ListMenu | ( | const char * | filename, | |
const char * | new_sudoku = NULL | |||
) |
const char * ListMenu::get_selected_sudoku | ( | ) | const |
Get the selected sudoku.
Definition at line 114 of file list.cpp.
References SudokuPlugin::ListLine::get_sudoku(), list, and selected.
Referenced by SudokuPlugin::Menu::ProcessKey().
eOSState ListMenu::ProcessKey | ( | eKeys | key | ) | [virtual] |
Process user events.
Definition at line 123 of file list.cpp.
References list, refresh(), save_mode, and selected.
Referenced by ListMenu(), and SudokuPlugin::Menu::ProcessKey().
void ListMenu::refresh | ( | ) | [private] |
Refresh the list menu.
Definition at line 165 of file list.cpp.
References list, and save_mode.
Referenced by ListMenu(), and ProcessKey().
cConfig<ListLine> SudokuPlugin::ListMenu::list [private] |
Definition at line 71 of file list.h.
Referenced by get_selected_sudoku(), ListMenu(), ProcessKey(), and refresh().
bool SudokuPlugin::ListMenu::save_mode [private] |
Definition at line 73 of file list.h.
Referenced by ListMenu(), ProcessKey(), and refresh().
int SudokuPlugin::ListMenu::selected [private] |
Definition at line 72 of file list.h.
Referenced by get_selected_sudoku(), and ProcessKey().