Expose docking API

This commit is contained in:
SpaiR committed 2020-05-30 16:24:23 +03:00
1 parent af836193da
commit 5458a03757
8 files changed
+360 -15

No files matched your search

@@ -85,6 +85,10 @@ public final class ImGuiWindowFlags {
* Append '*' to title without affecting the ID, as a convenience to avoid using the ### operator. When used in a tab/docking context, tab is selected on closure and closure is deferred by one frame to allow code to cancel the closure (with a confirmation popup, etc.) without flicker.
*/
public static final int UnsavedDocument = 1 << 20;
/**
* Disable docking of this window
*/
public static final int NoDocking = 1 << 21;
public static final int NoNav = NoNavInputs | NoNavFocus;
public static final int NoDecoration = NoTitleBar | NoResize | NoScrollbar | NoCollapse;
public static final int NoInputs = NoMouseInputs | NoNavInputs | NoNavFocus;