Fullscreen Cycle

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
GVovkiv
Party member
Posts: 185
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 6117 times
Maximized
Maximized
2.png (8.91 KiB) Viewed 6117 times
Fullscreen Cycle Demo.love
Demo
(3.16 KiB) Downloaded 153 times
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 29 guests