Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Trouble with setting cursor icon.  (Read 2433 times)

0 Members and 1 Guest are viewing this topic.

TenHenEggs

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Trouble with setting cursor icon.
« on: February 26, 2018, 08:03:27 pm »
I wanted to change cursor icon using the OS (windows in this case). I have found a tutorial: https://github.com/SFML/SFML/wiki/Tutorial:-Change-Cursor. It does work, but I'm not happy with the result. The problem is, that every mouse movement or pressing/releasing a mouse button causes the cursor icon to reset back to arrow one. With unanimated icons it's hard to notice it, because there are single frames with the arrow icon. But for the animated ones (like spinning circle), it's hard not to notice it. The animation constantly starts over.

Is there anyway to fix it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Trouble with setting cursor icon.
« Reply #1 on: February 26, 2018, 09:56:43 pm »
It is implemented in current master.
Laurent Gomila - SFML developer

TenHenEggs

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Trouble with setting cursor icon.
« Reply #2 on: February 27, 2018, 03:56:38 pm »
Thanks. But the animated icons don't animate.

Will it be fixed?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Trouble with setting cursor icon.
« Reply #3 on: February 27, 2018, 08:45:03 pm »
I don't know, but you can open an issue on the tracker if you feel like something's wrong.
Laurent Gomila - SFML developer