aboutsummaryrefslogtreecommitdiff
path: root/engines/testbed/sound.h
diff options
context:
space:
mode:
authorNeeraj Kumar2010-07-30 13:54:25 +0000
committerNeeraj Kumar2010-07-30 13:54:25 +0000
commita6e84128c975a220f4c2800a1d937c37e34b6cec (patch)
tree8475f9057fc2f5ad3b25cff819b1eb812b0b118d /engines/testbed/sound.h
parent4814db3a6a99f0a8920968e736494571b25d225b (diff)
downloadscummvm-rg350-a6e84128c975a220f4c2800a1d937c37e34b6cec.tar.gz
scummvm-rg350-a6e84128c975a220f4c2800a1d937c37e34b6cec.tar.bz2
scummvm-rg350-a6e84128c975a220f4c2800a1d937c37e34b6cec.zip
TESTBED: generalized the GUI, added code for the end text gui message and option to rerun tests
svn-id: r51507
Diffstat (limited to 'engines/testbed/sound.h')
-rw-r--r--engines/testbed/sound.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/testbed/sound.h b/engines/testbed/sound.h
index 4d432a36fc..841a386b81 100644
--- a/engines/testbed/sound.h
+++ b/engines/testbed/sound.h
@@ -25,22 +25,17 @@
#ifndef TESTBED_SOUND_H
#define TESTBED_SOUND_H
-#include "testbed/testsuite.h"
#include "gui/dialog.h"
+#include "testbed/config.h"
+#include "testbed/testsuite.h"
namespace Testbed {
-class SoundSubsystemDialog : public GUI::Dialog {
+class SoundSubsystemDialog : public TestbedInteractionDialog {
public:
SoundSubsystemDialog();
~SoundSubsystemDialog() {}
void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data);
-private:
- void addButton(uint w, uint h, const Common::String name, uint32 cmd, uint xOffset = 0, uint yPadding = 8);
- void addText(uint w, uint h, const Common::String text, Graphics::TextAlign textAlign, uint xOffset, uint yPadding);
- Common::Array<GUI::ButtonWidget *> _buttonArray;
- uint _xOffset;
- uint _yOffset;
};
namespace SoundSubsystem {