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:
authorRob Haarsma <phaseIV@zonnet.nl>2005-01-21 17:48:03 +0300
committerRob Haarsma <phaseIV@zonnet.nl>2005-01-21 17:48:03 +0300
commit136ecd46442d5cb95c7f546e5a401d5df458a2f9 (patch)
treed837c5ca98abc7ff6844749aa2c2e2760b2d78b8 /source/blender/src/language.c
parent465b15eb695ef96534b008199fa90af0936febde (diff)
Modified interface texture font support, which should work nicely with the freshly added bFTGL library.
Also removed some redundant #include's on some files.
Diffstat (limited to 'source/blender/src/language.c')
-rw-r--r--source/blender/src/language.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/src/language.c b/source/blender/src/language.c
index 8f9c476a142..750483bf789 100644
--- a/source/blender/src/language.c
+++ b/source/blender/src/language.c
@@ -71,7 +71,6 @@ struct _LANGMenuEntry {
static LANGMenuEntry *langmenu= 0;
static int tot_lang = 0;
-float lang_texsize = 1.0;
#endif // INTERNATIONAL
@@ -82,6 +81,13 @@ void BIF_RasterPos(float x, float y)
#endif // INTERNATIONAL
}
+void BIF_SetScale(float aspect)
+{
+#ifdef INTERNATIONAL
+ FTF_SetScale(aspect);
+#endif // INTERNATIONAL
+}
+
void refresh_interface_font(void)
{
#ifdef INTERNATIONAL