flamendless / Slab

An immediate mode GUI for the Love2D framework.
MIT License
294 stars 25 forks source link

[Window] Add window minimize button #100

Closed flamendless closed 3 years ago

flamendless commented 3 years ago

Right now Windows API only has close button which effectively shows/hides the whole window. A minimize button should also be added to compensate for ease and more use-cases.

This button should be inside the window's title bar. Clicking on it should just hide the contents of the window but keeping the title bar alive. Clicking again should do the opposite

flamendless commented 3 years ago

Cheers! This is now implemented! See the video:

https://user-images.githubusercontent.com/17418737/133873082-63f324eb-aeb3-4958-a1e5-9f13c2d03fb7.mp4

flamendless commented 2 years ago

Improved by adding "maximize" version

https://user-images.githubusercontent.com/17418737/146661402-e25e9ee9-3bd3-41b9-8bc2-6a53eb8d2f4b.mp4