Opens a window with a starting position and size, and flags. Takes title (The window's title), x (Left edge the first time the window appears (-1 = ImGui chooses)), y (Top edge the first time (-1 = ImGui chooses)), w (Width the first time (0 = ImGui chooses)), h (Height the first time (0 = ImGui chooses)), flags (IGI_WINDOW_* flags added together, or 0). Returns: 1 if the window's contents are showing, 0 if it is folded up.
title
String
x
Int
y
Int
w
Int
h
Int
flags
Int
igiBeginEx("Inventory", 20, 40, 300, 400, IGI_WINDOW_CLOSEBOX + IGI_WINDOW_NOCOLLAPSE)
If Not igiWindowIsOpen() Then showInventory = False
; ...
igiEnd()