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

Author Topic: Change Window Title and Add Image to Title Bar  (Read 3083 times)

0 Members and 1 Guest are viewing this topic.

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
Change Window Title and Add Image to Title Bar
« on: January 07, 2009, 12:39:06 am »
Hello!

I am an average experienced user of SDL who just switch to SFML and I   LOVE IT!!!

But.. As the title of the screen says, I need to change the Window Title, to, for example, display (and update ) the fps there...

I also would like to add a like icon to the title bar...

I didn't find any functions who would let me do those things.. Or I might have looked at the wrong places...

Thank you for your help.
-Mike
Check out my sfml games here

Daazku

  • Hero Member
  • *****
  • Posts: 896
    • View Profile
Change Window Title and Add Image to Title Bar
« Reply #1 on: January 07, 2009, 02:51:17 am »
I saw a set icon function in sfml 1.4 but nothing for the update of the title. We should add this in the roadmap (this was discuted before).
Pensez à mettre le tag [Résolu] une fois la réponse à votre question trouvée.
Remember to add the tag [Solved] when you got an answer to your question.

Mikea

  • Newbie
  • *
  • Posts: 28
    • View Profile
edit
« Reply #2 on: January 07, 2009, 01:32:53 pm »
well, at least it would be very helpful... :)

edit: I see from sfml 1.4 setIcon was added... but not seWindowTitle... :( maybe on next update? :D
Check out my sfml games here

 

anything