This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/blenkernel
Ton Roosendaal 2fe5005bbb 2.5
New: Custom region draw callbacks.

For Martin: an example is now in space_view3d/view3d_edit.c
On middlemouse rotate view, it draws a small square in center.

It works likes this:

#include "ED_space_api.h"

handle= ED_region_draw_cb_activate(region->type, drawfunc, type)

and to stop it:

ED_region_draw_cb_exit(region->type, handle)

drawfunc is of type (const bContext *C, ARegion *ar)
currently it gets called only as type REGION_DRAW_POST, later we
can add more (PRE, POST_XRAY, POST_2D, etc).

For correct usage, these calls should return leaving view transform
unaltered.
2009-01-09 15:04:52 +00:00
..
2.5
2009-01-09 15:04:52 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-05 15:19:31 +00:00
2.5
2008-12-30 13:16:14 +00:00
2.5
2008-12-31 17:11:42 +00:00
2.5
2009-01-07 17:25:17 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2008-09-19 14:15:36 +00:00
2.5
2009-01-04 14:14:06 +00:00
2009-01-02 23:58:03 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-07 14:46:50 +00:00
2008-08-30 14:32:16 +00:00
2.5
2009-01-07 14:46:50 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2008-08-30 14:32:16 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2009-01-04 18:16:34 +00:00
2.5
2009-01-04 14:14:06 +00:00
2007-09-02 17:25:03 +00:00
RNA
2008-12-31 13:16:37 +00:00
2009-01-04 18:16:34 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-07 16:05:55 +00:00
2008-11-12 21:16:53 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2008-09-19 14:15:36 +00:00
2.5
2009-01-07 14:46:50 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-05 15:19:31 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-09 15:04:52 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2008-09-19 14:15:36 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 14:14:06 +00:00
2009-01-04 18:26:43 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-04 19:10:57 +00:00
2.5
2009-01-07 17:25:17 +00:00