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

Author Topic: How to properly set icon to window?  (Read 1693 times)

0 Members and 1 Guest are viewing this topic.

Putarda

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
How to properly set icon to window?
« on: October 08, 2016, 12:38:46 am »
I searched on the internet for the answer, and all I found were topics older than 8 years. My question is what is the best and properly way to set icon to the render window? And also to .exe.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10226
    • View Profile
    • development blog
    • Email
AW: How to properly set icon to window?
« Reply #1 on: October 08, 2016, 01:28:36 am »
To set the window icon see the documentation: http://www.sfml-dev.org/documentation/2.4.0/classsf_1_1Window.php#a63af61e026fba08e3153fd013620bcc0

Setting thr icon of the executable is not something SFML does for you and it's platform specific. There are plenty of tutorials availabe online for Windows.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/