#include <mutablebitmapbase.h>
Public Member Functions | |
| virtual | ~MutableBitmapBase () |
| virtual void | setPixel (const s16 x, const s16 y, const u16 colour)=0 |
| virtual void | blit (const s16 x, const s16 y, const u16 *data, const u32 size)=0 |
| virtual void | blitFill (const s16 x, const s16 y, const u16 colour, const u32 size)=0 |
Abstract class defining the basic properties of an editable bitmap.
| virtual WoopsiUI::MutableBitmapBase::~MutableBitmapBase | ( | ) | [inline, virtual] |
Destructor.
| virtual void WoopsiUI::MutableBitmapBase::blit | ( | const s16 | x, | |
| const s16 | y, | |||
| const u16 * | data, | |||
| const u32 | size | |||
| ) | [pure virtual] |
Blit data to the specified co-ordinates using the DMA hardware.
| x | The x co-ordinate to blit to. | |
| y | The y co-ordinate to blit to. | |
| data | The data to blit. | |
| size | The number of u16s to blit. |
Implemented in WoopsiUI::Bitmap, and WoopsiUI::FrameBuffer.
| virtual void WoopsiUI::MutableBitmapBase::blitFill | ( | const s16 | x, | |
| const s16 | y, | |||
| const u16 | colour, | |||
| const u32 | size | |||
| ) | [pure virtual] |
Fill at the specified co-ordinates using the DMA hardware.
| x | The x co-ordinate to blit to. | |
| y | The y co-ordinate to blit to. | |
| colour | The colour to fill with. | |
| size | The number of u16s to blit. |
Implemented in WoopsiUI::Bitmap, and WoopsiUI::FrameBuffer.
| virtual void WoopsiUI::MutableBitmapBase::setPixel | ( | const s16 | x, | |
| const s16 | y, | |||
| const u16 | colour | |||
| ) | [pure virtual] |
Set the colour of the specified pixel.
| x | X co-ord of the pixel to set. | |
| y | Y co-ord of the pixel to set. | |
| colour | New colour of the pixel. |
Implemented in WoopsiUI::Bitmap, and WoopsiUI::FrameBuffer.
1.6.3