22 #ifndef BACKENDS_GRAPHICS_ANDROID_ANDROID_GRAPHICS_H 23 #define BACKENDS_GRAPHICS_ANDROID_ANDROID_GRAPHICS_H 25 #include "common/scummsys.h" 26 #include "backends/graphics/opengl/opengl-graphics.h" 28 #include "backends/platform/android/touchcontrols.h" 34 virtual void initSurface() = 0;
35 virtual void deinitSurface() = 0;
36 virtual void resizeSurface() = 0;
41 virtual void syncVirtkeyboardState(
bool virtkeybd_on) = 0;
42 virtual void applyTouchSettings()
const = 0;
49 int screenWidth, screenHeight;
76 virtual void initSurface()
override;
77 virtual void deinitSurface()
override;
78 virtual void resizeSurface()
override;
83 void updateScreen()
override;
87 virtual bool notifyMousePosition(
Common::Point &mouse)
override;
90 float getHiDPIScreenFactor()
const override;
93 void touchControlNotifyChanged()
override;
94 void touchControlDraw(uint8 alpha, int16 x, int16 y, int16 w, int16 h,
const Common::Rect &clip)
override;
97 void recalculateDisplayAreas()
override;
100 void showOverlay(
bool inGUI)
override;
101 void hideOverlay()
override;
104 bool loadVideoMode(uint requestedWidth, uint requestedHeight,
const Graphics::PixelFormat &format)
override;
106 void refreshScreen()
override;
108 void syncVirtkeyboardState(
bool virtkeybd_on)
override;
109 void applyTouchSettings()
const override;
Definition: managed_surface.h:51
virtual bool setState(const State &state)=0
void setSystemMousePosition(const int x, const int y) override
Definition: android-graphics.h:98
Definition: android-graphics.h:30
Definition: android-graphics.h:70
Definition: opengl-graphics.h:57
Definition: android-graphics.h:48
virtual State getState() const =0
Definition: texture.h:166
Definition: touchcontrols.h:31