diff options
Diffstat (limited to 'source/blender/windowmanager/wm.h')
-rw-r--r-- | source/blender/windowmanager/wm.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h index 3b834c600e7..33ca415b664 100644 --- a/source/blender/windowmanager/wm.h +++ b/source/blender/windowmanager/wm.h @@ -31,9 +31,12 @@ #ifndef __WM_H__ #define __WM_H__ +struct ARegion; struct wmWindow; struct ReportList; +#include "manipulators/wm_manipulator_wmapi.h" + typedef struct wmPaintCursor { struct wmPaintCursor *next, *prev; @@ -49,7 +52,7 @@ void wm_exit_schedule_delayed(const bContext *C); extern void wm_close_and_free(bContext *C, wmWindowManager *); extern void wm_close_and_free_all(bContext *C, ListBase *); -extern void wm_add_default(bContext *C); +extern void wm_add_default(struct Main *bmain, bContext *C); extern void wm_clear_default_size(bContext *C); /* register to windowmanager for redo or macro */ @@ -80,7 +83,11 @@ void wm_autosave_read(bContext *C, struct ReportList *reports); void wm_autosave_location(char *filepath); /* wm_stereo.c */ -void wm_method_draw_stereo3d(const bContext *C, wmWindow *win); +void wm_stereo3d_draw_interlace(wmWindow *win, struct ARegion *ar); +void wm_stereo3d_draw_anaglyph(wmWindow *win, struct ARegion *ar); +void wm_stereo3d_draw_sidebyside(wmWindow *win, int view); +void wm_stereo3d_draw_topbottom(wmWindow *win, int view); + void wm_stereo3d_mouse_offset_apply(wmWindow *win, int *r_mouse_xy); int wm_stereo3d_set_exec(bContext *C, wmOperator *op); int wm_stereo3d_set_invoke(bContext *C, wmOperator *op, const wmEvent *event); |