Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ window creation / SDL

Simple enough question. Is there a way to achieve 'custom' windows with SDL? By this I mean, the ability to customize the application's frame / GUI / close / minimize buttons etc. Examples would be Steam, AIM/Pidgin/Hamachi. I am new to the language, and if someone could point me in the correct direction I would much appreciate it. What would the correct terminology be for this?

Edit: Or, just the possibility of turning off the frame.

like image 468
grep Avatar asked May 02 '26 13:05

grep


1 Answers

With SDL, you can remove the frame by passing in SDL_NOFRAME to SDL_SetVideoMode as one of the flags.

like image 178
icktoofay Avatar answered May 05 '26 02:05

icktoofay



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!