2 // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 #ifndef SAMPLE_UTIL_WIN32_WINDOW_H
8 #define SAMPLE_UTIL_WIN32_WINDOW_H
14 class Win32Window : public Window
20 bool initialize(const std::string &name, size_t width, size_t height, RendererType requestedRenderer);
23 EGLDisplay getDisplay() const;
24 EGLNativeWindowType getNativeWindow() const;
25 EGLNativeDisplayType getNativeDisplay() const;
29 bool popEvent(Event *event);
30 void pushEvent(Event event);
32 void setMousePosition(int x, int y);
35 std::string mClassName;
38 EGLNativeWindowType mNativeWindow;
39 EGLNativeDisplayType mNativeDisplay;
42 #endif // SAMPLE_UTIL_WINDOW_H