aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova2/supernova2.cpp
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-05-30 09:56:43 +0200
committerThierry Crozat2019-07-28 15:09:14 +0100
commitdd5f1778ff20d7624ed3490ceeea1c8aa9e9fde8 (patch)
treec619df1a6469dab4c977c3ddfbce0d2519a24720 /engines/supernova2/supernova2.cpp
parentf82e55a7f14ae25d24fb420eb0c189292ec8d1ea (diff)
downloadscummvm-rg350-dd5f1778ff20d7624ed3490ceeea1c8aa9e9fde8.tar.gz
scummvm-rg350-dd5f1778ff20d7624ed3490ceeea1c8aa9e9fde8.tar.bz2
scummvm-rg350-dd5f1778ff20d7624ed3490ceeea1c8aa9e9fde8.zip
SUPERNOVA2: Render GUI
Diffstat (limited to 'engines/supernova2/supernova2.cpp')
-rw-r--r--engines/supernova2/supernova2.cpp41
1 files changed, 25 insertions, 16 deletions
diff --git a/engines/supernova2/supernova2.cpp b/engines/supernova2/supernova2.cpp
index f2a21a6d90..d617ced94e 100644
--- a/engines/supernova2/supernova2.cpp
+++ b/engines/supernova2/supernova2.cpp
@@ -255,6 +255,27 @@ void Supernova2Engine::renderText(StringId stringId) {
_screen->renderText(stringId);
}
+void Supernova2Engine::renderText(const GuiElement &guiElement) {
+ _screen->renderText(guiElement);
+}
+
+void Supernova2Engine::renderText(const uint16 character, int x, int y, byte color) {
+ _screen->renderText(character, x, y, color);
+}
+
+void Supernova2Engine::renderText(const char *text, int x, int y, byte color) {
+ _screen->renderText(text, x, y, color);
+}
+
+void Supernova2Engine::renderText(const Common::String &text, int x, int y, byte color) {
+ _screen->renderText(text, x, y, color);
+}
+
+void Supernova2Engine::renderText(StringId stringId, int x, int y, byte color) {
+ _screen->renderText(stringId, x, y, color);
+}
+
+
void Supernova2Engine::paletteBrightness() {
_screen->paletteBrightness();
}
@@ -385,24 +406,12 @@ void Supernova2Engine::setColor63(byte value) {
return quit;
}*/
-void Supernova2Engine::renderText(const uint16 character, int x, int y, byte color) {
- _screen->renderText(character, x, y, color);
-}
-
-void Supernova2Engine::renderText(const char *text, int x, int y, byte color) {
- _screen->renderText(text, x, y, color);
-}
-
-void Supernova2Engine::renderText(const Common::String &text, int x, int y, byte color) {
- _screen->renderText(text, x, y, color);
-}
-
-void Supernova2Engine::renderText(StringId stringId, int x, int y, byte color) {
- _screen->renderText(stringId, x, y, color);
-}
-
void Supernova2Engine::renderBox(int x, int y, int width, int height, byte color) {
_screen->renderBox(x, y, width, height, color);
}
+void Supernova2Engine::renderBox(const GuiElement &guiElement) {
+ _screen->renderBox(guiElement);
+}
+
}