22 #ifndef STARK_GFX_BITMAP_H 23 #define STARK_GFX_BITMAP_H 25 #include "common/hash-str.h" 40 Bitmap() : _width(0), _height(0) {}
49 virtual void bind()
const = 0;
52 virtual void update(
const Graphics::Surface *surface,
const byte *palette =
nullptr) = 0;
55 virtual void setSamplingFilter(SamplingFilter filter) = 0;
61 uint32
width()
const {
return _width; }
64 uint32
height()
const {
return _height; }
74 #endif // STARK_GFX_BITMAP_H
uint32 width() const
Definition: bitmap.h:61
Definition: formatinfo.h:28
uint32 height() const
Definition: bitmap.h:64