diff options
author | Vicent Marti | 2008-06-14 17:45:26 +0000 |
---|---|---|
committer | Vicent Marti | 2008-06-14 17:45:26 +0000 |
commit | cb6cb1361b742ae274c5cd6584ad69b0f3d61db8 (patch) | |
tree | 06febba6b414e7986b1dfc38337ece12f239488e /gui/InterfaceManager.cpp | |
parent | 8e2601d1954a758f535181ca418a2309dc58f8e4 (diff) | |
download | scummvm-rg350-cb6cb1361b742ae274c5cd6584ad69b0f3d61db8.tar.gz scummvm-rg350-cb6cb1361b742ae274c5cd6584ad69b0f3d61db8.tar.bz2 scummvm-rg350-cb6cb1361b742ae274c5cd6584ad69b0f3d61db8.zip |
Code formating conventions.
Fix in test drawing code.
svn-id: r32704
Diffstat (limited to 'gui/InterfaceManager.cpp')
-rw-r--r-- | gui/InterfaceManager.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/InterfaceManager.cpp b/gui/InterfaceManager.cpp index f0874393f0..380f1d4644 100644 --- a/gui/InterfaceManager.cpp +++ b/gui/InterfaceManager.cpp @@ -197,8 +197,10 @@ int InterfaceManager::runGUI() { steps[2].flags = DrawStep::kStepCallbackOnly; steps[2].scale = (1 << 16); - steps[3].drawing_call = &VectorRenderer::drawCallback_ROUNDSQ; - steps[3].flags = DrawStep::kStepCallbackOnly; + steps[3].color1.r = 255; + steps[3].color1.g = 255; + steps[3].color1.b = 255; + steps[3].flags = DrawStep::kStepSettingsOnly | DrawStep::kStepSetFG; Common::Rect area = Common::Rect(32, 32, 256, 256); @@ -206,6 +208,7 @@ int InterfaceManager::runGUI() { while (running) { // draw!! _vectorRenderer->drawStep(Common::Rect(), steps[0]); + _vectorRenderer->drawStep(Common::Rect(), steps[3]); _vectorRenderer->drawStep(area, steps[1]); _vectorRenderer->drawStep(area, steps[2]); // _vectorRenderer->drawStep(Common::Rect(32, 32, 256, 256), &steps[3]); |