aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/gui.cpp')
-rw-r--r--engines/macventure/gui.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/macventure/gui.cpp b/engines/macventure/gui.cpp
index 725ce38268..77e28bac4e 100644
--- a/engines/macventure/gui.cpp
+++ b/engines/macventure/gui.cpp
@@ -177,6 +177,8 @@ void Gui::initGUI() {
_menu->setCommandsCallback(menuCommandsCallback, this);
_menu->calcDimensions();
+ loadGraphics();
+
if (!loadWindows())
error("Could not load windows");
@@ -275,6 +277,10 @@ void Gui::loadBorder(Graphics::MacWindow * target, Common::String filename, bool
}
}
+void Gui::loadGraphics() {
+ _graphics = new Container("Shadowgate II/Shadow Graphic");
+}
+
bool Gui::loadMenus() {
// We assume that, if there are static menus, we don't need dynamic ones
@@ -488,7 +494,9 @@ void Gui::drawMainGameWindow() {
5,
5),
kColorBlack);
- }
+ }
+ ImageAsset testImg(428, _graphics);
+ testImg.blitInto(srf, border.leftOffset * 2 + 10,border.topOffset * 2 + 10, kBlitBIC);
}
void Gui::drawSelfWindow() {