GE Lua Documentation

Press F to search!

GetWindowContentRegionMin

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:163
function M.GetWindowContentRegionMin() return imgui.GetWindowContentRegionMin() end

Callers

@/lua/ge/extensions/editor/api/gui.lua
  local yMax = clipRectMax.y - scrollOffsetV + lineHeight
  local xMin = clipRectMin.x + scrollOffsetH + imgui.GetWindowContentRegionMin().x
  local xMax = clipRectMax.x + scrollOffsetH + imgui.GetWindowContentRegionMax().x
@/lua/common/extensions/ui/imgui_custom_luaintf.lua
  function M.GetWindowContentRegionWidth()
    return imgui.GetWindowContentRegionMax().x - imgui.GetWindowContentRegionMin().x
  end