22 #ifndef GRAPHICS_SCREEN_H 23 #define GRAPHICS_SCREEN_H 25 #include "graphics/managed_surface.h" 26 #include "graphics/palette.h" 27 #include "graphics/pixelformat.h" 28 #include "common/list.h" 29 #include "common/rect.h" 66 Screen(
int width,
int height);
109 void getPalette(byte *palette, uint start, uint num);
115 byte tmp[PALETTE_SIZE];
123 void setPalette(
const byte palette[PALETTE_SIZE]);
128 void setPalette(
const byte *palette, uint start, uint num);
Definition: managed_surface.h:51
bool isDirty() const
Definition: screen.h:72
Graphics::Palette getPalette(uint start=0, uint num=PALETTE_COUNT)
Definition: screen.h:114
virtual void clearDirtyRects()
Definition: screen.h:83
virtual void addDirtyRect(const Common::Rect &r)
Common::List< Common::Rect > _dirtyRects
Definition: screen.h:53
bool unionRectangle(Common::Rect &destRect, const Common::Rect &src1, const Common::Rect &src2)
Definition: formatinfo.h:28
void clear()
Definition: list.h:206
void getPalette(byte palette[PALETTE_SIZE])
Simple class for handling a palette data.
Definition: palette.h:45
virtual void updateScreen()
bool empty() const
Definition: list.h:219
void setPalette(const Graphics::Palette &pal, uint start=0)
Definition: screen.h:133
void setPalette(const byte palette[PALETTE_SIZE])