22#ifndef BACKENDS_MODULAR_BACKEND_H
23#define BACKENDS_MODULAR_BACKEND_H
25#include "backends/base-backend.h"
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;
84 bool setScaler(uint mode,
int factor) override final;
89 Common::List<
Graphics::PixelFormat> getSupportedFormats() const override final;
101 void copyRectToScreen(const
void *buf,
int pitch,
int x,
int y,
int w,
int h) override final;
108 void setShakePos(
int shakeXOffset,
int shakeYOffset) override final;
127 void setMouseCursor(const
void *buf, uint w, uint h,
int hotspotX,
int hotspotY, uint32 keycolor, const
Graphics::PixelFormat *format, const
byte *mask,
frac_t scaleX,
frac_t scaleY) override final;
Definition: base-backend.h:31
Definition: graphics.h:38
Definition: modular-backend.h:48
PaletteManager * getPaletteManager() override final
int16 getOverlayHeight() const override final
uint getScaler() const override final
bool showMouse(bool visible) override final
void saveScreenshot() override final
int getDefaultGraphicsMode() const override
uint getDefaultScaleFactor() const override final
void unlockScreen() override final
void setCursorPalette(const byte *colors, uint start, uint num) override final
int getStretchMode() const override final
bool isOverlayVisible() const override final
void fillScreen(uint32 col) override final
OSystem::TransactionError endGFXTransaction() override final
const GraphicsMode * getSupportedStretchModes() const override final
int getScreenChangeID() const override final
void showOverlay(bool inGUI) override final
void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, const Graphics::PixelFormat *format, const byte *mask, frac_t scaleX, frac_t scaleY) override final
void hideOverlay() override final
void initSize(uint width, uint height, const Graphics::PixelFormat *format=NULL) override final
bool setStretchMode(int mode) override final
float getHiDPIScreenFactor() const override final
int16 getOverlayWidth() const override final
void setFeatureState(Feature f, bool enable) override
bool setGraphicsMode(int mode, uint flags=kGfxModeNoFlags) override
void presentBuffer() override final
void clearFocusRectangle() override final
int getGraphicsMode() const override
Common::Rect getSafeOverlayArea(int16 *width, int16 *height) const override final
void initSizeHint(const Graphics::ModeList &modes) override final
void beginGFXTransaction() override final
int getDefaultStretchMode() const override final
void displayActivityIconOnOSD(const Graphics::Surface *icon) override final
uint getScaleFactor() const override final
bool getFeatureState(Feature f) override
void setShakePos(int shakeXOffset, int shakeYOffset) override final
uint getDefaultScaler() const override final
void displayMessageOnOSD(const Common::U32String &msg) override final
bool setShader(const Common::Path &name) override final
int16 getWidth() override final
void copyRectToOverlay(const void *buf, int pitch, int x, int y, int w, int h) override final
bool lockMouse(bool lock) override final
const GraphicsMode * getSupportedGraphicsModes() const override
void warpMouse(int x, int y) override final
void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h) override final
void grabOverlay(Graphics::Surface &surface) override final
bool setRotationMode(Common::RotationMode rotation) override final
int16 getHeight() override final
Graphics::Surface * lockScreen() override final
bool setScaler(uint mode, int factor) override final
void clearOverlay() override final
Graphics::PixelFormat getOverlayFormat() const override final
void setFocusRectangle(const Common::Rect &rect) override final
void updateScreen() override final
bool hasFeature(Feature f) override
Definition: modular-backend.h:152
Audio::Mixer * getMixer() override final
Definition: paletteman.h:47
int32 frac_t
Definition: frac.h:52
RotationMode
Definition: rotationmode.h:44
Feature
Definition: system.h:415
TransactionError
Definition: system.h:1188
@ kGfxModeNoFlags
Definition: system.h:790
Definition: algorithm.h:29
Definition: formatinfo.h:28