diff options
Diffstat (limited to 'engines/testbed/config.h')
-rw-r--r-- | engines/testbed/config.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/engines/testbed/config.h b/engines/testbed/config.h index 656f2f8b89..b981d25070 100644 --- a/engines/testbed/config.h +++ b/engines/testbed/config.h @@ -39,7 +39,9 @@ namespace Testbed { enum { - kSelectionToggle = 99 // Some random Number + kSelectionToggle = 16799, // Some random Number (A better way to do this?) + kTestbedQuitCmd, + kTestbedSelectAll }; class TestbedConfigManager { @@ -76,6 +78,19 @@ public: } } + void setColorAll(GUI::ThemeEngine::FontColor color) { + for (uint i = 0; i < _listColors.size(); i++) { + _listColors[i] = color; + } + draw();; + } + + void setColor(uint32 indx, GUI::ThemeEngine::FontColor color) { + assert(indx < _listColors.size()); + _listColors[indx] = color; + draw(); + } + }; class TestbedOptionsDialog : public GUI::Dialog { |