GE Lua Documentation

Press F to search!

PopStyleColor

Definition


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

Callers

@/lua/ge/extensions/core/metrics.lua
      end
      im.PopStyleColor()
    end
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/sceneTree.lua
  if node.selected or node.dragSelected then
    imgui.PopStyleColor()
  elseif hasDragDropPayload and (disableHoverColor or not node.isGroup) then
  elseif hasDragDropPayload and (disableHoverColor or not node.isGroup) then
    imgui.PopStyleColor()
  end
  end
  imgui.PopStyleColor()
  end
  imgui.PopStyleColor()
  imgui.SameLine()
  end
  imgui.PopStyleColor()
  imgui.SameLine()
          editor.uiIconImageButton(arrowIcon, smallIconSize, iconColor, nil, nil, nil, iconColor)
          imgui.PopStyleColor()
          imgui.SameLine()
    editor.endWindow()
    imgui.PopStyleColor()
  end
@/lua/ge/extensions/editor/missionPlaybook.lua
      if i <= M.book.page then
        im.PopStyleColor(1)
      end
@/lua/ge/extensions/editor/biomeTool.lua
    if var.forestBrushTool:isBiomeProcCompleted() and errCode ~= 0 then
      imgui.PopStyleColor()
    end
    if var.forestBrushTool:isBiomeProcCompleted() and errCode ~= 0 then
      imgui.PopStyleColor()
    end
    imgui.TextUnformatted("Please make brush selection!")
    imgui.PopStyleColor()
    imgui.TextUnformatted("Please create at least one lasso area!")
    imgui.PopStyleColor()
    imgui.Text("- NONE -")
    imgui.PopStyleColor()
    imgui.PopStyleColor()
    imgui.PopStyleColor()
    imgui.PopStyleColor()
      imgui.Text(item.internalName)
      imgui.PopStyleColor()
    end
    imgui.Text("- NONE -")
    imgui.PopStyleColor()
    imgui.PopStyleColor()
    imgui.PopStyleColor()
    imgui.PopStyleColor()
      imgui.Text(item.internalName)
      imgui.PopStyleColor()
    end
      imgui.TextUnformatted("You need to select a border brush element!")
      imgui.PopStyleColor()
      imgui.Text("- NONE -")
      imgui.PopStyleColor()
      imgui.PopStyleColor()
      imgui.PopStyleColor()
      imgui.PopStyleColor()
        imgui.Text(item.internalName)
        imgui.PopStyleColor()
      end
    editor.uiTextColoredWithFont(imgui.ImVec4(1, 0, 0, 1), noAreaText, "cairo_bold")
    imgui.PopStyleColor()
  else
    imgui.Text("Please draw the area on map")
    imgui.PopStyleColor()
  end
    editor.uiTextColoredWithFont(imgui.ImVec4(1, 0, 0, 1), noAreaText, "cairo_bold")
    imgui.PopStyleColor()
  else
    editor.uiTextColoredWithFont(imgui.ImVec4(1, 0, 0, 1), noAreaText, "cairo_bold")
    imgui.PopStyleColor()
  else
    editor.uiTextColoredWithFont(imgui.ImVec4(1, 0, 0, 1), noAreaText, "cairo_bold")
    imgui.PopStyleColor()
  else
    editor.uiTextColoredWithFont(imgui.ImVec4(1, 0, 0, 1), noAreaText, "cairo_bold")
    imgui.PopStyleColor()
  else
    if var.forestBrushTool:isBiomeProcCompleted() and errCode ~= 0 then
      imgui.PopStyleColor()
    end
@/lua/ge/extensions/editor/flowgraph/main.lua
                im.Text(txt)
                im.PopStyleColor()
              else
                if sib.isStateGraph then
                  im.PopStyleColor()
                end
              end
              im.PopStyleColor()
            end
          ui_flowgraph_editor.End()
          im.PopStyleColor(1)
          ui_flowgraph_editor.PopStyleColor(1)
          im.PopStyleColor(1)
          ui_flowgraph_editor.PopStyleColor(1)
          --print(im.IsWindowFocused(im.FocusedFlags_ChildWindows))
        im.End()
        if tabColors then  im.PopStyleColor(5) end
        --im.PopStyleVar()
        --im.PopStyleVar()
        --          im.PopStyleColor(1)
  im.EndChild()
  im.PopStyleColor()
end
  end
  im.PopStyleColor()
  im.PopStyleVar()
@/lua/ge/extensions/core/vehicleTriggers.lua
      im.TextUnformatted(title)
      im.PopStyleColor()
      im.SameLine()
      end
      im.PopStyleColor()
      im.SameLine()
      im.TextUnformatted(vehId == be:getPlayerVehicleID(0) and ' [ACTIVE]' or '')
      im.PopStyleColor()
        im.TextUnformatted(tostring(triggerCount))
        im.PopStyleColor()
                      if isSelected then
                        im.PopStyleColor(2)
                      end
        im.TextUnformatted(tostring(eventsCount))
        im.PopStyleColor()
        im.TextUnformatted(tostring(eventsCount))
        im.PopStyleColor()
@/lua/ge/extensions/gameplay/util/crashDetection.lua
                im.TextWrapped(series.displayName)
                im.PopStyleColor()
              end
@/lua/ge/extensions/c2/panelPlugins/tileManager.lua
            if ctx == tx and cty == ty then
              im.PopStyleColor()
            end
@/lua/ge/extensions/editor/flowgraph/references.lua
      im.Text(tostring(tableSize(self.nodeTable)))
      im.PopStyleColor()
      im.SameLine()
      im.Text(tostring(self.nodeStatistics.usedNoteTypeAmount))
      im.PopStyleColor()
      im.SameLine()
      im.Text(tostring(self.nodeStatistics.usedNodeInstances))
      im.PopStyleColor()
    end
      if n.nodeName == self.inspectedNode then
        im.PopStyleColor()
      end
@/lua/ge/extensions/editor/bulkRename.lua
    end
    imgui.PopStyleColor()
    imgui.Spacing()
@/lua/common/extensions/ui/flowgraph/editor_api_luaintf.lua
    if count == nil then count = 1 end
    fge.PopStyleColor(count)
  end
@/lua/ge/extensions/editor/missionEditor/progressSetup.lua
local function popStyle(colorName)
  im.PopStyleColor(im.Int(1))
end
@/lua/ge/extensions/editor/dynamicDecals/docs.lua
    if section.order then
      im.PopStyleColor(1)
    end
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/path.lua
  im.tooltip("Flip decal horizontally")
  im.PopStyleColor()
  im.SameLine()
  im.tooltip("Flip decal vertically")
  im.PopStyleColor()
  im.NextColumn()
@/lua/ge/extensions/editor/resourceChecker.lua
    end
    im.PopStyleColor()
    if im.IsItemHovered() then
            im.ProgressBar(b/total, im.ImVec2(w, 0))
            im.PopStyleColor(1)
            if im.IsItemHovered() then
@/lua/ge/extensions/gameplay/drift/general.lua
      if im.Button("Exit debug") then setDebug(false) end
      im.PopStyleColor()
      im.SameLine()
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veJBeamModifierLeakVis.lua
        end
        if setBtnColFlag then im.PopStyleColor() end
        if isSectionLeaking then im.PopStyleColor() end
        if setBtnColFlag then im.PopStyleColor() end
        if isSectionLeaking then im.PopStyleColor() end
      im.Text("Warning! Not all modifiers shown due to ImGui's table maximum column count of 64.")
      im.PopStyleColor()
    end
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
    im.TextUnformatted('doubleclick = reset')
    im.PopStyleColor()
    im.EndMenu()
          im.TextUnformatted(baseFilename)
          im.PopStyleColor()
        else
    im.TextUnformatted('>> DISABLE VSYNC: there will be render problems')
    im.PopStyleColor()
  end
    end
    im.PopStyleColor()
  end
@/lua/ge/extensions/gameplay/drift/drift.lua
          im.TextWrapped(historyData.name)
          im.PopStyleColor()
        end
@/lua/ge/extensions/career/modules/marketplace.lua
        im.Text("Patience: " .. patience)
        im.PopStyleColor()
        im.Text("Status: " .. negotiationStatus)
@/lua/ge/extensions/editor/crawlEditor/paths.lua
    if isRecoveryCheckpoint or isBonusCheckpoint then
      im.PopStyleColor()
    end
@/lua/ge/extensions/ui/apps/minimap/minimap.lua
  end
  im.PopStyleColor(3)
  im.PopStyleVar(1)
@/lua/ge/extensions/editor/rallyEditor/pacenotes.lua
    im.tooltip(issues)
    im.PopStyleColor()
  end
    if not note:is_valid() then
      im.PopStyleColor()
    end
@/lua/ge/extensions/editor/flowgraph/welcome.lua
    im.PopTextWrapPos()
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/terrainEditor.lua
              if dragDropPayload and dragDropPayload == index then
                im.PopStyleColor()
              end
        end
        im.PopStyleColor()
      im.Selectable1("##DragAndDropField", false)
      im.PopStyleColor(2)
      dragDropTarget(nil, "textureMap")
      end
      im.PopStyleColor(3)
      -- draw the softness-'curve'
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
        if isCurrentLight then
          im.PopStyleColor()
        end
@/lua/ge/extensions/util/screenshotCreator.lua

    im.PopStyleColor()
          im.TextWrapped(string.format("Correct size for vehicles thumbnails are 500 * 281 and you have chosen %i * %i", getCurrentResolution()[1], getCurrentResolution()[2]))
          im.PopStyleColor()
        else
        im.TextWrapped(camName)
        im.PopStyleColor()
        im.tooltip("To disable procedural camera placement during thumbnail generation, enable either one of the manual camera placement below")
          im.TextWrapped("Current vehicle is your own 'default' vehicle. Spawn a vehicle from the vehicle selector (Will be fixed)")
          im.PopStyleColor()
        else
      end
      if runDone then im.PopStyleColor() end
    end
@/lua/ge/extensions/editor/multiSpawnManager.lua
      if isCurrent then
        im.PopStyleColor()
      end
@/lua/ge/extensions/editor/camPathEditor.lua
        end
        im.PopStyleColor()
        end
        im.PopStyleColor()
        im.PopID()
        im.PopStyleColor()
        if im.IsItemHovered() then
      end
      im.PopStyleColor(3)
      end
      im.PopStyleColor(3)
      end
      im.PopStyleColor(3)
    end
@/lua/ge/extensions/editor/slotTrafficEditor.lua
                  end
                  im.PopStyleColor()
                  end
                  im.PopStyleColor(2)
                  im.PopID()
@/lua/ge/extensions/flowgraph/pin.lua
    im.PopStyleVar()
    im.PopStyleColor()
    if self.graph.mgr.runningState ~= "running" then
    if self.graph.mgr.runningState ~= "running" then
      im.PopStyleColor()
    end
    --ui_flowgraph_editor.PopStyleVar(1)
    ui_flowgraph_editor.PopStyleColor(1)
  end
@/lua/ge/extensions/editor/missionEditor/progressMulti.lua
local function popStyle(colorName)
  im.PopStyleColor(im.Int(1))
end
@/lua/ge/extensions/flowgraph/link.lua
  im.PopStyleVar()
  im.PopStyleColor()
  if self.graph.mgr.runningState ~= "running" then
  if self.graph.mgr.runningState ~= "running" then
    im.PopStyleColor()
  end
  ui_flowgraph_editor.PopStyleVar(4)
  ui_flowgraph_editor.PopStyleColor(1)
  if self.sourcePin and self.sourcePin.type == 'state' and sPin and tPin then
@/lua/ge/extensions/gameplay/drift/scoring.lua
        im.TextWrapped("-Combo")
        im.PopStyleColor()
        im.PushStyleColor2(im.Col_Text, im.ImVec4(0.2, 1, 0.1, 1))
          im.TextWrapped("-Curr. tier bonus score x10")
        im.PopStyleColor()
        im.PushStyleColor2(im.Col_Text, im.ImVec4(0.1, 0.3, 1, 1))
          im.TextWrapped("-Score per frame without tier x10")
        im.PopStyleColor()
        im.PushStyleColor2(im.Col_Text, im.ImVec4(1, 0.1, 0.1, 1))
        im.TextWrapped("-Score per frame with tier x10")
        im.PopStyleColor()
        im.EndChild()
        im.Text("Drift to see scoring information")
        im.PopStyleColor()
      end
@/lua/ge/extensions/flowgraph/nodes/debug/comment.lua
  ui_flowgraph_editor.EndNode()
  ui_flowgraph_editor.PopStyleColor(2)
  im.PopStyleVar()
@/lua/ge/extensions/editor/api/genericInspector.lua
            end
            imgui.PopStyleColor()
          end
        end
        imgui.PopStyleColor()
      end
    imgui.Text("")
    imgui.PopStyleColor()
  end
@/lua/ge/extensions/editor/missionEditor/genericTypeData.lua
local function popStyle(colorName)
  im.PopStyleColor(im.Int(1))
end
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
  if color then
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/brushStroke.lua
  im.tooltip("Flip decal horizontally")
  im.PopStyleColor()
  im.SameLine()
  im.tooltip("Flip decal vertically")
  im.PopStyleColor()
  im.NextColumn()
@/lua/ge/extensions/editor/api/valueInspector.lua
  if isDifferent then
    imgui.PopStyleColor()
    imgui.PopFont()
  imgui.PopItemWidth()
  if isDifferent then imgui.PopStyleColor() end
  imgui.Columns(1)
@/lua/ge/extensions/editor/driftDataEditor.lua
  if wasUnsaved then
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/forestEditor.lua
    end
    im.PopStyleColor()
    im.SetCursorPos(im.ImVec2(cPos.x + var.style.FramePadding.x, cPos.y))
  end
  im.PopStyleColor()
  im.SetCursorPos(im.ImVec2(cPos.x + var.style.FramePadding.x, cPos.y))
@/lua/ge/extensions/editor/crawlEditor.lua

        if trail._dirty then im.PopStyleColor() end
        im.PopID()

        if trail._dirty then im.PopStyleColor() end
        im.PopID()

        if path._dirty then im.PopStyleColor() end
        im.PopID()

        if path._dirty then im.PopStyleColor() end
        im.PopID()

        if boundary._dirty then im.PopStyleColor() end
        im.PopID()

        if boundary._dirty then im.PopStyleColor() end
        im.PopID()

        if startingPosition._dirty then im.PopStyleColor() end
        im.PopID()
        end
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
      elseif currentTab == "paths" and selectedPathIndex > 0 then
        end
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
      elseif currentTab == "boundaries" and selectedBoundaryIndex > 0 then
        end
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
      elseif currentTab == "startingPositions" and selectedStartingPositionIndex > 0 then
        end
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
        im.PopStyleColor()
      end
@/lua/ge/extensions/editor/forestView.lua
  end
  imgui.PopStyleColor()
  imgui.SetCursorPos(imgui.ImVec2(cPos.x + style.FramePadding.x, cPos.y))
@/lua/ge/extensions/gameplay/drift/sounds.lua
        im.TextWrapped("-This is *not* a 1 to 1 simulation, many things are wrong.")
      im.PopStyleColor()
      im.Dummy(im.ImVec2(1, 10))
@/lua/ge/extensions/editor/mainToolbar.lua
        end
        im.PopStyleColor()
      end
          end
          im.PopStyleColor()
          end
          im.PopStyleColor()
          ::continue::
            end
            im.PopStyleColor()
          end
  ::safeFinish::
  im.PopStyleColor()
end
@/lua/ge/extensions/flowgraph/basenode.lua
    if self.mgr.runningState ~= "running" then
      im.PopStyleColor()
    end
    end
    im.PopStyleColor()
    im.PopStyleVar()

  ui_flowgraph_editor.PopStyleColor(1)
  if not hasActivePins then
  if self._error then
    ui_flowgraph_editor.PopStyleColor(2)
  else
    if triggered then
      ui_flowgraph_editor.PopStyleColor(1)
    end
        end
        im.PopStyleColor(3)
        if i < 10 then
@/lua/ge/extensions/editor/gen/exp_solidflex.lua
            end
            im.PopStyleColor()
--            im.Text('HELLO_'..wlabel)
@/lua/ge/extensions/gameplay/rally/tools/loopToolbox.lua
  if isPaused then
    im.PopStyleColor(3)
  end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua

  im.PopStyleColor()
end
  end
  im.PopStyleColor()
  im.PopStyleColor()
  im.PopStyleColor()
  im.PopStyleColor()
  im.PopStyleColor()
  im.PopStyleColor()
  im.PopStyleColor()
end
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua
              if isSelectedPart then
                im.PopStyleColor(2)
              end
@/lua/ge/extensions/editor/prefabInstanceEditor.lua
      end
      imgui.PopStyleColor()
    end
@/lua/ge/extensions/editor/fileDialog.lua
      end
      im.PopStyleColor()
      if disabled then
@/lua/ge/extensions/editor/missionEditor.lua
  end
  if missionData._dirty then im.PopStyleColor() end
  if im.IsItemHovered() then
@/lua/ge/extensions/ui/console.lua
      im.TextColored(im.ImVec4(1.0, 0.0, 0.0, 1.0), tostring(filterErr) )
      im.PopStyleColor()
    end
    im.PopStyleVar()
    im.PopStyleColor()
@/lua/ge/extensions/editor/gen/exp_meshexplorer.lua
-- imgui.PushStyleColor2
-- imgui.PopStyleColor()
-- imgui.TableHeadersRow()
                                    UI.check('','part_pick',v.sel) --v.key) --sel)
    --                                im.PopStyleColor()
                                else
                                    local c = k == env.ui['geo_up'] and im.ImVec4(0.6, 1, 0.6, 0.4) or im.ImVec4(1, 1, 1, 0.2)
    --                                im.PopStyleColor()
                                    im.PushStyleColor2(im.Col_FrameBg, c)
                                    UI.check('','part_pick',false) --v.sel)
                                    im.PopStyleColor()
                                end
                                end
    --                            im.PopStyleColor()
                                if im.IsItemHovered() then-- and k ~= env.ui['geo_on'] then
                            end)
                            im.PopStyleColor()
                        end
                                UI.table('tGRP_17',beamdata.agroup,function(k,v)
    --                                im.PopStyleColor()
                                    if beamdata.agpick and v.key == beamdata.agpick[1].key then
                                    im.TableNextColumn()
                                    im.PopStyleColor()
                                    -- to highlight row on hover
                                        end
                                        im.PopStyleColor()
                                        im.PopStyleColor()
                                        im.PopStyleColor()
                                        im.PopStyleColor()
                                    end
                                    end
                                    im.PopStyleColor()
                    end
                    im.PopStyleColor()
                end
@/lua/ge/extensions/editor/dynamicDecalsTool.lua
  local afterCPos = im.GetCursorPos()
  im.PopStyleColor(1)
  if section.buttons then
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
  end
  im.PopStyleColor()
  im.SameLine()
  end
  im.PopStyleColor()
  im.tooltip("Flip decal horizontally.\nEffectively inverses the component of the decal uv value.")
  im.PopStyleColor()
  im.SameLine()
  im.tooltip("Flip decal vertically.\nEffectively inverses the component of the decal uv value.")
  im.PopStyleColor()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.PushStyleColor2(ImGuiCol_idx, ImVec4_col) imgui.PushStyleColor2(ImGuiCol_idx, ImVec4_col) end
function M.PopStyleColor(int_count)
  if int_count == nil then int_count = 1 end
  if int_count == nil then int_count = 1 end
  imgui.PopStyleColor(int_count)
end
@/lua/ge/extensions/editor/rallyEditor.lua
      end
      im.PopStyleColor(1)
      im.SameLine()
        end
        im.PopStyleColor(2)
      end
@/lua/ge/extensions/editor/roadEditor.lua
    if not nodePositionsAllSame then
      im.PopStyleColor()
    end
    if not nodeWidthsAllSame then
      im.PopStyleColor()
    end
@/lua/ge/extensions/editor/materialEditor.lua
        if selectedCubemapObj then
          im.PopStyleColor()
        end
      end
      im.PopStyleColor(3)
    end

  im.PopStyleColor()
  im.PopStyleVar()
      im.tooltip("Enable to pick a material from a mesh.")
      im.PopStyleColor()
    end
@/lua/ge/extensions/editor/barriersEditor.lua
    im.Text("Unselected Barriers:")
    im.PopStyleColor()
    im.NextColumn()
    im.Text("Selected Barriers:")
    im.PopStyleColor()
    im.NextColumn()
@/lua/ge/extensions/editor/api/gui.lua
    imgui.ImageButton("##ImageButton", iconsTex.texId, size, imgui.ImVec2(ux, uy), imgui.ImVec2(vx, vy), backgroundCol, col)
    imgui.PopStyleColor()
    if id then imgui.PopID() end
  imgui.PopStyleVar()
  imgui.PopStyleColor()
  imgui.EndChild()
@/lua/common/extensions/ui/imguiUtils.lua
  else
    imgui.PopStyleColor()
  end
      imgui.Text('{empty}')
      imgui.PopStyleColor()
    else
    imgui.Text(tostring(data))
    imgui.PopStyleColor()
    imgui.Text(tostring(data))
    imgui.PopStyleColor()
      imgui.Text('{empty string}')
      imgui.PopStyleColor()
    else
      imgui.Text(tostring(data))
      imgui.PopStyleColor()
    end
      imgui.Text(string.format('float3(%g,%g,%g)', data.x, data.y, data.z))
      imgui.PopStyleColor()
    else
      imgui.Text('class instance: ' .. tostring(ctype))
      imgui.PopStyleColor()
    end
      getlocal(data)
      imgui.PopStyleColor()
  else
@/lua/ge/extensions/editor/trafficDebug.lua
  if trafficAmountChange[0] ~= 0 then
    im.PopStyleColor()
  end
  if parkingAmountChange[0] ~= 0 then
    im.PopStyleColor()
  end
      end
      im.PopStyleColor()
    end
    end
    im.PopStyleColor()
  end
    end
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/assetManagementTool.lua
        imgui.tooltip("Remove item")
        imgui.PopStyleColor()
        imgui.SameLine()
  end
  imgui.PopStyleColor()
@/lua/ge/extensions/editor/levelValidator.lua
  if buttonActive then
    im.PopStyleColor()
  end
          if buttonActive then
            im.PopStyleColor()
          end
          im.SetItemAllowOverlap()
          im.PopStyleColor()
          if editor.IsItemClicked() then
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTree.lua
    if node.__selected then
      im.PopStyleColor(3)
    end
            _renderNode(v, false, tostring(k))
            im.PopStyleColor()
          else
            im.TextUnformatted(tostring(k))
            im.PopStyleColor()
            im.TextUnformatted(': ')
            im.PopStyleColor()
            im.TextUnformatted(tostring(v))
            im.PopStyleColor()
          end
    im.TextUnformatted(label)
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/rallyEditor/pacenotes/pacenoteForm.lua
    im.tooltip(issues)
    im.PopStyleColor()
  end
@/lua/ge/extensions/editor/trafficManager.lua
  end
  im.PopStyleColor(2)
  if spawnDelayFrames == -1 then
  if spawnOnClickActive then
    im.PopStyleColor(2)
  end
            end
            im.PopStyleColor()
            im.NextColumn()
      if session.lights[id].choiceIndex then
        im.PopStyleColor()
      end
          if ctrl.savedIndex then
            im.PopStyleColor()
          end
    end
    im.PopStyleColor(2)
    im.tooltip("Spawns the sign under the current camera view.")
    if spawnOnClickActive then
      im.PopStyleColor(2)
    end
@/lua/ge/extensions/editor/flowgraph/history.lua
        im.TextWrapped(self.mgr.history[i].title)
        im.PopStyleColor()
        if im.IsItemClicked() then goToHistory = i end
@/lua/ge/extensions/editor/vehicleEditor/veToolbar.lua
  end
  im.PopStyleColor()
end
  end
  im.PopStyleColor()
    end
    im.PopStyleColor()
    im.SameLine()
    end
    im.PopStyleColor()
    im.SameLine()
  ::safeFinish::
  im.PopStyleColor()
end
@/lua/ge/extensions/editor/shapeEditor.lua
    im.BeginChild1("shapeEditorMenu",  menuSize(im.GetWindowWidth(),im.GetWindowHeight()), true )
    im.PopStyleColor()
    if im.BeginTabBar("shapeeditor##") then
@/lua/ge/extensions/core/vehicle/manager.lua
    im.TextWrapped("/!\\ THIS TOOL IS OBSOLETE /!\\")
    im.PopStyleColor()
    im.TextWrapped("Please use the following command line argument instead:")
    im.PopStyleColor()
    im.TextWrapped("-debugVehicleLoading")
    im.PopStyleColor()
@/lua/ge/extensions/editor/mainMenu.lua
    if editor.safeMode then
      imgui.PopStyleColor()
    end
@/lua/ge/extensions/editor/missionPlaybook/missionTreeViewer.lua
  ui_flowgraph_editor.PopStyleVar(1)
  ui_flowgraph_editor.PopStyleColor(1)
end
@/lua/ge/extensions/editor/rallyEditor/measurementsTab.lua
  -- end
  -- im.PopStyleColor(1)
  -- if im.IsItemHovered() then
@/lua/ge/extensions/editor/inspector.lua
            end
            imgui.PopStyleColor()
          end
        end
        imgui.PopStyleColor()
      end
    imgui.Text("")
    imgui.PopStyleColor()
  end
        imgui.Text("")
        imgui.PopStyleColor()
      end
          imgui.Text("[Locked]")
          imgui.PopStyleColor()
        else
@/lua/ge/extensions/editor/assetBrowser.lua
  end
  im.PopStyleColor()
  local tooltip = "filter: " .. ((item.filterInput == "") and '-' or item.filterInput) .. "\nsource: " .. ((item.filterType == 1) and "global" or "directory") .. "\nfiletypes: "
  end
  im.PopStyleColor()
  im.ShowHelpMarker("Hit RMB on one of your saved filters in order to open a context menu", true)
  end
  im.PopStyleColor(hasSubDirs and 1 or 2)
  im.SameLine()
  end
  im.PopStyleColor(2)
  if im.IsItemClicked(1) then
    im.SmallButton((parentDir == true) and ("[...]##parentDir" .. dir.id) or (dir.name .. "##" .. dir.id))
    im.PopStyleColor((dir.selectedInABView == true) and 2 or 1)
    if im.IsItemClicked(0) then
    im.SmallButton(set.name .. "##_" .. set.path)
    im.PopStyleColor((set.selectedInABView == true) and 2 or 1)
    end
    im.PopStyleColor(2)
  else
      end
      im.PopStyleColor()
      im.SetCursorPos(im.ImVec2(startCursorPos.x + var.minThumbnailSize + var.style.FramePadding.x, startCursorPos.y))
      im.TextUnformatted(file.fullFileName)
      if file.selectedInABView == true then im.PopStyleColor(1) end
          end
          im.PopStyleColor()
          im.Unindent()
      im.SmallButton(file.fullFileName)
      im.PopStyleColor((file.selectedInABView == true) and 2 or 1)
    end
        end
        im.PopStyleColor()
        im.SetCursorPos(oldPos)
  local open_popup = editor.uiIconImageButton(editor.icons.star, im.ImVec2(var.inputFieldSize / uiScaling, var.inputFieldSize / uiScaling), editor.color.gold.Value, nil, nil, "SaveFilterDropdownButton")
  im.PopStyleColor()
  im.tooltip("Save current filter")
  local open_popup = editor.uiIconImageButton(editor.icons.ab_filter_by_type, im.ImVec2(var.inputFieldSize / uiScaling, var.inputFieldSize / uiScaling), nil, nil, nil, "FilterDropdownButton")
  im.PopStyleColor()
  local open_popup_rmb = false
    end
    im.PopStyleColor()
    im.tooltip((var.options.treeView == true) and "Hide tree view" or "Show tree view")
        end
        im.PopStyleColor()
        im.tooltip((editor.getPreference("assetBrowser.general.filter_displayDirs") == true) and "Hide folders" or "Show folders")
        end
        im.PopStyleColor()
        im.tooltip((editor.getPreference("assetBrowser.general.filter_displayAssets") == true) and "Hide assets" or "Show assets")
        end
        im.PopStyleColor()
        im.tooltip((var.options.filter_displayTextureSets == true) and "Hide texture sets" or "Show texture sets")
        end
        im.PopStyleColor()
        im.tooltip("Search for files in all folders.")
        end
        im.PopStyleColor(1)
        im.tooltip("Search for files and directories in the current selected directory.")
      end
      im.PopStyleColor()
      im.tooltip("Restore filter settings")
          end
          im.PopStyleColor()
@/lua/ge/suspensionFrequencyTester.lua
          imgui.PlotLines1("##"..node.name, ampArray, numPixels, 0, nil, 0, maxAmpl, imgui.ImVec2(contentWidth, 60))
          imgui.PopStyleColor()
@/lua/ge/extensions/editor/missionEditor/progressSingle.lua
local function popStyle(colorName)
  im.PopStyleColor(im.Int(1))
end