- kerbogames
- Posts: 2
- Joined:
How to prevent Noesis from setting the cursor?
I have a custom system for cursor management
how can I prevent Noesis from setting the cursor every frame?
how can I prevent Noesis from setting the cursor every frame?
Re: How to prevent Noesis from setting the cursor?
Assuming you are using the C++ SDK, our core library never changes the cursor. The callback in IntegrationAPI.h is invoked instead
Our Application Framework is implementing that callback, but nothing stops you from not doing that.
Code: Select all
/// Callback invoked each time a view needs to update the mouse cursor icon
typedef void (*UpdateCursorCallback)(void* user, IView* view, Cursor* cursor);
NS_GUI_CORE_API void SetCursorCallback(void* user, UpdateCursorCallback callback);
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 1 guest