diff options
author | Nicolas Bacca | 2003-12-22 11:22:06 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-12-22 11:22:06 +0000 |
commit | 4ae44e1e0442b7b4af4292fa1a88e6bd9df0e97b (patch) | |
tree | eed0f21b4256713a90d6d6a1802d4477e6844f36 /backends | |
parent | 03d9d233aa9e4926b7af8f89df61702932e85f20 (diff) | |
download | scummvm-rg350-4ae44e1e0442b7b4af4292fa1a88e6bd9df0e97b.tar.gz scummvm-rg350-4ae44e1e0442b7b4af4292fa1a88e6bd9df0e97b.tar.bz2 scummvm-rg350-4ae44e1e0442b7b4af4292fa1a88e6bd9df0e97b.zip |
Namespace fix
svn-id: r11849
Diffstat (limited to 'backends')
-rw-r--r-- | backends/wince/screen.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/backends/wince/screen.cpp b/backends/wince/screen.cpp index 67cea81024..f5a2ed1cd7 100644 --- a/backends/wince/screen.cpp +++ b/backends/wince/screen.cpp @@ -24,6 +24,7 @@ /* Original GFX code by Vasyl Tsvirkunov */ #include "wince.h" +#include "gui/newgui.h" //#include <windows.h> //#include <Aygshell.h> @@ -34,6 +35,8 @@ #include <tlhelp32.h> +using namespace GUI; + #define COLORCONV565(r,g,b) \ (((r&0xf8)<<(11-3))|((g&0xfc)<<(5-2))|((b&0xf8)>>3)) #define COLORCONV555(r,g,b) \ @@ -90,7 +93,7 @@ extern bool hide_toolbar; extern bool is_simon; extern bool smartphone; extern bool high_res; -extern NewGui *g_gui; +//extern NewGui *g_gui; bool toolbar_drawn; bool draw_keyboard; bool wide_screen; @@ -3018,7 +3021,7 @@ void Translate(int* px, int* py) return; if (wide_screen && high_res) { - if (!g_gui->isActive()) { + if (!g_gui.isActive()) { *px = *px * 2; *py = *py * 2; } @@ -3028,7 +3031,7 @@ void Translate(int* px, int* py) if (high_res) { x = 320 - *py; y = *px; - if (!g_gui->isActive()) { + if (!g_gui.isActive()) { *px = x * 2; *py = y * 2; } |