Setup parameters of the plugin. More...
#include <setup.h>
Public Member Functions | |
SetupData () | |
Constructor. | |
bool | parse (const char *name, const char *value) |
Parse the setup parameters of the plugin. | |
Public Attributes | |
int | givens_count |
int | symmetric |
int | mark_errors |
int | mark_ambiguous |
int | show_possibles_pattern |
int | show_possibles_digits |
int | clear_marks |
int | key_red |
int | key_green |
int | key_yellow |
char | maxi_font [MAXFONTNAME] |
int | maxi_font_height |
int | maxi_font_width |
char | mini_font [MAXFONTNAME] |
int | mini_font_height |
int | mini_font_width |
int | transparency |
Setup parameters of the plugin.
Definition at line 36 of file setup.h.
SetupData::SetupData | ( | ) |
Constructor.
Initialize the setup parameters of the plugin with standard values.
Definition at line 35 of file setup.cpp.
References clear_marks, givens_count, key_green, SudokuPlugin::CommandList::key_green_default_index(), key_red, SudokuPlugin::CommandList::key_red_default_index(), key_yellow, SudokuPlugin::CommandList::key_yellow_default_index(), mark_ambiguous, mark_errors, maxi_font, maxi_font_height, maxi_font_width, mini_font, mini_font_height, mini_font_width, show_possibles_digits, show_possibles_pattern, symmetric, and transparency.
bool SetupData::parse | ( | const char * | name, | |
const char * | value | |||
) |
Parse the setup parameters of the plugin.
This method is called for each setup parameter the plugin has previously stored in the global setup data.
Definition at line 61 of file setup.cpp.
References clear_marks, givens_count, SudokuPlugin::CommandList::id_to_index(), key_green, SudokuPlugin::CommandList::key_green_default_index(), key_red, SudokuPlugin::CommandList::key_red_default_index(), key_yellow, SudokuPlugin::CommandList::key_yellow_default_index(), mark_ambiguous, mark_errors, maxi_font, maxi_font_height, maxi_font_width, mini_font, mini_font_height, mini_font_width, show_possibles_digits, show_possibles_pattern, symmetric, and transparency.
Referenced by SudokuPlugin::Plugin::SetupParse().
Definition at line 45 of file setup.h.
Referenced by parse(), SudokuPlugin::Menu::reset(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 39 of file setup.h.
Referenced by SudokuPlugin::Menu::generate(), SudokuPlugin::Menu::Menu(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 47 of file setup.h.
Referenced by parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 46 of file setup.h.
Referenced by parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 48 of file setup.h.
Referenced by parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 42 of file setup.h.
Referenced by SudokuPlugin::Menu::paint(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 41 of file setup.h.
Referenced by SudokuPlugin::Menu::paint(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
char SudokuPlugin::SetupData::maxi_font[MAXFONTNAME] |
Definition at line 49 of file setup.h.
Referenced by SudokuPlugin::Menu::Menu(), parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 50 of file setup.h.
Referenced by SudokuPlugin::Menu::Menu(), parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 51 of file setup.h.
Referenced by SudokuPlugin::Menu::Menu(), parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
char SudokuPlugin::SetupData::mini_font[MAXFONTNAME] |
Definition at line 52 of file setup.h.
Referenced by SudokuPlugin::Menu::Menu(), parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 53 of file setup.h.
Referenced by SudokuPlugin::Menu::Menu(), parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 54 of file setup.h.
Referenced by SudokuPlugin::Menu::Menu(), parse(), SudokuPlugin::Menu::ProcessKey(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 44 of file setup.h.
Referenced by SudokuPlugin::Menu::paint(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 43 of file setup.h.
Referenced by SudokuPlugin::Menu::paint(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 40 of file setup.h.
Referenced by SudokuPlugin::Menu::generate(), SudokuPlugin::Menu::Menu(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().
Definition at line 55 of file setup.h.
Referenced by SudokuPlugin::Menu::paint(), parse(), SetupData(), SudokuPlugin::SetupPage::SetupPage(), and SudokuPlugin::SetupPage::Store().