diff options
author | Daniel Dunbar <daniel@zuster.org> | 2003-03-24 04:46:05 +0300 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2003-03-24 04:46:05 +0300 |
commit | 1f3f52f5e4eb8b55a7ba1d7bc1d656b6a12f0df0 (patch) | |
tree | b57723c590e41321824bc4a7ce31260f1031b32e /source/blender/include/BSE_drawoops.h | |
parent | a6a50cc27f9f961ac78ae63aea75a5931f3bd333 (diff) |
Update space dispatch:
- drawXXXspace, changeXXXspace, and winqreadXXXspace now receive the area
and spacedata as explicit arguments, allowing them to access private
data w/o going through globals.
- pass the new BWinEvent through to the winqreadXXXspace, allowing future
access to extended event data.
Removed direct calls to winqreadXXXspace to simulate user actions, replaced
by calls to action functions in edit.c or the appropriate handler.
Diffstat (limited to 'source/blender/include/BSE_drawoops.h')
-rw-r--r-- | source/blender/include/BSE_drawoops.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BSE_drawoops.h b/source/blender/include/BSE_drawoops.h index ef52d9e2c92..b042fc097fa 100644 --- a/source/blender/include/BSE_drawoops.h +++ b/source/blender/include/BSE_drawoops.h @@ -33,6 +33,7 @@ #ifndef BSE_DRAWOOPS_H #define BSE_DRAWOOPS_H +struct ScrArea; struct Oops; struct uiBlock; @@ -44,7 +45,7 @@ void mysbox(float x1, float y1, float x2, float y2); unsigned int give_oops_color(short type, short sel, unsigned int *border); void calc_oopstext(char *str, float *v1); void draw_oops(struct Oops *oops, struct uiBlock *block); -void drawoopsspace(void); +void drawoopsspace(struct ScrArea *sa, void *spacedata); #endif /* BSE_DRAWOOPS */ |