diff options
author | Neeraj Kumar | 2010-07-18 07:53:05 +0000 |
---|---|---|
committer | Neeraj Kumar | 2010-07-18 07:53:05 +0000 |
commit | 07a9a03587ff0df916ac77b9518fdae97ecc4c64 (patch) | |
tree | aeaa39fa61629487203d6066e8af5bb682c2e535 /engines/testbed/config.h | |
parent | fd157b47a3ac31cd2d22875b7d0f7bf5c3c0bf49 (diff) | |
download | scummvm-rg350-07a9a03587ff0df916ac77b9518fdae97ecc4c64.tar.gz scummvm-rg350-07a9a03587ff0df916ac77b9518fdae97ecc4c64.tar.bz2 scummvm-rg350-07a9a03587ff0df916ac77b9518fdae97ecc4c64.zip |
a few more modifications in the testsuite selection widget
svn-id: r50983
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 { |