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);
23 EGLNativeWindowType getNativeWindow() const;
24 EGLNativeDisplayType getNativeDisplay() const;
28 bool popEvent(Event *event);
29 void pushEvent(Event event);
31 void setMousePosition(int x, int y);
34 std::string mClassName;
36 EGLNativeWindowType mNativeWindow;
37 EGLNativeDisplayType mNativeDisplay;
40 #endif // SAMPLE_UTIL_WINDOW_H