Hey guys, im re-making my Options menu, and I was wondering if there was some way of knowing the style of a renderwindow. I looked at the documentation, but there isn't a .getStyle() or anyting similar.
I wanted to do something like this
if(!windowIsFullscreen && fullscreenOptionChecked){
window.create(VideoMode, "Blah", Style::Fullscreen);
}
without recurring to using bools(windowIsFUllscreen, windowIsWithoutBorder, etc) so it would be like
if(window.getStyle() == Style::Fullscreen && fullscreenOptionChecked){
window.create(VideoMode, "Blah", Style::Fullscreen);
}
EDIT: I know the .getStyle() doesn't exist, I just wrote it for clarification of what I wanted