22 #ifndef BACKENDS_MODULAR_BACKEND_H 23 #define BACKENDS_MODULAR_BACKEND_H 25 #include "backends/base-backend.h" 70 #if defined(USE_IMGUI) 71 void setImGuiCallbacks(
const ImGuiCallbacks &callbacks)
override final;
72 void *getImGuiTexture(
const Graphics::Surface &image,
const byte *palette,
int palCount)
override final;
73 void freeImGuiTexture(
void *texture)
override final;
83 bool setScaler(uint mode,
int factor)
override final;
100 void copyRectToScreen(
const void *buf,
int pitch,
int x,
int y,
int w,
int h)
override final;
106 void setShakePos(
int shakeXOffset,
int shakeYOffset)
override final;
116 void copyRectToOverlay(
const void *buf,
int pitch,
int x,
int y,
int w,
int h)
override final;
122 bool showMouse(
bool visible)
override final;
123 void warpMouse(
int x,
int y)
override final;
124 void setMouseCursor(
const void *buf, uint w, uint h,
int hotspotX,
int hotspotY, uint32 keycolor,
bool dontScale =
false,
const Graphics::PixelFormat *format = NULL,
const byte *mask = NULL)
override final;
125 void setCursorPalette(
const byte *colors, uint start, uint num)
override final;
126 bool lockMouse(
bool lock)
override final;
bool setGraphicsMode(int mode, uint flags=kGfxModeNoFlags) override
void initSizeHint(const Graphics::ModeList &modes) override final
void unlockScreen() override final
Definition: modular-backend.h:149
int getScreenChangeID() const override final
Definition: modular-backend.h:48
uint getDefaultScaleFactor() const override final
void clearOverlay() override final
void hideOverlay() override final
void displayMessageOnOSD(const Common::U32String &msg) override final
void fillScreen(uint32 col) override final
virtual Audio::Mixer * getMixer()=0
PaletteManager * getPaletteManager() override final
void warpMouse(int x, int y) override final
void clearFocusRectangle() override final
bool isOverlayVisible() const override final
Feature
Definition: system.h:403
int getStretchMode() const override final
int16 getWidth() override final
void setCursorPalette(const byte *colors, uint start, uint num) override final
uint getDefaultScaler() const override final
void copyRectToOverlay(const void *buf, int pitch, int x, int y, int w, int h) override final
void updateScreen() override final
const GraphicsMode * getSupportedGraphicsModes() const override
void setFocusRectangle(const Common::Rect &rect) override final
int16 getOverlayHeight() override final
int getDefaultGraphicsMode() const override
bool setShader(const Common::Path &name) override final
uint getScaler() const override final
void setFeatureState(Feature f, bool enable) override
int16 getHeight() override final
void grabOverlay(Graphics::Surface &surface) override final
int getGraphicsMode() const override
bool setScaler(uint mode, int factor) override final
Definition: base-backend.h:32
TransactionError
Definition: system.h:1155
void displayActivityIconOnOSD(const Graphics::Surface *icon) override final
float getHiDPIScreenFactor() const override final
bool setStretchMode(int mode) override final
void saveScreenshot() override final
void initSize(uint width, uint height, const Graphics::PixelFormat *format=NULL) override final
bool setScaler(const char *name, int factor) override final
bool getFeatureState(Feature f) override
void setShakePos(int shakeXOffset, int shakeYOffset) override final
bool hasFeature(Feature f) override
int16 getOverlayWidth() override final
Definition: graphics.h:37
uint getScaleFactor() const override final
bool showMouse(bool visible) override final
bool lockMouse(bool lock) override final
Graphics::Surface * lockScreen() override final
void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale=false, const Graphics::PixelFormat *format=NULL, const byte *mask=NULL) override final
const GraphicsMode * getSupportedStretchModes() const override final
void showOverlay(bool inGUI) override final
void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h) override final
int getDefaultStretchMode() const override final
OSystem::TransactionError endGFXTransaction() override final
Definition: paletteman.h:47
void beginGFXTransaction() override final
Graphics::PixelFormat getOverlayFormat() const override final