Merge pull request #105107 from bruvzg/min-max-flag

Add separate `minimize_disabled` and `maximize_disabled` window flags.
This commit is contained in:
Thaddeus Crews
2025-04-08 12:32:44 -05:00
20 changed files with 212 additions and 20 deletions

View File

@ -2195,7 +2195,15 @@
<constant name="WINDOW_FLAG_POPUP_WM_HINT" value="10" enum="WindowFlags">
Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window).
</constant>
<constant name="WINDOW_FLAG_MAX" value="11" enum="WindowFlags">
<constant name="WINDOW_FLAG_MINIMIZE_DISABLED" value="11" enum="WindowFlags">
Window minimize button is disabled.
[b]Note:[/b] This flag is implemented on macOS and Windows.
</constant>
<constant name="WINDOW_FLAG_MAXIMIZE_DISABLED" value="12" enum="WindowFlags">
Window maximize button is disabled.
[b]Note:[/b] This flag is implemented on macOS and Windows.
</constant>
<constant name="WINDOW_FLAG_MAX" value="13" enum="WindowFlags">
Max value of the [enum WindowFlags].
</constant>
<constant name="WINDOW_EVENT_MOUSE_ENTER" value="0" enum="WindowEvent">