diff options
author | Xiao Xiangquan <xiaoxiangquan@gmail.com> | 2011-07-16 22:28:24 +0400 |
---|---|---|
committer | Xiao Xiangquan <xiaoxiangquan@gmail.com> | 2011-07-16 22:28:24 +0400 |
commit | 77926a7f9d7c8f07bc4aa70c48ade0f7927836b4 (patch) | |
tree | 175c606a9547f3b534a44527583824d0d7ab7be6 /source/blender/blenfont | |
parent | fa46278e347ca173e9e6d6b734a59c268f4fc9d0 (diff) |
select uiStyle according to UserDef and update lang-packs
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 3 | ||||
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 1 | ||||
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 10 |
3 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 9847b6ce838..88c29d43d25 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -188,8 +188,6 @@ void BLF_lang_init(void); /* Set the current locale. */ void BLF_lang_set(const char *); -/* Get the current locale. */ -char* BLF_lang_get(void); /* Set the current encoding name. */ void BLF_lang_encoding_name(const char *str); @@ -222,7 +220,6 @@ extern int blf_mono_font_render; // dont mess drawing with render threads. // XXX, me, too extern int blf_unifont; -extern int blf_unifont_render; // dont mess drawing with render threads. #define _(msgid) BLF_gettext(msgid) #define N_(msgid) msgid diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index 643c2826403..87d380c1b2a 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -77,7 +77,6 @@ int blf_mono_font_render= -1; // XXX, should these be made into global_font_'s too? int blf_unifont= -1; -int blf_unifont_render= -1; static FontBLF *BLF_get(int fontid) { diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 6a3e5b1f2ef..6ea9a259286 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -117,11 +117,6 @@ void BLF_lang_encoding(const char *str) /* bind_textdomain_codeset(DOMAIN_NAME, encoding_name); */ } -char* BLF_lang_get(void) -{ - return global_language; -} - #else /* ! INTERNATIONAL */ void BLF_lang_init(void) @@ -141,9 +136,4 @@ void BLF_lang_set(const char *str) return; } -char* BLF_lang_get(void) -{ - return ""; -} - #endif /* INTERNATIONAL */ |