25 #include "backends/platform/psp/default_display_client.h" 26 #include "graphics/blit.h" 30 int _hotspotX, _hotspotY;
32 int _cursorTargetScale;
33 bool _useCursorPalette;
34 bool _hasCursorPalette;
35 uint32 _mouseLimitWidth;
36 uint32 _mouseLimitHeight;
42 Graphics::FastBlitFunc _blitFunc;
44 void updateRendererOffset();
47 Cursor() : _hotspotX(0), _hotspotY(0), _keyColor(0), _cursorTargetScale(0),
48 _useCursorPalette(false), _hasCursorPalette(false), _mouseLimitWidth(0),
49 _mouseLimitHeight(0), _x(0), _y(0), _fakeAlpha(false) { }
50 virtual ~
Cursor() { deallocate(); }
52 void setKeyColor(uint32 color);
53 void setCursorTargetScale(
int scale) { _cursorTargetScale = scale; }
54 void setScreenPalette(
const byte *colors, uint start, uint num);
55 void copyFromArray(
const byte *array);
56 Palette &palette() {
return _palette; }
57 Buffer &buffer() {
return _buffer; }
58 void setCursorPalette(
const byte *colors, uint start, uint num);
59 void enableCursorPalette(
bool enable);
60 bool isCursorPaletteEnabled()
const {
return _useCursorPalette; }
61 void setLimits(uint32 width, uint32 height);
62 void setXY(
int x,
int y);
63 int32 getX()
const {
return _x; }
64 int32 getY()
const {
return _y; }
65 bool increaseXY(int32 incX, int32 incY);
66 void adjustXYForScreenSize(int32 &x, int32 &y);
68 void setHotspot(int32 x, int32 y);
72 void useGlobalScaler(
bool val) { _renderer.setUseGlobalScaler(val); }
77 void setSize(uint32 width, uint32 height);
79 PSPPixelFormat::Type &bufferFormat,
80 PSPPixelFormat::Type &paletteFormat,
81 uint32 &numOfEntries);
82 void setRendererModePalettized(
bool palettized);
Definition: atari-cursor.h:35
Definition: display_client.h:113
Definition: default_display_client.h:31
Definition: atari-screen.h:42