GE Lua Documentation

Press F to search!

PopStyleVar

Definition


-- @/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua:119
  M.PopStyleVar = function(count)
    if count == nil then count = 1 end
    fge.PopStyleVar(count)
  end

Callers

@/lua/ge/extensions/flowgraph/builder.lua
  im.PopID()
  ui_flowgraph_editor.PopStyleVar(1)
  self:SetStage('invalid')
  elseif oldStage == 'input' then
    ui_flowgraph_editor.PopStyleVar(2)
    local endPos = im.GetCursorPos()
  elseif oldStage == 'output' then
    ui_flowgraph_editor.PopStyleVar(2)
    --im.EndVertical()
  --if pin.type == 'state' then
  --  ui_flowgraph_editor.PopStyleVar(1)
  ---  if pin.direction == 'in' then
  ---  if pin.direction == 'in' then
   --   ui_flowgraph_editor.PopStyleVar(2)
  --  end
@/lua/ge/extensions/ui/apps/minimap/minimap.lua
  im.PopStyleColor(3)
  im.PopStyleVar(1)
  if debugSettingsOpen then
@/lua/ge/extensions/ui/console.lua

    im.PopStyleVar()
    im.PopStyleColor()
  --   end
  --   im.PopStyleVar()
  -- end
@/lua/ge/extensions/flowgraph/manager.lua

  im.PopStyleVar(2)
  --ui_flowgraph_editor.Icon(ui_imgui.ctx, im.ImVec2(typeIconSize * uiscale, typeIconSize * uiscale), iconType, connected, color, innercolor)
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
  end
  im.PopStyleVar()
end
@/lua/ge/extensions/editor/api/valueInspector.lua
    if drawColoredLabelIndicator then
      imgui.PopStyleVar()
      drawInputFloat3ColoredIndicators(windowPos, cursorPos)
      if drawColoredLabelIndicator then
        imgui.PopStyleVar()
        drawInputFloat3ColoredIndicators(windowPos, cursorPos)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTree.lua
      im.PopFont()
      im.PopStyleVar()
@/lua/ge/extensions/editor/materialEditor.lua
  im.PopStyleColor()
  im.PopStyleVar()
@/lua/common/extensions/ui/imgui_custom_luaintf.lua
    end
    M.PopStyleVar()
  end
@/lua/ge/extensions/editor/sensorConfigurationEditor.lua
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.GFXUpdateTime = max(0.0, min(360.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.GFXUpdateTime = max(0.0, min(360.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.refLat = max(-90.0, min(90.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.GFXUpdateTime = max(0.0, min(360.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.GFXUpdateTime = max(0.0, min(360.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.GFXUpdateTime = max(0.0, min(360.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.GFXUpdateTime = max(0.0, min(360.0, uiVal[0]))
@/lua/ge/extensions/flowgraph/nodes/input/blacklistAction.lua
  end
  im.PopStyleVar()
end
@/lua/ge/extensions/editor/flowgraphEditor.lua
  executionView:drawAlone()
  im.PopStyleVar()
end
  main:draw()
  im.PopStyleVar()
  for _, win in pairs(windows) do
  mgr.graphsToUpdate = {}
  im.PopStyleVar()
@/lua/ge/extensions/editor/visualization.lua
    im.TextUnformatted(right)
    im.PopStyleVar()
  end
@/lua/ge/extensions/core/metrics.lua
  im.End() --Begin
  im.PopStyleVar()
  if not imguiVisible then
@/lua/ge/extensions/editor/terrainAndRoadImporter.lua
    im.PopItemWidth()
    im.PopStyleVar()
    im.tooltip('Set the terrain prominence - ie terrain will map to [0, zMax].')
    im.PopItemWidth()
    im.PopStyleVar()
    im.tooltip('Set the domain of influence of the terraforming.')
    im.PopItemWidth()
    im.PopStyleVar()
    im.tooltip('Set the terraforming margin (around roads).')
@/lua/ge/extensions/editor/flowgraph/variables.lua
      im.EndChild()
      im.PopStyleVar()
      if im.IsItemHovered() and im.IsMouseReleased(0) then
@/lua/ge/extensions/editor/sceneView.lua
      end
      im.PopStyleVar()
  end
  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
end
@/lua/ge/extensions/editor/masterSpline.lua
  im.NextColumn()
  im.PopStyleVar(2)
end

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      im.Columns(1)
      im.PopStyleVar(2)
    end
              end
              im.PopStyleVar(2)
              im.EndListBox()
            im.NextColumn()
            im.PopStyleVar(2)
            im.Columns(1)

              im.PopStyleVar()
              im.PopItemWidth()
              im.NextColumn()
              im.PopStyleVar()
              im.Separator()
        end -- End of TabContentChild.
        im.PopStyleVar() -- Restore original padding.
      end -- End of tab content.
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
            im.EndTable()
            im.PopStyleVar()
            im.tooltip("Phase "..i)
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
  end
  im.PopStyleVar(1)
end
@/lua/ge/extensions/editor/missionEditor.lua
    im.Columns(2)
    im.PopStyleVar()
    im.SetColumnWidth(0, im.CalcTextSize("MissionType").x +5)
@/lua/ge/extensions/editor/flowgraph/examples.lua
  end
  im.PopStyleVar()
end
@/lua/ge/extensions/editor/roadSpline.lua

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      end
      im.PopStyleVar(2)
      im.Separator()
          im.tooltip(((selGroup.isEdgeBlend3 and 'Disable') or 'Enable') .. ' the edge blend 3.')
          im.PopStyleVar(2)
               end
              im.PopStyleVar(2)
              im.EndListBox()
          end
          im.PopStyleVar(2)
          im.Columns(1)
            im.Separator()
            im.PopStyleVar()
            im.PopItemWidth()
            -- Restore local slider spacing.
            im.PopStyleVar(1)
            im.PopItemWidth()
            im.NextColumn()
            im.PopStyleVar(1)
            im.Columns(1)
            im.tooltip('Switch terrain painting ' .. ((selGroup.isPainting and 'off') or 'on') .. '.')
            im.PopStyleVar(2)
            im.Columns(1)
      end
      im.PopStyleVar()
    end
@/lua/ge/extensions/flowgraph/link.lua
  -- Pop style changes
  im.PopStyleVar()
  im.PopStyleColor()

  ui_flowgraph_editor.PopStyleVar(4)
  ui_flowgraph_editor.PopStyleColor(1)
@/lua/ge/extensions/editor/dynamicDecals/docs.lua
      checkSection(docsSections, "")
      im.PopStyleVar(1)
    end
@/lua/ge/extensions/flowgraph/baseStateNode.lua
  self.transitionPins._in.N.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)
  self.transitionPins._in.W.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)
  self.transitionPins._in.S.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)
  self.transitionPins._in.E.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)

  ufe.PopStyleVar(2)
  self.transitionPins._out.N.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)
  self.transitionPins._out.W.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)
  self.transitionPins._out.S.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)
  self.transitionPins._out.E.imPos = im.GetCursorPos()
  ufe.EndPin() ufe.PopStyleVar(1)

  ufe.PopStyleVar(1)
@/lua/ge/extensions/editor/biomeTool.lua
      imgui.EndChild()
      imgui.PopStyleVar()
      imgui.EndTabItem()
      imgui.EndChild()
      imgui.PopStyleVar()
      imgui.EndTabItem()
  end
  imgui.PopStyleVar()
end
@/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua
    if count == nil then count = 1 end
    fge.PopStyleVar(count)
  end
@/lua/ge/extensions/editor/assemblySpline.lua

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      im.NextColumn()
      im.PopStyleVar(2)
      im.Separator()
        im.PopItemWidth()
        im.PopStyleVar(2)
        im.NextColumn()
      im.NextColumn()
      im.PopStyleVar(2)
      im.Separator()
                    im.Columns(1)
                    im.PopStyleVar()
                    im.PopItemWidth()
                      im.Columns(1)
                      im.PopStyleVar()
                      im.PopItemWidth()
                    im.Columns(1)
                    im.PopStyleVar()
                    im.PopItemWidth()
                      im.Columns(1)
                      im.PopStyleVar()
                      im.PopItemWidth()
      end -- End of TabContentChild.
      im.PopStyleVar() -- Restore original padding.
    else
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
      im.PopFont()
      im.PopStyleVar()
    end
@/lua/ge/extensions/editor/flowgraph/search.lua
  end
  im.PopStyleVar()
end
@/lua/ge/extensions/editor/flowgraph/welcome.lua

  im.PopStyleVar()
  im.PushStyleVar2(im.StyleVar_ItemSpacing,im.ImVec2(3, 3))
  im.Dummy(im.ImVec2(40, 0))
  im.PopStyleVar()
  --im.ImDrawList_AddRect(im.GetWindowDrawList(), im.GetItemRectMin(), im.GetItemRectMax(), im.GetColorU322(im.ImVec4(0.5, 0, 1, 1)))
@/lua/ge/extensions/editor/decalSpline.lua

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      im.NextColumn()
      im.PopStyleVar(2)
      im.Separator()
      im.NextColumn()
      im.PopStyleVar()
      im.Columns(1)
          end
          im.PopStyleVar()
          im.PopItemWidth()
            im.Separator()
            im.PopStyleVar()
            im.EndChild()
@/lua/ge/extensions/editor/flowgraph/main.lua

    -- im.PopStyleVar() -- StyleVar_WindowPadding
    self:drawMenu()
    im.PopStyleVar()
            end
            im.PopStyleVar()
            if im.BeginPopup("FG_SiblingGraphs") then
          end
          im.PopStyleVar()
          self:doContextMenus()
          im.PopStyleVar()
        if tabColors then  im.PopStyleColor(5) end
        --im.PopStyleVar()
        --          im.PopStyleColor(1)
  --self:End()
  --im.PopStyleVar()
end
  im.PopStyleColor()
  im.PopStyleVar()
  im.uiscale[0] = oldUiScale
@/lua/ge/extensions/editor/roadArchitect.lua
            im.tooltip('Set the terraforming margin (around road), in meters.')
            im.PopStyleVar()
            im.PopItemWidth()
                im.tooltip('Set the amount of random jitter of the custom mesh.')
                im.PopStyleVar()
                im.PopItemWidth()
              im.tooltip('The vertical offset of the curb corner.')
              im.PopStyleVar()
            end
            im.PopStyleVar()
            im.PopItemWidth()
            end
            im.PopStyleVar()
            im.PopItemWidth()
            end
            im.PopStyleVar()
            im.PopItemWidth()
            im.tooltip('Set the random seed for the road condition (change to get different wear patterns).')
            im.PopStyleVar()

          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the random seed for the junction condition (change to get different wear patterns).')
          im.PopStyleVar()
          im.PopItemWidth()
          im.tooltip('Set the terraforming margin (around road), in meters.')
          im.PopStyleVar()
          im.PopItemWidth()
            im.tooltip('The radius of the arc at this node.')
            im.PopStyleVar()
            node.incircleRad = im.FloatPtr(min(2.0, max(1.0, node.incircleRad[0])))
        im.tooltip('Set the terraforming margin (around road), in meters.')
        im.PopStyleVar()
        im.PopItemWidth()
@/lua/ge/extensions/editor/audioRibbonEditor.lua
      end
      im.PopStyleVar(2)
      im.EndListBox()

      im.PopStyleVar()
      im.PopItemWidth()
@/lua/ge/extensions/editor/meshSpline.lua

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      im.NextColumn()
      im.PopStyleVar(2)
      im.Separator()
      im.NextColumn()
      im.PopStyleVar()
      im.Columns(1)
      im.NextColumn()
      im.PopStyleVar(2)
      im.Separator()
              end
              im.PopStyleVar()
              im.PopItemWidth()
      end -- End of TabContentChild.
      im.PopStyleVar() -- Restore original padding.
    else
@/lua/ge/extensions/editor/missionPlaybook/missionTreeViewer.lua

  ui_flowgraph_editor.PopStyleVar(1)
  ui_flowgraph_editor.PopStyleColor(1)
@/lua/ge/extensions/editor/assetBrowser.lua
          end
          im.PopStyleVar()
        end
      end
      im.PopStyleVar()
    end
    end
    im.PopStyleVar()
    if im.Checkbox("Show collision mesh", editor.getTempBool_BoolBool(var.meshPreviewDisplayCollisionMesh)) then
@/lua/ge/extensions/editor/flowgraph/references.lua
  end
  im.PopStyleVar()
end
  im.PopItemWidth()
  im.PopStyleVar()
  im.SameLine()
@/lua/ge/extensions/editor/sidewalkSpline.lua

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()

      im.PopStyleVar(2)
      im.Columns(1)

      im.PopStyleVar()
      im.PopItemWidth()
                    im.Columns(1)
                    im.PopStyleVar()
                    im.PopItemWidth()
                        im.Columns(1)
                        im.PopStyleVar()
                        im.PopItemWidth()

          im.PopStyleVar(2)
          im.Columns(1)
      end -- End of TabContentChild.
      im.PopStyleVar() -- Restore original padding.
    else
@/lua/ge/extensions/editor/mapSensorEditor.lua
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
        im.PopItemWidth()
        im.PopStyleVar()
        sensor.updatePriority = max(0.0, min(1.0, uiVal[0]))
@/lua/ge/extensions/flowgraph/basenode.lua
    im.PopStyleColor()
    im.PopStyleVar()
  end
  if not hasActivePins then
    im.PopStyleVar(1)
  end
      end
      im.PopStyleVar()
      if accept then
@/lua/ge/extensions/flowgraph/nodes/debug/comment.lua
  ui_flowgraph_editor.PopStyleColor(2)
  im.PopStyleVar()

    im.PopStyleVar()
  end
@/lua/ge/extensions/flowgraph/pin.lua
    -- Pop style changes
    im.PopStyleVar()
    im.PopStyleColor()
  if constValue ~= nil then
    --ui_flowgraph_editor.PopStyleVar(1)
    ui_flowgraph_editor.PopStyleColor(1)

  im.PopStyleVar()
@/lua/ge/extensions/editor/inspector.lua
  editor.uiInputFloat4("##groundcoverUV", billboardUVValue, nil, imgui.InputTextFlags_ReadOnly, nil)
  imgui.PopStyleVar()
  imgui.PopItemWidth()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.PushStyleVar2(ImGuiStyleVar_idx, ImVec2_val) imgui.PushStyleVar2(ImGuiStyleVar_idx, ImVec2_val) end
function M.PopStyleVar(int_count)
  if int_count == nil then int_count = 1 end
  if int_count == nil then int_count = 1 end
  imgui.PopStyleVar(int_count)
end
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veView.lua
  end
  im.PopStyleVar()

  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
@/lua/ge/extensions/editor/drivePathEditor.lua

    im.PopStyleVar(2)
    im.Columns(1)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      im.NextColumn()
      im.PopStyleVar(2)
        end
        im.PopStyleVar(2)
        im.EndListBox()
      im.NextColumn()
      im.PopStyleVar(2)
      im.Columns(1)

    im.PopStyleVar()
    im.Columns(1)
@/lua/ge/extensions/editor/renderTest.lua
  end
  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
end
@/lua/ge/extensions/editor/forestEditor.lua
    end
    im.PopStyleVar()
    im.PopItemWidth()
    im.PopStyleVar()
  else
      end
      im.PopStyleVar()
      im.EndTabBar()
  end
  im.PopStyleVar()
end
  end
  im.PopStyleVar()
@/lua/ge/extensions/editor/fileDialog.lua
      end
      im.PopStyleVar()
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
      local windowOpen = im.Begin('Vehicle Detail View - ' .. view.name .. ' - ' .. loadedLayoutBaseFilename, view.windowOpen)
      im.PopStyleVar()
@/lua/ge/extensions/editor/scriptAIEditor.lua
    im.PopItemWidth()
    im.PopStyleVar()
        im.tooltip('Rewind time-transport guide')
        im.PopStyleVar()
            im.PopItemWidth()
            im.PopStyleVar()
            if tr.splineSpacing[0] ~= oldVal then
            im.PopItemWidth()
            im.PopStyleVar()
          end
      im.PopItemWidth()
      im.PopStyleVar()
      im.NextColumn()
@/lua/ge/extensions/editor/api/gui.lua
    end
    imgui.PopStyleVar()
    imgui.EndGroup()
    imgui.Begin("MainDockSpace", dockOpen, window_flags);
    imgui.PopStyleVar(3)
    -- init the dockspace
  end
  imgui.PopStyleVar()
  imgui.PopStyleColor()
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veStaticRenderView.lua
  end
  im.PopStyleVar()
end

  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
  im.PopStyleVar()
end