GE Lua Documentation

Press F to search!

GetItemRectMin

Definition


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

Callers

@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
    nodeColor = nodeColorHighlight
    local rMin = im.GetItemRectMin()
    local rMax = im.GetItemRectMax()
  if nodeSelected then
    local rMin = im.GetItemRectMin()
    local rMax = im.GetItemRectMax()
@/lua/ge/extensions/flowgraph/builder.lua
local function GetItemRect()
  return createRect(im.GetItemRectMin(), im.GetItemRectMax())
end
  if self.drawDebug then
    local rMin = im.GetItemRectMin()
    local rMax = im.GetItemRectMax()
  if self.drawDebug then
    local rMin = im.GetItemRectMin()
    local rMax = im.GetItemRectMax()
@/lua/ge/extensions/editor/missionPlaybook/missionTreeViewer.lua
local function GetItemRect()
  return createRect(im.GetItemRectMin(), im.GetItemRectMax())
end
@/lua/ge/extensions/editor/fileDialog.lua
        end
        local buttonPos = im.GetItemRectMin()
        local buttonSize = im.GetItemRectSize()
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veFlexbodyDebug.lua

    flexbodyInputTextPopupPos = im.GetItemRectMin()
    flexbodyInputTextPopupPos.y = flexbodyInputTextPopupPos.y + inputSize.y

    nodeInputTextPopupPos = im.GetItemRectMin()
    nodeInputTextPopupPos.y = nodeInputTextPopupPos.y + inputSize.y

    vertexInputTextPopupPos = im.GetItemRectMin()
    vertexInputTextPopupPos.y = vertexInputTextPopupPos.y + inputSize.y
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veJBeamPicker.lua

    nodeInputTextPopupPos = im.GetItemRectMin()
    nodeInputTextPopupPos.y = nodeInputTextPopupPos.y + inputSize.y

    beamInputTextPopupPos = im.GetItemRectMin()
    beamInputTextPopupPos.y = beamInputTextPopupPos.y + inputSize.y
@/lua/ge/extensions/editor/flowgraph/welcome.lua
  --im.EndChild()
  --im.ImDrawList_AddRect(im.GetWindowDrawList(), im.GetItemRectMin(), im.GetItemRectMax(), im.GetColorU322(im.ImVec4(1, 0, 0, 1)))
end
  im.Image(self.headerImage.texId, self.headerImageSize, im.ImVec2(0, 0), im.ImVec2(1, 1), col)
  --im.ImDrawList_AddRect(im.GetWindowDrawList(), im.GetItemRectMin(), im.GetItemRectMax(), im.GetColorU322(im.ImVec4(1, 0, 0, 1)))
  end
  --im.ImDrawList_AddRect(im.GetWindowDrawList(), im.GetItemRectMin(), im.GetItemRectMax(), im.GetColorU322(im.ImVec4(1, 0, 1, 1)))
  im.PopStyleVar()
  --im.ImDrawList_AddRect(im.GetWindowDrawList(), im.GetItemRectMin(), im.GetItemRectMax(), im.GetColorU322(im.ImVec4(0.5, 0, 1, 1)))
@/lua/ge/extensions/editor/sceneTree.lua
    local mousePosY = imgui.GetMousePos().y
    local itemRect = {min = imgui.GetItemRectMin(), max = imgui.GetItemRectMax()}
    local middlePoint = itemRect.min.y - imgui.GetStyle().FramePadding.y/2
        dragSelectionList[node.listIndex] = nil
        local itemRectRange = {min = imgui.GetItemRectMin().y, max = imgui.GetItemRectMax().y}
        itemRectRange.min = itemRectRange.min - 2