User profile: Stauricus

User info
User name:Stauricus
History
Joined:
Number of posts:93
Latest posts:

how to define actions of a "Button" class?
the real class does have a bounding box. it is made in SFML, with a sf::Sprite, a texture reference,...

how to define actions of a "Button" class?
you're right, i've never thought about that :P i tried to use std::function anyway, just out of curi...

how to define actions of a "Button" class?
you mean i should create many derived classes, each one with a specific function? wouldn't that make...

how to define actions of a "Button" class?
hello, i'm wondering how actions of a "Button" class would be defined. the class is only one, but...

predefined object "models"?
ok, got it. yes, styles would be selected at run time.and i made a confusion with the macros, they r...