diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-06-02 05:40:53 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-06-02 05:40:53 +0400 |
commit | 37f47ef3862a85d4d95fe5b18ab3d6b9c88ccdd3 (patch) | |
tree | a648a61fbbc313c2833a5e4eb3c8d8d75da3c090 /source/blender/editors/include/UI_view2d.h | |
parent | 33267f58581ea8f9d89028958c6e64a8d048d4db (diff) | |
parent | a117731aa23c25d699c405325c7bb7ac5680a5e7 (diff) |
NLA SoC: Merge from 2.5 20441 to 20570 (HEAD)
There were a few conflicts/missing files. Hopefully everything updated ok...
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index c81ca909318..50283113b62 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -131,6 +131,7 @@ struct View2DScrollers; struct wmWindowManager; struct bScreen; struct ScrArea; +struct ARegion; struct bContext; struct rctf; @@ -183,6 +184,10 @@ void UI_view2d_getscale(struct View2D *v2d, float *x, float *y); short UI_view2d_mouse_in_scrollers(const struct bContext *C, struct View2D *v2d, int x, int y); +/* cached text drawing in v2d, to allow pixel-aligned draw as post process */ +void UI_view2d_text_cache_add(struct View2D *v2d, float x, float y, char *str); +void UI_view2d_text_cache_rectf(struct View2D *v2d, struct rctf *rect, char *str); +void UI_view2d_text_cache_draw(struct ARegion *ar); /* operators */ void ui_view2d_operatortypes(void); |