Hi. Need for capture a mouse and own cursor.
I do so:
gInput->SetMouseMode(MM_RELATIVE);
style = gCache->GetResource<XMLFile>("UI/DefaultStyle.xml");
SharedPtr<Cursor> cursor(new Cursor(gContext));
cursor->SetStyleAuto(style);
gUI->SetCursor(cursor);
However thus the interface Urho doesn’t react to the cursor.
Please help. Thanks.