diff options
author | Matt Ebb <matt@mke3.net> | 2006-01-30 01:25:53 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-01-30 01:25:53 +0300 |
commit | aa3aaaa9b6d5338dfc75ec199a2e09137742b342 (patch) | |
tree | dcff7d5e16eb9b36a39d71bafb67fa5301b7c1c3 /source/blender/src/ghostwinlay.c | |
parent | 24446906bc81fdd7a899f352f9f3bafff8a4fd00 (diff) |
== interface ==
Two new mouse cursors (paintbrush and text I-bar) made by basse (he even made the patch!), inspired by Bart's page.
I also changed screenmain() ever so slightly, so that the standard cursor is always used when the mouse is over a window header.
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r-- | source/blender/src/ghostwinlay.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index 88beb6ea874..e28b604935a 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -414,8 +414,11 @@ void window_set_cursor(Window *win, int curs) { /* detect if we use system cursor or Blender cursor */ switch(curs) { + case CURSOR_TEXTEDIT: + SetBlenderCursor(BC_TEXTEDITCURSOR); + break; case CURSOR_VPAINT: - SetBlenderCursor(BC_KNIFECURSOR); + SetBlenderCursor(BC_PAINTBRUSHCURSOR); break; default: GHOST_SetCursorShape(win->ghostwin, convert_cursor(curs)); |