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

Author Topic: SFML button example  (Read 1166 times)

0 Members and 1 Guest are viewing this topic.

James A

  • Newbie
  • *
  • Posts: 9
    • View Profile
SFML button example
« on: July 03, 2017, 08:54:00 am »
I've been looking for a way to create a clickable button in SFML, and I came across Rect::Contains. Can somebody give a quick example of how it is used?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: SFML button example
« Reply #1 on: July 03, 2017, 09:07:44 am »
Check the documentation for more details.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything