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

Author Topic: A button class  (Read 3389 times)

0 Members and 1 Guest are viewing this topic.

Nedim1

  • Newbie
  • *
  • Posts: 20
    • View Profile
A button class
« on: November 21, 2013, 11:46:18 pm »
A button class.It would be really helpful.
« Last Edit: November 21, 2013, 11:47:54 pm by Nedim1 »

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: A button class
« Reply #1 on: November 21, 2013, 11:57:40 pm »
Sorry, but something like this would never be added to SFML. Simply because it is too high level and specific - not to mention the tons of different ways something like this could be implemented. Another thing to consider would be if a button class was implemented, why would it stop at a button class? Why not add in every single other GUI type element?
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: A button class
« Reply #2 on: November 21, 2013, 11:59:11 pm »
Why? You are developing a button on your own :P

Complex GUI elements won't be integrated into SFML. There are libraries dedicated to graphical user interfaces, such as TGUI or SFGUI. Have a look at them if you're interested.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: