she_alleg4: Define unique_display and display_scale on all platforms

This commit is contained in:
David Capello 2014-04-19 21:06:07 -03:00
parent bc32c18dbb
commit 019c7c9f1f
1 changed files with 5 additions and 3 deletions

View File

@ -173,13 +173,15 @@ private:
base::concurrent_queue<Event> m_events; base::concurrent_queue<Event> m_events;
}; };
#if WIN32
namespace { namespace {
Display* unique_display = NULL; Display* unique_display = NULL;
int display_scale;
#if WIN32
wndproc_t base_wndproc = NULL; wndproc_t base_wndproc = NULL;
bool display_has_mouse = false; bool display_has_mouse = false;
int display_scale;
static void queue_event(Event& ev) static void queue_event(Event& ev)
{ {
@ -329,8 +331,8 @@ void unsubclass_hwnd(HWND hwnd)
base_wndproc = NULL; base_wndproc = NULL;
} }
}
#endif #endif
} // anonymous namespace
class Alleg4Display : public Display { class Alleg4Display : public Display {
public: public: