GE Lua Documentation

Press F to search!

GetFrameHeight

Definition


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

Callers

@/lua/ge/extensions/editor/trafficDebug.lua
  end
  if im.Button(str, im.ImVec2(100, im.GetFrameHeight())) then
    if trafficAmountChange[0] > 0 then
  end
  if im.Button(str, im.ImVec2(100, im.GetFrameHeight())) then
    if parkingAmountChange[0] > 0 then
@/lua/ge/extensions/editor/trafficManager.lua
  im.PushStyleColor2(im.Col_ButtonHovered, imColors.accept)
  if im.Button("Spawn Here##trafficManagerVehicles", im.ImVec2(140, im.GetFrameHeight())) then
    spawnDelayFrames = 3
  end
  if im.Button("Spawn on Click##trafficManagerVehicles", im.ImVec2(140, im.GetFrameHeight())) then
    if mouseMode ~= "spawn" then
    im.PushStyleColor2(im.Col_ButtonHovered, imColors.accept)
    if im.Button("Spawn Here##trafficManagerSigns", im.ImVec2(140, im.GetFrameHeight())) then
      spawnReady = true
    end
    if im.Button("Spawn on Click##trafficManagerSigns", im.ImVec2(140, im.GetFrameHeight())) then
      if mouseMode ~= "spawn" then
@/lua/ge/extensions/editor/vehicleEditor/veToolbar.lua
  im.PushStyleColor2(im.Col_MenuBarBg, editor.color.transparent.Value)
  if im.BeginChild1("vehicleEditorSpecificEditorToolbar", im.ImVec2(width, im.GetFrameHeight()), true, innerToolbarFlags) then
    if im.BeginMenuBar() then
  im.PushStyleColor2(im.Col_MenuBarBg, editor.color.transparent.Value)
  if im.BeginChild1("vehicleEditorSpecificEditorToolbar", im.ImVec2(width - camTodSize, im.GetFrameHeight()), true, innerToolbarFlags) then
    if im.BeginMenuBar() then