Hello, I need to often change mouse cursor image. And for this I need to check, what image I have now (usual or abrogated(cursor has induction on button). For this I see method:
(CEGUI::StaticImage *)CEGUI::MouseCursor::getSingleton().getImage();
How I can compare this image whis another image, for example ("WindowsLook", "MouseArrow")
Or, you propose anozer variants for decision my problem
Thanks for help in advanced ;-0))
How I can compare 2 StaticImage?
Moderators: CEGUI MVP, CEGUI Team
Pompei2 wrote:What about using this ?Code: Select all
CEGUI::MouseCursor::getSingleton( ).getImage( )->getName( )
It work, I was tryed this variant, but just otherwise, and it doesn't work. But now its all good. Thanks!
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 4 guests