aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/fonts/je_texture_font.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-06 13:12:29 +0800
committerchai <chaifix@163.com>2018-12-06 13:12:29 +0800
commitb3712ebdf148bd8d2d31e70734a4b7923f6038f8 (patch)
treec813d158030ee33b76d7ec23fa2deaa1eb0a4e36 /src/libjin/graphics/fonts/je_texture_font.h
parent17d86218e25a6c889c24822da8d7b59967babd89 (diff)
*remove create function
Diffstat (limited to 'src/libjin/graphics/fonts/je_texture_font.h')
-rw-r--r--src/libjin/graphics/fonts/je_texture_font.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/libjin/graphics/fonts/je_texture_font.h b/src/libjin/graphics/fonts/je_texture_font.h
index df8f956..a753cac 100644
--- a/src/libjin/graphics/fonts/je_texture_font.h
+++ b/src/libjin/graphics/fonts/je_texture_font.h
@@ -26,26 +26,25 @@ namespace JinEngine
class TextureFont : public Font, public Graphic
{
public:
-
///
///
///
- static TextureFont* createTextureFont(const Bitmap* bitmap, const Content& codepoints, int cellw, int cellh);
+ TextureFont(const Bitmap* bitmap, const Content& codepoints, int cellw, int cellh);
///
///
///
- static TextureFont* createTextureFont(const Bitmap* bitmap, const Text& text, int cellw, int cellh);
+ TextureFont(const Bitmap* bitmap, const Content& codepoints, Color mask, int cellh);
///
///
///
- static TextureFont* createTextureFont(const Bitmap* bitmap, const Content& codepoints, Color mask, int cellh);
+ TextureFont(const Bitmap* bitmap, const Text& text, Color mask, int cellh);
///
///
///
- static TextureFont* createTextureFont(const Bitmap* bitmap, const Text& text, Color mask, int cellh);
+ TextureFont(const Bitmap* bitmap, const Text& text, int cellw, int cellh);
///
///
@@ -90,16 +89,6 @@ namespace JinEngine
///
///
///
- TextureFont(const Bitmap* bitmap, const Content& codepoints, int cellw, int cellh);
-
- ///
- ///
- ///
- TextureFont(const Bitmap* bitmap, const Content& codepoints, Color mask, int cellh);
-
- ///
- ///
- ///
int getCharWidth(int c);
///