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

Author Topic: Mouse  (Read 6276 times)

0 Members and 1 Guest are viewing this topic.

Henrik.Flink

  • Newbie
  • *
  • Posts: 21
    • View Profile
Mouse
« on: September 19, 2007, 04:28:10 pm »
Is there any way to change picture of the mouse cursor and get the position of the cursor on the screen?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Mouse
« Reply #1 on: September 19, 2007, 06:02:36 pm »
You can hide the mouse cursor and then display your own sprite. To get the cursor position, intercept the MouseMove event.
Laurent Gomila - SFML developer

 

anything