Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2003-03-24 04:46:05 +0300
committerDaniel Dunbar <daniel@zuster.org>2003-03-24 04:46:05 +0300
commit1f3f52f5e4eb8b55a7ba1d7bc1d656b6a12f0df0 (patch)
treeb57723c590e41321824bc4a7ce31260f1031b32e /source/blender/include/BSE_drawview.h
parenta6a50cc27f9f961ac78ae63aea75a5931f3bd333 (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_drawview.h')
-rw-r--r--source/blender/include/BSE_drawview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BSE_drawview.h b/source/blender/include/BSE_drawview.h
index f0cba1eeb64..299c697a30f 100644
--- a/source/blender/include/BSE_drawview.h
+++ b/source/blender/include/BSE_drawview.h
@@ -36,6 +36,7 @@
struct Object;
struct BGpic;
struct rcti;
+struct ScrArea;
void setalpha_bgpic(struct BGpic *bgpic);
void default_gl_light(void);
@@ -44,7 +45,7 @@ void two_sided(int val);
void circf(float x, float y, float rad);
void circ(float x, float y, float rad);
void backdrawview3d(int test);
-void drawview3dspace(void);
+void drawview3dspace(struct ScrArea *sa, void *spacedata);
void drawview3d_render(struct View3D *v3d);
int update_time(void);
void calc_viewborder(struct View3D *v3d, struct rcti *viewborder_r);