2.5
authorTon Roosendaal <ton@blender.org>
Mon, 15 Dec 2008 16:54:47 +0000 (16:54 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 15 Dec 2008 16:54:47 +0000 (16:54 +0000)
commita16df53619a2ab3b41c0cbcf6f9e01a9bf370c9c
treea96b757fd2a791c242b6ace94b22e465bac9b1d2
parentc13bb258b1149d8bbfb97b896a58cd748e7cd861
2.5

Mouse cursors now work again

- centralized screen-level cursor changes, no more operator
  running for it.
- spacetypes have callback to check/set individual cursor
  types. Use notifier SCREEN_CHANGED to make sure it works
  on mode changes etc.
- new calls WM_cursor_modal() and WM_cursor_restore() to
  make temporarily cursor types during modes.
- used above for view2d cursors.
12 files changed:
source/blender/blenkernel/BKE_screen.h
source/blender/editors/interface/view2d_ops.c
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/screen/screen_intern.h
source/blender/editors/screen/screen_ops.c
source/blender/editors/space_text/space_text.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_cursors.c
source/blender/windowmanager/intern/wm_event_system.c
source/blender/windowmanager/intern/wm_init_exit.c
source/blender/windowmanager/wm_cursors.h