Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/ftfont/intern/FTF_TTFont.h')
-rw-r--r--source/blender/ftfont/intern/FTF_TTFont.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/ftfont/intern/FTF_TTFont.h b/source/blender/ftfont/intern/FTF_TTFont.h
index e4cdfd75b16..18d30e944f3 100644
--- a/source/blender/ftfont/intern/FTF_TTFont.h
+++ b/source/blender/ftfont/intern/FTF_TTFont.h
@@ -79,9 +79,11 @@ public:
void GetBoundingBox(char* str, float *llx, float *lly, float *llz, float *urx, float *ury, float *urz, unsigned int flag);
/**
- * added by phase
+ * added by phase, ton
* functions to communicate with the preference menu
*/
+ void SetFontSize(char size);
+
int SetFont(char* str, int size);
void SetLanguage(char* str);
@@ -97,7 +99,11 @@ protected:
int font_size;
/** FTGL's */
- FTFont* font;
+ FTFont* font; /* active */
+
+ FTFont* fonts; /* opened, small medium and large */
+ FTFont* fontm;
+ FTFont* fontl;
/** from system encoding in .locale to UNICODE */
// iconv_t cd;