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

Author Topic: Change mousecursor  (Read 3163 times)

0 Members and 1 Guest are viewing this topic.

Finn

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Change mousecursor
« on: August 17, 2010, 08:00:47 pm »
Hey
I wondered if there's a way to have a custom mousecursor! Just a Sprite on the mouse's position won't do it :D

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Change mousecursor
« Reply #1 on: August 17, 2010, 08:04:01 pm »
Quote
Just a Sprite on the mouse's position won't do it

Why not?
Laurent Gomila - SFML developer

Mindiell

  • Hero Member
  • *****
  • Posts: 1261
    • ICQ Messenger - 41484135
    • View Profile
Change mousecursor
« Reply #2 on: August 18, 2010, 08:42:46 am »
Maybe you can hide the mouse cursor too, before drawing the sprite ;)
Mindiell
----

Finn

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Change mousecursor
« Reply #3 on: August 18, 2010, 12:10:12 pm »
Yeah...how to hide it?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Change mousecursor
« Reply #4 on: August 18, 2010, 12:11:24 pm »
Code: [Select]
window.ShowMouseCursor(false);
Laurent Gomila - SFML developer

Mindiell

  • Hero Member
  • *****
  • Posts: 1261
    • ICQ Messenger - 41484135
    • View Profile
Change mousecursor
« Reply #5 on: August 18, 2010, 01:26:08 pm »
Arg !
This lib is so bad, you should add some documentation Laurent...

 :lol:
Mindiell
----

Finn

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Change mousecursor
« Reply #6 on: August 18, 2010, 05:48:23 pm »
lol...sorry...forgot to look it up in the doc^^ thanxs