Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/util/ios/IOSWindow.h
1694 views
1
//
2
// Copyright 2020 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.
5
//
6
7
// IOSWindow.h: Definition of the implementation of OSWindow for iOS
8
9
#ifndef UTIL_IOS_WINDOW_H_
10
#define UTIL_IOS_WINDOW_H_
11
12
#include "common/debug.h"
13
#include "util/OSWindow.h"
14
15
class IOSWindow : public OSWindow
16
{
17
public:
18
IOSWindow() {}
19
~IOSWindow() override {}
20
21
void disableErrorMessageDialog() override {}
22
void destroy() override {}
23
24
void resetNativeWindow() override {}
25
EGLNativeWindowType getNativeWindow() const override;
26
EGLNativeDisplayType getNativeDisplay() const override { return EGL_DEFAULT_DISPLAY; }
27
28
void messageLoop() override {}
29
30
void setMousePosition(int x, int y) override { UNIMPLEMENTED(); }
31
bool setOrientation(int width, int height) override;
32
bool setPosition(int x, int y) override
33
{
34
UNIMPLEMENTED();
35
return false;
36
}
37
bool resize(int width, int height) override;
38
void setVisible(bool isVisible) override {}
39
40
void signalTestEvent() override { UNIMPLEMENTED(); }
41
42
private:
43
bool initializeImpl(const std::string &name, int width, int height) override;
44
};
45
46
#endif // UTIL_IOS_WINDOW_H_
47
48