Fullscreen Cycle

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
GVovkiv
Party member
Posts: 183
Joined: Fri Jan 15, 2021 7:29 am
Contact:

Fullscreen Cycle

Post by GVovkiv »

Can switch in-beetwen window mode easly and return window state
Main feature is .cycle(), it allow to quickly switch in-beetwen windowed --> maximized --> fullscreen --> ..., modes; and proper shortcuts to maximized, windowed, minimized and fullscreen modes
Also, have .getState(--optional argument "string") which will return current window state as number or string, e.g "windowed" or 2
GitHub gist page
(beware of yanderedev code "style")
Windowed
Windowed
1.png (9.08 KiB) Viewed 5674 times
Maximized
Maximized
2.png (8.91 KiB) Viewed 5674 times
Fullscreen Cycle Demo.love
Demo
(3.16 KiB) Downloaded 140 times
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests