Lines Matching defs:cursor
2 // Name: src/mgl/cursor.cpp
5 // Id: $Id: cursor.cpp 42752 2006-10-30 19:26:48Z VZ $
17 #include "wx/cursor.h"
75 wxLogTrace(_T("mglcursor"), _T("cursor id %i fetched from cache"), cursorId);
117 wxFAIL_MSG(wxT("unsupported cursor type"));
123 // if we cannot load arrow cursor, use MGL's default arrow cursor:
132 wxLogError(_("Couldn't create cursor."));
138 wxLogTrace(_T("mglcursor"), _T("cursor id %i added to cache (%s)"),
163 wxLogError(_("Couldn't create cursor."));
169 wxLogError(wxT("Cannot load cursor resource of this type."));
191 // Global cursor setting
196 void wxSetCursor(const wxCursor& cursor)
198 if ( cursor.Ok() )
201 MGL_wmSetGlobalCursor(g_winMng, *cursor.GetMGLCursor());
202 gs_globalCursor = cursor;
215 // busy cursor routines
239 void wxBeginBusyCursor(const wxCursor *cursor)
247 if ( cursor->Ok() )
248 wxSetCursor(*cursor);