22 #ifndef BACKENDS_GRAPHICS_NULL_H 23 #define BACKENDS_GRAPHICS_NULL_H 25 #include "backends/graphics/graphics.h" 58 int getScreenChangeID()
const override {
return 0; }
60 void beginGFXTransaction()
override {}
63 int16 getHeight()
const override {
return _height; }
64 int16 getWidth()
const override {
return _width; }
65 void setPalette(
const byte *colors, uint start, uint num)
override {}
66 void grabPalette(byte *colors, uint start, uint num)
const override {}
67 void copyRectToScreen(
const void *buf,
int pitch,
int x,
int y,
int w,
int h)
override {}
69 void unlockScreen()
override {}
70 void fillScreen(uint32 col)
override {}
71 void fillScreen(
const Common::Rect &r, uint32 col)
override {}
72 void updateScreen()
override {}
73 void setShakePos(
int shakeXOffset,
int shakeYOffset)
override {}
74 void setFocusRectangle(
const Common::Rect& rect)
override {}
75 void clearFocusRectangle()
override {}
77 void showOverlay(
bool inGUI)
override { _overlayVisible =
true; }
78 void hideOverlay()
override { _overlayVisible =
false; }
79 bool isOverlayVisible()
const override {
return _overlayVisible; }
81 void clearOverlay()
override {}
83 void copyRectToOverlay(
const void *buf,
int pitch,
int x,
int y,
int w,
int h)
override {}
84 int16 getOverlayHeight()
const override {
return _height; }
85 int16 getOverlayWidth()
const override {
return _width; }
87 bool showMouse(
bool visible)
override {
return !visible; }
88 void warpMouse(
int x,
int y)
override {}
89 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 {}
90 void setCursorPalette(
const byte *colors, uint start, uint num)
override {}
Feature
Definition: system.h:403
void grabPalette(byte *colors, uint start, uint num) const override
Definition: null-graphics.h:66
Definition: null-graphics.h:27
void setPalette(const byte *colors, uint start, uint num) override
Definition: null-graphics.h:65
TransactionError
Definition: system.h:1155
Definition: graphics.h:37
Definition: system.h:1156
void push_back(const t_T &element)
Definition: list.h:140