GE Lua Documentation

Press F to search!

GetStyleColorVec4

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:226
function M.GetStyleColorVec4(ImGuiCol_idx) return imgui.GetStyleColorVec4(ImGuiCol_idx) end

Callers

@/lua/ge/extensions/editor/trafficManager.lua
  if spawnOnClickActive then
    im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
    im.PushStyleColor2(im.Col_ButtonHovered, im.GetStyleColorVec4(im.Col_ButtonActive))
    im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
    im.PushStyleColor2(im.Col_ButtonHovered, im.GetStyleColorVec4(im.Col_ButtonActive))
  end
    if not isDrivable then im.BeginDisabled() end
    if editor.uiIconImageButton(editor.icons.play_arrow, imSizes.medium, sessionData.aiActive and im.GetStyleColorVec4(im.Col_ButtonActive)) then
      enableVehicleAi(currSelection.vehicle)
    im.SameLine()
    if editor.uiIconImageButton(editor.icons.mouse, imSizes.medium, mouseMode == "move" and im.GetStyleColorVec4(im.Col_ButtonActive)) then
      if mouseMode ~= "move" then

  if editor.uiIconImageButton(editor.icons.play_arrow, imSizes.medium, allAiActive and im.GetStyleColorVec4(im.Col_ButtonActive)) then
    enableSimulation()
      im.SameLine()
      if editor.uiIconImageButton(editor.icons.mouse, imSizes.medium, mouseMode == "move" and im.GetStyleColorVec4(im.Col_ButtonActive)) then
        if mouseMode ~= "move" then

        if editor.uiIconImageButton(editor.icons.add_circle, imSizes.medium, tempEditMode == "objectSelect" and im.GetStyleColorVec4(im.Col_ButtonActive)) then
          if tempEditMode ~= "objectSelect" then

    if editor.uiIconImageButton(editor.icons.play_arrow, imSizes.medium, session.lightsActive and im.GetStyleColorVec4(im.Col_ButtonActive)) then
      enableSignals()
    if spawnOnClickActive then
      im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
      im.PushStyleColor2(im.Col_ButtonHovered, im.GetStyleColorVec4(im.Col_ButtonActive))
      im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
      im.PushStyleColor2(im.Col_ButtonHovered, im.GetStyleColorVec4(im.Col_ButtonActive))
    end
@/lua/ge/extensions/editor/levelValidator.lua
  if logLevelFilters[logLevel] then
    im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
    buttonActive = true
          if showIgnored then
            im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
            buttonActive = true
@/lua/ge/extensions/editor/mainToolbar.lua
local modesManagerOpen = im.BoolPtr(false)
local buttonColor_active = im.GetStyleColorVec4(im.Col_ButtonActive)
local buttonColor_inactive = im.GetStyleColorVec4(im.Col_Button)
local buttonColor_active = im.GetStyleColorVec4(im.Col_ButtonActive)
local buttonColor_inactive = im.GetStyleColorVec4(im.Col_Button)
local function drawGeneralToolbarButtons()

  local vehicleButtonBgColor = im.GetStyleColorVec4(im.Col_Button)
  if editor.getPreference("ui.general.enableVehicleControls") then vehicleButtonBgColor = im.GetStyleColorVec4(im.Col_ButtonActive) end
  local vehicleButtonBgColor = im.GetStyleColorVec4(im.Col_Button)
  if editor.getPreference("ui.general.enableVehicleControls") then vehicleButtonBgColor = im.GetStyleColorVec4(im.Col_ButtonActive) end
  if editor.uiIconImageButton(editor.icons.directions_car, nil, nil, nil, vehicleButtonBgColor) then

  if mode == editor.AxisGizmoMode_Translate then bgColor = im.GetStyleColorVec4(im.Col_ButtonActive) else bgColor = nil end
  if editor.uiIconImageButton(editor.icons.move, nil, nil, nil, bgColor) then

  if mode == editor.AxisGizmoMode_Rotate then bgColor = im.GetStyleColorVec4(im.Col_ButtonActive) else bgColor = nil end
  if editor.uiIconImageButton(editor.icons.rotate, nil, nil, nil, bgColor) then

  if mode == editor.AxisGizmoMode_Scale then bgColor = im.GetStyleColorVec4(im.Col_ButtonActive) else bgColor = nil end
  if editor.uiIconImageButton(editor.icons.scale, nil, nil, nil, bgColor) then

  if gridSnapEnabled then bgColor = im.GetStyleColorVec4(im.Col_ButtonActive) else bgColor = nil end
  if editor.uiIconImageButton(editor.icons.snap_grid, nil, nil, nil, bgColor) then

  if rotateSnapEnabled then bgColor = im.GetStyleColorVec4(im.Col_ButtonActive) else bgColor = nil end
  if editor.uiIconImageButton(editor.icons.snap_rotate, nil, nil, nil, bgColor) then

  if editor.getPreference("snapping.terrain.enabled") then bgColor = im.GetStyleColorVec4(im.Col_ButtonActive) else bgColor = nil end
  local windowPos = im.ImVec2(im.GetWindowPos().x + im.GetCursorPosX(), im.GetWindowPos().y + im.GetCursorPosY() + 30)
          if editor.editMode == val then
            bgColor = im.GetStyleColorVec4(im.Col_ButtonActive)
          end
          if editor.editMode == val then
            bgColor = im.GetStyleColorVec4(im.Col_ButtonActive)
          end
        if editor.editMode == skippedEditMode then
          bgColor = im.GetStyleColorVec4(im.Col_ButtonActive)
        end
          if editor.editMode == val then
            bgColor = im.GetStyleColorVec4(im.Col_ButtonActive)
          end
@/lua/ge/extensions/editor/sceneTree.lua
  local icon = node.icon
  local textColor = imgui.GetStyleColorVec4(imgui.Col_Text)
  local iconColor = imgui.GetStyleColorVec4(imgui.Col_Text)
  local textColor = imgui.GetStyleColorVec4(imgui.Col_Text)
  local iconColor = imgui.GetStyleColorVec4(imgui.Col_Text)
  local selectionColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
  local iconColor = imgui.GetStyleColorVec4(imgui.Col_Text)
  local selectionColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
  local icon = getGroupNodeIcon(node)
  local iconColor = node.overrideIconColor or imgui.GetStyleColorVec4(imgui.Col_Text)
  local textColor = node.overrideTextColor
  local textColor = node.overrideTextColor
  local selectionColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)

  local iconColor = overrideIconColor or imgui.GetStyleColorVec4(imgui.Col_Text)
  local selectionColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
  local iconColor = overrideIconColor or imgui.GetStyleColorVec4(imgui.Col_Text)
  local selectionColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
  local activateOnRelease = node.selected and not onClickSelected
        end
        editor.uiIconImageButton(icon, smallIconSize, imgui.GetStyleColorVec4(imgui.Col_Text))
        imgui.SameLine()
      local bgColor = nil
      if searchRange > 0 then bgColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive) end
      if editor.uiIconImageButton(editor.icons.wifi_tethering, imgui.ImVec2(searchRangeIconWidth, searchRangeIconWidth), nil, nil, bgColor) then
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/path.lua
  im.NextColumn()
  local buttonColor = im.GetStyleColorVec4(im.Col_Button)
  local uvValue = api.getDecalUv()
@/lua/ge/extensions/ui/console.lua

    local vehicleButtonBgColor = im.GetStyleColorVec4(im.Col_Button)
    if gui.uiIconImageButton(gui.icons.directions_car,{x=imgsize, y=imgsize}, enableVehicleControls and iconButtonFgColor.Value or iconButtonNoColor.Value, nil, iconButtonBgColor.Value) then
@/lua/ge/extensions/editor/assetBrowser.lua
      end
      editor.uiIconImage(editor.icons.folder_open, var.iconSize, im.GetStyleColorVec4(im.Col_ButtonActive))
    else
  else
    editor.uiIconImage(editor.icons.folder, var.iconSize, dir.selected == true and im.GetStyleColorVec4(im.Col_ButtonActive) or nil)
  end
    if not var.currentListIndex then var.currentListIndex = var.listIndexCounter end
    im.PushStyleColor2(im.Col_Text, im.GetStyleColorVec4(im.Col_ButtonActive))
  else
    -- im.SmallButton((parentDir == true) and ("[...]##parentDir" .. dir.path) or (tostring(im.GetCursorPosY()) .. " " .. dir.name .. "##" .. dir.path))
    if dir.selectedInABView == true then im.PushStyleColor2(im.Col_Text, im.GetStyleColorVec4(im.Col_ButtonActive)) end -- set SmallButton's font color to if the asset is selected
    im.SmallButton((parentDir == true) and ("[...]##parentDir" .. dir.id) or (dir.name .. "##" .. dir.id))
      if dir.selectedInABView then
        im.TextColored(im.GetStyleColorVec4(im.Col_ButtonActive), dirName)
      else
    if set.selectedInABView then
      editor.uiIconImage(editor.icons.photo_library, var.iconSize, im.GetStyleColorVec4(im.Col_ButtonActive))
    else
    im.PushStyleColor2(im.Col_Button, editor.color.transparent.Value) -- set SmallButton's background color to transparent
    if set.selectedInABView == true then im.PushStyleColor2(im.Col_Text, im.GetStyleColorVec4(im.Col_ButtonActive)) end -- set SmallButton's font color to if the asset is selected
    im.SmallButton(set.name .. "##_" .. set.path)
      im.SetCursorPos(cursorPos)
      icon(set, im.ImVec2(var.options.thumbnailSize/4, var.options.thumbnailSize/4), im.GetStyleColorVec4(im.Col_Text))
      -- if file.selected then im.TextColored(im.GetStyleColorVec4(im.Col_ButtonActive), file.fullFileName) else im.TextUnformatted(file.fullFileName) end
      icon(set, im.ImVec2(var.options.thumbnailSize/4, var.options.thumbnailSize/4), im.GetStyleColorVec4(im.Col_Text))
      -- if file.selected then im.TextColored(im.GetStyleColorVec4(im.Col_ButtonActive), file.fullFileName) else im.TextUnformatted(file.fullFileName) end
    end
  if childSize == -1 then
    icon(material, var.iconSize, (material.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
    im.SameLine()
  if childSize == -1 then
    icon(material, var.iconSize, (material.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
    im.SameLine()
    im.SameLine()
    im.PushStyleColor2(im.Col_Text, (material.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
    -- Set SmallButton's background color to transparent.
    im.SameLine()
    im.PushStyleColor2(im.Col_Text, (material.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
    -- Set SmallButton's background color to transparent.
    end
    if material.selectedInABView then im.TextColored(im.GetStyleColorVec4(im.Col_ButtonActive), material.name) else im.TextUnformatted(material.name) end
    im.EndChild()
    if file.selectedInABView then
      icon(file, var.iconSize, im.GetStyleColorVec4(im.Col_ButtonActive))
    else
    else
      icon(file, var.iconSize, im.GetStyleColorVec4(im.Col_Text))
    end
      im.SetCursorPos(im.ImVec2(startCursorPos.x + var.minThumbnailSize + var.style.FramePadding.x, startCursorPos.y))
      if file.selectedInABView == true then im.PushStyleColor2(im.Col_Text, im.GetStyleColorVec4(im.Col_ButtonActive)) end
      im.TextUnformatted(file.fullFileName)
      -- Set SmallButton's font color if the asset is selected.
      if file.selectedInABView == true then im.PushStyleColor2(im.Col_Text, im.GetStyleColorVec4(im.Col_ButtonActive)) end
      -- Set SmallButton's background color to transparent.
      elseif file.type == "materials" then
        icon(file, im.ImVec2(var.options.thumbnailSize, var.options.thumbnailSize), (file.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
        local oldPos = im.GetCursorPos()
      elseif file.type == "materials" then
        icon(file, im.ImVec2(var.options.thumbnailSize, var.options.thumbnailSize), (file.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
        local oldPos = im.GetCursorPos()
      else
        icon(file, im.ImVec2(var.options.thumbnailSize, var.options.thumbnailSize), (file.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
      end
      else
        icon(file, im.ImVec2(var.options.thumbnailSize, var.options.thumbnailSize), (file.selectedInABView == true and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Text)))
      end
      if file.selectedInABView then
        im.TextColored(im.GetStyleColorVec4(im.Col_ButtonActive),file.fullFileName)
      else
          im.Col_Button,
          (var.options.filter_displayDirs == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.filter_displayDirs == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.filter_displayAssets == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.filter_displayAssets == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.filter_displayTextureSets == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.filter_displayTextureSets == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.assetViewFilterType == var.assetViewFilterType_enum.all_files) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.assetViewFilterType == var.assetViewFilterType_enum.all_files) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.assetViewFilterType == var.assetViewFilterType_enum.current_folder_files) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
          im.Col_Button,
          (var.options.assetViewFilterType == var.assetViewFilterType_enum.current_folder_files) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button)
        )
@/lua/ge/extensions/editor/inspector.lua
      if obj then
        local textColor = imgui.GetStyleColorVec4(imgui.Col_Text)
        imgui.TextUnformatted("Class:") imgui.SameLine() imgui.TextColored(textColor, valueInspector.selectionClassName)
  imgui.InvisibleButton("openUVEditorButton", imgui.ImVec2(buttonSize * imgui.uiscale[0], buttonSize * imgui.uiscale[0]))
  local uvButtonBGColor = imgui.GetStyleColorVec4(imgui.Col_Button)
  if imgui.IsItemHovered() then
    if imgui.IsMouseDown(0) then
      uvButtonBGColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
      groundCoverUVTypeIndex = customData.arrayIndex
    else
      uvButtonBGColor = imgui.GetStyleColorVec4(imgui.Col_ButtonHovered)
    end
@/lua/ge/extensions/editor/assetDeduplicator.lua
          elseif im.GetStyleColorVec4 and im.ColorConvertFloat4ToU32 then
            local v = im.GetStyleColorVec4(im.Col_HeaderHovered)
            col = im.ColorConvertFloat4ToU32(v)
@/lua/ge/extensions/core/metrics.lua
      im.SameLine()
      im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonHovered))
      if im.Button("Open Performance Graph ") then
@/lua/ge/extensions/editor/preferences.lua
  imgui.PushFont3("cairo_regular_medium")
  imgui.TextColored(imgui.GetStyleColorVec4(imgui.Col_NavHighlight), cat.label .. " Preferences")
  imgui.PopFont()
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
  string.format("Reset to default: %s", dumps({false, false})))
  local btnCol = im.GetStyleColorVec4(im.Col_Button)
  im.PushStyleColor2(im.Col_Button, layer.decalUv.x == -1 and editor.color.beamng.Value or btnCol)
  im.SameLine()
  local buttonColor = im.GetStyleColorVec4(im.Col_Button)
  local uvValue = api.getDecalUv()
@/lua/ge/extensions/editor/forestEditor.lua
-- styling
-- var.buttonColor_active = im.GetStyleColorVec4(im.Col_Button)
var.buttonColor_active = im.GetStyleColorVec4(im.Col_ButtonActive)
-- var.buttonColor_active = im.GetStyleColorVec4(im.Col_Button)
var.buttonColor_active = im.GetStyleColorVec4(im.Col_ButtonActive)
var.buttonColor_inactive = im.GetStyleColorVec4(im.Col_Button)
var.buttonColor_active = im.GetStyleColorVec4(im.Col_ButtonActive)
var.buttonColor_inactive = im.GetStyleColorVec4(im.Col_Button)
  end
  local bgColor = (tool == var.selectedTool) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(tool.icon, nil, nil, nil, bgColor, tool.label) then
  editor.uiVertSeparator(32)
  local bgColor = editor.isWindowVisible(parallaxMappingTextureSetEditor_WindowId) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(editor.icons.format_list_bulleted, nil, nil, nil, bgColor, "openParallaxMappingTextureSetEditor") then
@/lua/ge/extensions/editor/api/gui.lua
  else
    imgui.TextColored(color or imgui.GetStyleColorVec4(imgui.Col_Text), text)
  end

  --if not col then col = imgui.GetStyleColorVec4(imgui.Col_Text) end
  --if not borderCol then borderCol = imgui.GetStyleColorVec4(imgui.Col_Border) end
  --if not col then col = imgui.GetStyleColorVec4(imgui.Col_Text) end
  --if not borderCol then borderCol = imgui.GetStyleColorVec4(imgui.Col_Border) end
  local ux = icon.x / editor.atlasWidth
local function uiHighlightedText(text, highlightText, textColor)
  if not textColor then textColor = imgui.GetStyleColorVec4(imgui.Col_Text) end
  if highlightText and highlightText ~= '' then
  if not size then size = defaultIconButtonSize end
  if not col then col = imgui.GetStyleColorVec4(imgui.Col_Text) end
  local ux = icon.x / editor.atlasWidth
    imgui.PushStyleColor2(imgui.Col_Button, imgui.ImVec4(0,0,0,0))
    if not backgroundCol then backgroundCol = imgui.GetStyleColorVec4(imgui.Col_Button) end
    imgui.ImageButton("##ImageButton", iconsTex.texId, size, imgui.ImVec2(ux, uy), imgui.ImVec2(vx, vy), backgroundCol, col)
  imgui.BeginChild1("##InputSearch", imgui.ImVec2(width, imgsize + 2), false)
  local frame = imgui.GetStyleColorVec4(imgui.Col_FrameBg)
  local bgcol = imgui.ImVec4(frame.x, frame.y, frame.z, frame.w)
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
        if isCurrentLight then
          im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
        end
@/lua/ge/extensions/editor/flowgraph/welcome.lua
  im.SetWindowFontScale(2)
  im.TextColored(im.GetStyleColorVec4(im.Col_NavHighlight), txt)
  im.SetWindowFontScale(1)
function C:drawContent()
  local col = im.GetStyleColorVec4(im.Col_Text)
@/lua/ge/extensions/editor/terrainEditor.lua
var.materialComboWidth = 0
var.buttonColor = im.GetStyleColorVec4(im.Col_Button)
var.transparentColor = im.GetStyleColorVec4(im.Col_WindowBg)
var.buttonColor = im.GetStyleColorVec4(im.Col_Button)
var.transparentColor = im.GetStyleColorVec4(im.Col_WindowBg)
local function terrainEditorEditModeToolbarBrushTypeButton(brushType, sameLine)
  local bgColor = (var.currentBrushType == brushType) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(brushType.icon, nil, nil, nil, bgColor) then
    or (state == stateEnum.terraforming and brush.name == "terraform")
  local bgColor = isActive and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(brush.icon, nil, nil, nil, bgColor) then
  im.SetCursorPosY(im.GetCursorPosY() - 4)
  local bgcol = (editor.isWindowVisible(terrainBrushSoftnessCurveDialogName) == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(editor.icons.tb_scurve_softer, nil, nil, nil, bgcol, "brushSettings_sculpting_brushSoftnessCurve") then
  im.SetCursorPosY(im.GetCursorPosY() - 4)
  bgcol = (var.brushHeightPicking == true) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(editor.icons.terrain_height_picking, nil, nil, nil, bgcol, "pickTerrainHeight") then
local function terrainToolsEditModeToolbar()
  local bgColor = editor.isWindowVisible(terrainImportDialogName) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(editor.icons.terrain_import, nil, nil, nil, bgColor, "ImportTerrainButton") then

  bgColor = editor.isWindowVisible(terrainExportDialogName) and im.GetStyleColorVec4(im.Col_ButtonActive) or nil
  if editor.uiIconImageButton(editor.icons.terrain_export, nil, nil, nil, bgColor, "ExportTerrainButton") then
@/lua/ge/extensions/editor/trafficDebug.lua
  if trafficAmountChange[0] ~= 0 then
    im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonHovered))
  end
  if parkingAmountChange[0] ~= 0 then
    im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonHovered))
  end
@/lua/ge/extensions/editor/createObjectTool.lua
    local bgColor = nil
    if i == createObjectGroupIndex then bgColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive) end
    if editor.uiIconImageButton(item.icon or editor.icons.stop, nil, nil, nil, bgColor) then

      if item == currentCreateObjectItem then bgColor = imgui.GetStyleColorVec4(imgui.Col_ButtonActive) end
      if editor.uiIconImageButton(item.icon or editor.icons.stop, nil, nil, nil, bgColor) then
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/brushStroke.lua
  im.NextColumn()
  local buttonColor = im.GetStyleColorVec4(im.Col_Button)
  local uvValue = api.getDecalUv()
@/lua/ge/extensions/editor/newsMessage.lua
  if editor.beginModalWindow(newsDlgName, "World Editor News", imgui.WindowFlags_AlwaysAutoResize + imgui.WindowFlags_NoScrollbar) then
    editor.uiTextColoredWithFont(imgui.GetStyleColorVec4(imgui.Col_NavHighlight), "Important Editor Release Notes for " .. beamng_versionb, "cairo_regular_medium")
    imgui.Text(newsText)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua

local backgroundCol = im.GetStyleColorVec4(im.Col_Button)
local highLightBg   = im.ImVec4(0.5, 0, 0, 1)
@/lua/ge/extensions/editor/forestView.lua
  local fontSize = math.ceil(imgui.GetFontSize())
  local buttonColor_active = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
  local buttonColor_inactive = imgui.GetStyleColorVec4(imgui.Col_Button)
  local buttonColor_active = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
  local buttonColor_inactive = imgui.GetStyleColorVec4(imgui.Col_Button)
  local style = imgui.GetStyle()
@/lua/ge/extensions/editor/vehicleEditor/veToolbar.lua
    local regularColor = im.ImVec4(1,1,1,1)
    local selectedColor = im.GetStyleColorVec4(im.Col_ButtonActive)
    im.PushStyleColor2(im.Col_Text, vEditor.mode == vEditor.MODE_PICKING_NODE and selectedColor or regularColor)
@/lua/ge/extensions/editor/materialEditor.lua
        if selectedCubemapObj then
          im.PushStyleColor2(im.Col_Button, (selectedCubemapObj:getName() == cubemap) and im.GetStyleColorVec4(im.Col_ButtonActive) or im.ImVec4(1,1,1,0))
        end
      im.SameLine()
      im.PushStyleColor2(im.Col_Button, pickMaterialFromObject and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button))
      if im.Button("Pick from TSStatic") then
      im.SameLine()
      im.PushStyleColor2(im.Col_Button, pickMaterialFromObject and im.GetStyleColorVec4(im.Col_ButtonActive) or im.GetStyleColorVec4(im.Col_Button))
      if im.Button("Pick from TSStatic") then
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veJBeamModifierLeakVis.lua
        if isSectionLeaking then im.PushStyleColor2(im.Col_Text, imRedCol) end
        if setBtnColFlag then im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonHovered)) end
        if im.Button(sectionName) then
@/lua/ge/extensions/editor/gen/ui.lua
--?? LOAD icons
--local icon_door = icon(file, var.iconSize, im.GetStyleColorVec4(im.Col_ButtonActive))
@/lua/ge/extensions/editor/multiSpawnManager.lua
      if isCurrent then
        im.PushStyleColor2(im.Col_Button, im.GetStyleColorVec4(im.Col_ButtonActive))
      end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
  self.buttonListIndex = 0
  im.PushStyleColor2(im.Col_ScrollbarGrab, im.GetStyleColorVec4(im.Col_ButtonActive))
  im.PushStyleColor2(im.Col_ScrollbarGrabHovered, im.GetStyleColorVec4(im.Col_TitleBgActive))
  im.PushStyleColor2(im.Col_ScrollbarGrab, im.GetStyleColorVec4(im.Col_ButtonActive))
  im.PushStyleColor2(im.Col_ScrollbarGrabHovered, im.GetStyleColorVec4(im.Col_TitleBgActive))
  im.PushStyleColor2(im.Col_ScrollbarGrabActive, im.GetStyleColorVec4(im.Col_SliderGrabActive))
  im.PushStyleColor2(im.Col_ScrollbarGrabHovered, im.GetStyleColorVec4(im.Col_TitleBgActive))
  im.PushStyleColor2(im.Col_ScrollbarGrabActive, im.GetStyleColorVec4(im.Col_SliderGrabActive))
  if ffi.string(self.searchText) == '' then
@/lua/ge/extensions/editor/roadRiverGui.lua
  local class = M.isRoad and "Road" or "River"
  local buttonColor = M.createMode and im.GetStyleColorVec4(im.Col_ButtonActive)
  if editor.uiIconImageButton(editor.icons.add_box, nil, nil, nil, buttonColor) then
@/lua/ge/extensions/editor/mainMenu.lua
  if editor.dirty then modified = "*" end
  imgui.TextColored(imgui.GetStyleColorVec4(imgui.Col_ButtonActive), "[" .. getMissionFilename() .. "]" .. modified)
end
  if editor.editMode then str = tostring(editor.editMode.displayName or editor.editMode.iconTooltip or "Unknown") end
  imgui.TextColored(imgui.GetStyleColorVec4(imgui.Col_ButtonActive), str)
end
@/lua/ge/extensions/editor/biomeTool.lua
var.forestBrushGroup = {}
var.buttonColor_active = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
var.buttonColor_inactive = imgui.GetStyleColorVec4(imgui.Col_Button)
var.buttonColor_active = imgui.GetStyleColorVec4(imgui.Col_ButtonActive)
var.buttonColor_inactive = imgui.GetStyleColorVec4(imgui.Col_Button)
var.forestBrushTool = nil
@/lua/ge/extensions/editor/dynamicDecalsTool.lua
  local iconSize = math.ceil(im.GetFontSize())
  editor.uiIconImage(section.open and editor.icons.keyboard_arrow_down or editor.icons.keyboard_arrow_right, im.ImVec2(iconSize, iconSize), im.GetStyleColorVec4(im.Col_Text))
  -- button text
@/lua/ge/extensions/editor/api/guiTheme.lua
local function setupEditorGuiTheme()
  local Col_Button = imgui.GetStyleColorVec4(imgui.Col_Button)