Cleaned up font code to always use uint32 instead of the slightly more ambiguous "unsigned int" for codepoints

This commit is contained in:
Alex Szpakowski
2013-06-16 19:48:53 -03:00
parent d48d1fd441
commit 76618f0328
17 changed files with 60 additions and 63 deletions
+3 -2
View File
@@ -25,6 +25,7 @@
#include "Rasterizer.h"
#include "image/ImageData.h"
#include "common/Module.h"
#include "common/int.h"
// STD
#include <string>
@@ -41,9 +42,9 @@ public:
virtual Rasterizer *newRasterizer(Data *data, int size) = 0;
virtual Rasterizer *newRasterizer(love::image::ImageData *data, const std::string &glyphs) = 0;
virtual Rasterizer *newRasterizer(love::image::ImageData *data, unsigned int *glyphs, int length) = 0;
virtual Rasterizer *newRasterizer(love::image::ImageData *data, uint32 *glyphs, int length) = 0;
virtual GlyphData *newGlyphData(Rasterizer *r, const std::string &glyph) = 0;
virtual GlyphData *newGlyphData(Rasterizer *r, unsigned int glyph) = 0;
virtual GlyphData *newGlyphData(Rasterizer *r, uint32 glyph) = 0;
// Implement Module
virtual const char *getName() const = 0;