To preface - yes I am aware of libraries for GUI using SFML.
I'm writing a game, and currently working on options menu. What I want to achieve is to have a button for resolution. Upon clicking it, a scrollable list is shown to choose resolutions from.
What I currently have, is the button class, and a list of buttons, scrollable by wheel. I also can manage showing, clicking / selecting, and hiding on my own. What I truly need is a way to "smartly" hide buttons that are outside of some defined area. An easy way would be to have a boolean that would render based on button position, but I am hoping that partial hiding would be possible - meaning that for example only top half of the button is visible IF it's at the border range.
Hoping for any suggestions
:^)