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_action/action_draw.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_action/action_draw.c')
-rw-r--r-- | source/blender/editors/space_action/action_draw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index b87fdf65904..669320e72bf 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -82,7 +82,6 @@ #include "UI_interface.h" #include "UI_interface_icons.h" #include "UI_resources.h" -#include "UI_text.h" #include "UI_view2d.h" #include "ED_anim_api.h" @@ -114,7 +113,6 @@ #endif // XXX old defines for reference only /* XXX */ -extern void ui_rasterpos_safe(float x, float y, float aspect); extern void gl_round_box(int mode, float minx, float miny, float maxx, float maxy, float rad); /********************************** Slider Stuff **************************** */ @@ -920,8 +918,7 @@ void draw_channel_names(bAnimContext *ac, SpaceAction *saction, ARegion *ar) else UI_ThemeColor(TH_TEXT); offset += 3; - ui_rasterpos_safe(x+offset, y-4, 1.0f); - UI_DrawString(G.font, name, 0); + UI_DrawString(x+offset, y-4, name); /* reset offset - for RHS of panel */ offset = 0; |