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:
authorXiao Xiangquan <xiaoxiangquan@gmail.com>2011-07-16 22:28:24 +0400
committerXiao Xiangquan <xiaoxiangquan@gmail.com>2011-07-16 22:28:24 +0400
commit77926a7f9d7c8f07bc4aa70c48ade0f7927836b4 (patch)
tree175c606a9547f3b534a44527583824d0d7ab7be6 /source/blender/blenfont
parentfa46278e347ca173e9e6d6b734a59c268f4fc9d0 (diff)
select uiStyle according to UserDef and update lang-packs
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/BLF_api.h3
-rw-r--r--source/blender/blenfont/intern/blf.c1
-rw-r--r--source/blender/blenfont/intern/blf_lang.c10
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 */