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

Author Topic: Windows .. Cursor-Changes .. only for a Moment visibly ..  (Read 3675 times)

0 Members and 1 Guest are viewing this topic.

HeinzK

  • Newbie
  • *
  • Posts: 41
    • View Profile
    • ZwiAner
    • Email
Windows .. Cursor-Changes .. only for a Moment visibly ..
« on: June 03, 2012, 09:47:56 am »
deleted
« Last Edit: December 04, 2019, 08:30:34 am by HeinzK »
The trees, that obstruct the view on the forest, can be allowed to fall! (Die Bäume, die die Sicht auf einen Wald versperren, dürfen gefällt werden!)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Windows .. Cursor-Changes .. only for a Moment visibly ..
« Reply #1 on: June 03, 2012, 10:39:10 am »
Does it change when you move the mouse?
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Windows .. Cursor-Changes .. only for a Moment visibly ..
« Reply #2 on: June 03, 2012, 04:18:21 pm »
I think this is because of SFML's internal management. You can't do what you want.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Windows .. Cursor-Changes .. only for a Moment visibly ..
« Reply #3 on: June 03, 2012, 05:59:19 pm »
My answer was specific to Windows, of course.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Windows .. Cursor-Changes .. only for a Moment visibly ..
« Reply #4 on: June 04, 2012, 08:53:19 am »
Yes.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Windows .. Cursor-Changes .. only for a Moment visibly ..
« Reply #5 on: June 04, 2012, 01:53:07 pm »
You can use a SFML sprite as a cursor instead of using OS-specific functions. The feature is not built-in, but you can easily implement it.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Windows .. Cursor-Changes .. only for a Moment visibly ..
« Reply #6 on: June 07, 2012, 09:33:16 am »
Quote
Why not in addition: Window.setMouseCursorType(MyMouseCursor);
It has already been discussed on the forum, you can try to find the corresponding thread. Someone even provided a cross-platform implementation for such a function.
Laurent Gomila - SFML developer

 

anything