diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-29 19:00:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-29 19:00:37 +0400 |
commit | 7cc206ddca5fd240f87210d6dfb311c81ca4ac65 (patch) | |
tree | a4dfc6d6dd1a21c9016390d339855a19d16ee335 /source/blender/windowmanager | |
parent | 0cec655b290b1151087b86c37cc1f51b7d58f261 (diff) |
Code Cleanup: remove non existing function declarations.
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 15 | ||||
-rw-r--r-- | source/blender/windowmanager/wm.h | 2 |
2 files changed, 5 insertions, 12 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 1be94d9c634..eecc9cab028 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -97,7 +97,6 @@ int WM_read_homefile (struct bContext *C, struct ReportList *reports, short fr int WM_write_homefile (struct bContext *C, struct wmOperator *op); void WM_read_file (struct bContext *C, const char *filepath, struct ReportList *reports); int WM_write_file (struct bContext *C, const char *target, int fileflags, struct ReportList *reports, int copy); -void WM_read_autosavefile(struct bContext *C); void WM_autosave_init (struct wmWindowManager *wm); /* mouse cursors */ @@ -109,7 +108,11 @@ void WM_cursor_grab(struct wmWindow *win, int wrap, int hide, int *bounds); void WM_cursor_ungrab(struct wmWindow *win); void WM_timecursor (struct wmWindow *win, int nr); -void *WM_paint_cursor_activate(struct wmWindowManager *wm, int (*poll)(struct bContext *C), void (*draw)(struct bContext *C, int, int, void *customdata), void *customdata); +void *WM_paint_cursor_activate(struct wmWindowManager *wm, + int (*poll)(struct bContext *C), + void (*draw)(struct bContext *C, int, int, void *customdata), + void *customdata); + void WM_paint_cursor_end(struct wmWindowManager *wm, void *handle); void WM_cursor_warp (struct wmWindow *win, int x, int y); @@ -256,9 +259,6 @@ int WM_gesture_straightline_invoke(struct bContext *C, struct wmOperator *op, int WM_gesture_straightline_modal(struct bContext *C, struct wmOperator *op, struct wmEvent *event); int WM_gesture_straightline_cancel(struct bContext *C, struct wmOperator *op); - /* default operator for arearegions, generates event */ -void WM_OT_tweak_gesture(struct wmOperatorType *ot); - /* Gesture manager API */ struct wmGesture *WM_gesture_new(struct bContext *C, struct wmEvent *event, int type); void WM_gesture_end(struct bContext *C, struct wmGesture *gesture); @@ -329,11 +329,6 @@ void WM_clipboard_text_set(char *buf, int selection); void WM_progress_set(struct wmWindow *win, float progress); void WM_progress_clear(struct wmWindow *win); -#ifdef WIN32 - /* Windows System Console */ -void WM_console_toggle(struct bContext *C, short show); -#endif - /* Draw (for screenshot) */ void WM_redraw_windows(struct bContext *C); diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h index d1081f5450c..aa246c9e402 100644 --- a/source/blender/windowmanager/wm.h +++ b/source/blender/windowmanager/wm.h @@ -52,8 +52,6 @@ extern void wm_clear_default_size(bContext *C); /* register to windowmanager for redo or macro */ void wm_operator_register(bContext *C, wmOperator *op); -extern void wm_report_free(wmReport *report); - /* wm_operator.c, for init/exit */ void wm_operatortype_free(void); void wm_operatortype_init(void); |