Woopsi 1.3
Nintendo DS Gui Framework
libwoopsi/include/bitmapbase.h
00001 #ifndef _BITMAP_BASE_H_
00002 #define _BITMAP_BASE_H_
00003 
00004 #include <nds.h>
00005 
00006 namespace WoopsiUI {
00007 
00019     class BitmapBase {
00020     public:
00021 
00025         virtual inline ~BitmapBase() { };
00026 
00031         virtual const u16* getData() const = 0;
00032 
00040         virtual const u16* getData(s16 x, s16 y) const = 0;
00041 
00048         virtual const u16 getPixel(s16 x, s16 y) const = 0;
00049 
00062         virtual void copy(s16 x, s16 y, u32 size, u16* dest) const = 0;
00063 
00068         virtual const u16 getWidth() const = 0;
00069 
00074         virtual const u16 getHeight() const = 0;
00075     };
00076 }
00077 
00078 #endif
 All Classes Functions Variables Enumerations Enumerator