GE Lua Documentation

Press F to search!

GetWindowContentRegionMax

Definition


-- @/=[C]:-1
function GetWindowContentRegionMax(...)

Callers

@/lua/ge/extensions/editor/api/gui.lua
  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
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.GetWindowContentRegionMin() return imgui.GetWindowContentRegionMin() end
function M.GetWindowContentRegionMax() return imgui.GetWindowContentRegionMax() end
function M.GetScrollX() return imgui.GetScrollX() end
function M.GetWindowContentRegionMin() return imgui.GetWindowContentRegionMin() end
function M.GetWindowContentRegionMax() return imgui.GetWindowContentRegionMax() end
function M.GetScrollX() return imgui.GetScrollX() end
@/lua/ge/extensions/editor/mainMenu.lua
local function editorTitleGui()
  local windowSize = imgui.GetWindowContentRegionMax()
  extensions.hook("onEditorMainMenuBar", windowSize)