Hey Texus,
I was wondering about your thoughts on the best approach to adding a button to the child window. In a project I'm porting to C++ I had a nice little GUI effect I liked. Some child windows could be closed or mildly hidden. For example:
The image on the right is what happens when the leftmost button is pressed. I'd like to add that button conditionally to some TGUI child windows. Would I be better off modifying the child window class directly or inheriting from it and adding it in? I don't foresee having more buttons than the two (so 0, 1, or 2 at most). Thoughts?
I was wondering about your thoughts on the best approach to adding a button to the child window. In a project I'm porting to C++ I had a nice little GUI effect I liked. Some child windows could be closed or mildly hidden. For example:
The image on the right is what happens when the leftmost button is pressed. I'd like to add that button conditionally to some TGUI child windows. Would I be better off modifying the child window class directly or inheriting from it and adding it in? I don't foresee having more buttons than the two (so 0, 1, or 2 at most). Thoughts?