- Main Page
- Classes
- Files

- File List

# C:/Documents and Settings/Administrator/Desktop/woopsi-src-0.40/Woopsi/libwoopsi/include/textwriter.h

    00001 #ifndef _TEXTWRITER_H_
    00002 #define _TEXTWRITER_H_
    00003
    00004 #include <nds.h>
    00005 #include "fontbase.h"
    00006 #include "defines.h"
    00007
    00008 namespace WoopsiUI {
    00009
    00010         class MutableBitmapBase;
    00011
    00015         class TextWriter {
    00016
    00017         public:
    00018
    00035                 static void drawString(FontBase* font, const char* string, u8 length, s16 x, s16 y, u16 clipX1, u16 clipY1, u16 clipX2, u16 clipY2);
    00036
    00052                 static void drawString(MutableBitmapBase* bitmap, FontBase* font, const char* string, u8 length, s16 x, s16 y, u16 clipX1, u16 clipY1, u16 clipX2, u16 clipY2);
    00053
    00067                 static void drawChar(FontBase* font, char letter, s16 x, s16 y, u16 clipX1, u16 clipY1, u16 clipX2, u16 clipY2);
    00068
    00089                 static void drawChar(MutableBitmapBase* bitmap, u16 bitmapWidth, u16 bitmapHeight, FontBase* font, char letter, s16 charIndex, s16 x, s16 y, u16 clipX1, u16 clipY1, u16 clipX2, u16 clipY2);
    00090
    00091         private:
    00095                 inline TextWriter() { };
    00096
    00100                 inline ~TextWriter() { };
    00101         };
    00102 }
    00103
    00104 #endif