aboutsummaryrefslogtreecommitdiff
path: root/gui/InterfaceManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/InterfaceManager.cpp')
-rw-r--r--gui/InterfaceManager.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/gui/InterfaceManager.cpp b/gui/InterfaceManager.cpp
index ac04e56bc0..43d2aa7864 100644
--- a/gui/InterfaceManager.cpp
+++ b/gui/InterfaceManager.cpp
@@ -261,23 +261,12 @@ int InterfaceManager::runGUI() {
_system->showOverlay();
- Graphics::DrawStep *steps = new Graphics::DrawStep[2];
-
- steps[0].gradColor1.r = 214;
- steps[0].gradColor1.g = 113;
- steps[0].gradColor1.b = 8;
- steps[0].gradColor1.set = true;
- steps[0].gradColor2.r = 240;
- steps[0].gradColor2.g = 200;
- steps[0].gradColor2.b = 25;
- steps[0].gradColor2.set = true;
- steps[0].fillMode = VectorRenderer::kFillGradient;
- steps[0].drawingCall = &VectorRenderer::drawCallback_FILLSURFACE;
-
bool running = true;
while (running) { // draw!!
- _vectorRenderer->drawStep(Common::Rect(), steps[0]);
+ drawDD(kDDMainDialogBackground, Common::Rect());
+ drawDD(kDDButtonIdle, Common::Rect(32, 32, 128, 128));
+
_vectorRenderer->copyFrame(_system);
Common::Event event;