diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-11-09 18:45:19 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-11-09 18:45:19 +0300 |
commit | d1285dc756711b6dccb30a30df661376fe513bee (patch) | |
tree | 981c646e894b8b77e6001becb88435e41358d9a8 /source/blender/src/interface_draw.c | |
parent | 56a12a30c5fa3699b66a3f6e92781c373b5403a0 (diff) |
This is really two commits but the first one is very small and affects one
file I modified for the other patch. So I'm being bad and combining them
together.
First one is added -lXi to LLIBS for solaris. (Makes it so it compiles
again with the tablet stuff added)
Second one is the real commit its an expansion of patch #4458
This adds optional ICONV lining to support international fonts in the
file selector. Thanks to wisit venita (dripstone) I mostly just cleaned
it up a little and made it optional via defines.
Its currently turned off for all platforms except for solaris on scons.
For scons see your config/(platform).py file look for WITH_BF_ICONV
For the Makefiles look at source/nan_definitions.mk look for WITH_ICONV
(basically you'll want to export WITH_ICONV=true and possibly set some other
stuff)
Let me know if there are any problems.
Kent
--
mein@cs.umn.edu
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index 84336b2d293..58ca38ec30c 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -1565,7 +1565,7 @@ static void ui_draw_text_icon(uiBut *but) if(but->type==LABEL && but->min!=0.0) BIF_ThemeColor(TH_BUT_TEXT_HI); ui_rasterpos_safe(x, (but->y1+but->y2- 9.0)/2.0, but->aspect); - if(but->type==TEX || but->type==IDPOIN) transopts= 0; // no translation, of course! + if(but->type==IDPOIN) transopts= 0; // no translation, of course! else transopts= (U.transopts & USER_TR_BUTTONS); BIF_DrawString(but->font, but->drawstr+but->ofs, transopts); |