diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2005-01-19 16:53:43 +0300 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2005-01-19 16:53:43 +0300 |
commit | 9fddd2bdec4f879a44304118e2f44929c2755483 (patch) | |
tree | c21b1edc62e879a28d8d5ded054a00a899e4dbc3 /source/blender/src/outliner.c | |
parent | 731c69d6ed04628d93ae313397cb5c8f85078ea0 (diff) |
Added experimental option to use GL textured interface fonts.
Set preferred method in userprefs->language & font.
Kinda requested by Kaito, i'm sure he regrets after seeing
my code changes.
This commit includes a patch provided by Jacques Baurain,
which seemed nescessary to handle font sizing properly.
Thank you !
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index 3bfdfe9e548..b3c00331e2e 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -1992,6 +1992,7 @@ static void outliner_draw_tree_element(SpaceOops *soops, TreeElement *te, int st if(active==1) BIF_ThemeColor(TH_TEXT_HI); else BIF_ThemeColor(TH_TEXT); glRasterPos2i(startx+offsx, *starty+5); + BIF_RasterPos(startx+offsx, *starty+5); BIF_DrawString(G.font, te->name, 0); offsx+= OL_X + BIF_GetStringWidth(G.font, te->name, 0); |