dalerank / nanogui-sdl

Minimalistic port of NanoGUI claim works with SDL API w/o external dependencies.
Other
437 stars 77 forks source link

Add a "draggable" flag to Window #47

Closed nhthn closed 3 years ago

nhthn commented 3 years ago

Hi, thanks for this excellent software! I'm working on a project using this, and I'm in need of a Window that can't be dragged (it's more of a toolbar than a window). This simple patch adds a flag that, if set to false, makes a Window fixed in position.