diff options
author | Ton Roosendaal <ton@blender.org> | 2009-04-10 20:30:28 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-04-10 20:30:28 +0400 |
commit | 4e81404d7eb00d7373ea8e4c01ae8bdfad287d72 (patch) | |
tree | e0414e0bea32707785061910589d173c112756a6 /source/blender/editors/space_file/file_header.c | |
parent | 61249337817d3699ca961c9e4007cb0cdb232051 (diff) |
2.5
Grand cleanup:
- removal of FTF and ftfont dir
- removal of text.c which wrapped it
- wrapped old text drawing code temporarily, need to decide how 'style'
will behave per editor when you draw strings outside interface code....
wouldn't be very useful to set fonts locally all over?
Diffstat (limited to 'source/blender/editors/space_file/file_header.c')
-rw-r--r-- | source/blender/editors/space_file/file_header.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_header.c b/source/blender/editors/space_file/file_header.c index 54dd7ff15ba..7de62056336 100644 --- a/source/blender/editors/space_file/file_header.c +++ b/source/blender/editors/space_file/file_header.c @@ -56,7 +56,6 @@ #include "UI_interface.h" #include "UI_resources.h" #include "UI_view2d.h" -#include "UI_text.h" #include "file_intern.h" #include "filelist.h" @@ -178,7 +177,7 @@ void file_header_buttons(const bContext *C, ARegion *ar) } xcotitle= xco; - xco+= UI_GetStringWidth(G.font, params->title, 0); + xco+= UI_GetStringWidth(params->title); uiBlockSetEmboss(block, UI_EMBOSS); |