diff options
author | Ton Roosendaal <ton@blender.org> | 2009-06-25 19:41:27 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-06-25 19:41:27 +0400 |
commit | 47ca543b32e74b67e5f8eb6265cc08f93018b002 (patch) | |
tree | 4091e83691f48b26743dfe6f054e5c24e7edd0c5 /source/blender/editors/interface/interface_intern.h | |
parent | d428ba1de8074e8b0ca2b7c0b060c18ebf7d6b0c (diff) |
2.5
Rendering preview icons is back!
Note for Andrea: the render code has been decoupled from
drawing, it needs Scene context to be able to run...
At the moment only the search menu calls the new render
code (which is the ID browse menu default anyway)
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 379c11a6f31..c27eafd501c 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -44,6 +44,8 @@ struct uiStyle; struct uiWidgetColors; struct uiLayout; struct bContextStore; +struct Scene; +struct ID; /* ****************** general defines ************** */ @@ -425,6 +427,9 @@ void ui_draw_menu_item(struct uiFontStyle *fstyle, rcti *rect, char *name, int i /* interface_style.c */ void uiStyleInit(void); +/* interface_icons.c */ +void ui_id_icon_render(struct Scene *scene, struct ID *id); + /* resources.c */ void init_userdef_do_versions(void); void ui_theme_init_userdef(void); |