Woopsi 1.0 GUI Framework for Nintendo DS Homebrew

- Main Page
- Classes
- Files

- File List

# packedfont1.h

    00001 /* Contributed by Jeff Laing
    00002  * 20080414
    00003  */
    00004
    00005 #ifndef _PACKED_FONT_1_
    00006 #define _PACKED_FONT_1_
    00007
    00008 #include "packedfontbase.h"
    00009
    00010 namespace WoopsiUI {
    00011
    00012         class MutableBitmapBase;
    00013
    00017         class PackedFont1 : public PackedFontBase
    00018         {
    00019         public:
    00032                 PackedFont1(
    00033                         u8 first, u8 last,
    00034                         const u16 *glyphData,
    00035                         const u16 *glyphOffset,
    00036                         const u8 *glyphWidth,
    00037                         const u8 height,
    00038                         const u8 spWidth,
    00039                         const u8 charTop,
    00040                         const u8 fixedWidth = 0)
    00041                         :
    00042                           PackedFontBase(first, last, glyphData, glyphOffset, glyphWidth, height, spWidth, charTop, fixedWidth) { }
    00043
    00056                 void renderChar(
    00057                         const u16* pixelData, u16 pixelsPerRow,
    00058                         MutableBitmapBase* bitmap,
    00059                         s16 x, s16 y,
    00060                         u16 clipX1, u16 clipY1, u16 clipX2, u16 clipY2);
    00061         };
    00062 }
    00063
    00064 #endif