IsItemHovered
Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:1064
function M.IsItemHovered(ImGuiHoveredFlags_flags)
if ImGuiHoveredFlags_flags == nil then ImGuiHoveredFlags_flags = 0 end
return imgui.IsItemHovered(ImGuiHoveredFlags_flags)
end
Callers
@/lua/ge/extensions/editor/roadTemplateEditor.lua
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/missionEditor/previewChecker.lua
im.Button("Preview")
if im.IsItemHovered() then
im.BeginTooltip()
im.Button("Thumbnail")
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/audioEventsList.lua
im.Selectable1(event.eventName, nil, im.SelectableFlags_SpanAllColumns)
local selectableHovered = im.IsItemHovered()
@/lua/common/extensions/ui/flowgraph/editor.lua
if editor_flowgraphEditor.allowTooltip then
if im.IsItemHovered() then
im.BeginTooltip()
if im.IsItemHovered() then
im.ImDrawList_AddRect(im.GetWindowDrawList(), cPos, im.ImVec2(cPos.x + size.x, cPos.y + size.y), im.GetColorU322(im.ImVec4(1,0.6,0,0.5)), nil, nil, 1)
@/lua/ge/extensions/editor/missionStartPositionEditor.lua
-- Show tooltip with mission info
if im.IsItemHovered() then
im.BeginTooltip()
-- Show count of nearby missions in tooltip
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veView.lua
view.mouseDragging0 = false
view.isHovered = im.IsItemHovered()
if view.isHovered then
@/lua/ge/extensions/editor/fileDialog.lua
local function tooltip_image(file)
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/camPathEditor.lua
im.PopItemWidth()
if im.IsItemHovered() then
im.tooltip('Offset applied to vehicle center when "Track player vehicle" is enabled:\nX: Right/Left, Y: Forward/Backward, Z: Up/Down (relative to vehicle)')
end
if im.IsItemHovered() then
im.tooltip('Show blue sphere at the tracking point for visualization')
end
if im.IsItemHovered() then
im.tooltip('Reset all tracking offset values to zero')
-- end
-- if im.IsItemHovered() then
-- im.tooltip('Set consistent speed based on distance between markers')
end
if im.IsItemHovered() then
im.tooltip('Smooth out timing jumps while preserving overall pacing')
end
if im.IsItemHovered() then
im.tooltip('Apply stronger smoothing to timing irregularities')
end
if im.IsItemHovered() then
im.tooltip('Add a new camera marker at the current position (Shift+Click in 3D view)')
im.PopStyleColor()
if im.IsItemHovered() then
im.tooltip('Delete Marker')
end
if im.IsItemHovered() then
im.tooltip('Moves the camera to the select marker position')
end
if im.IsItemHovered() then
im.tooltip('Moves camera to marker position and syncs replay to marker time')
end
if im.IsItemHovered() then
im.tooltip('Uses current camera position for the marker')
im.PopItemWidth()
if im.IsItemHovered() then
im.tooltip("The marker's position in the global timeline")
end
if im.IsItemHovered() then
im.tooltip('Time to reach the next marker')
end
if im.IsItemHovered() then
im.tooltip("Set this 'Time To Next' value for all markers")
end
if im.IsItemHovered() then
im.tooltip("Set this 'fov' value for all markers")
end
if im.IsItemHovered() then
im.tooltip("Set this 'Position Smooth' value for all markers")
im.PopItemWidth()
if im.IsItemHovered() then
im.tooltip('Change playback speed at this marker')
end
if im.IsItemHovered() then
im.tooltip("Set this 'Bullet Time' value for all following markers")
end
if im.IsItemHovered() then
im.tooltip("If enabled the marker will automatically rotate toward the player's vehicle")
end
if im.IsItemHovered() then
im.tooltip("Set this 'Track player vehicle' value for all markers")
end
if im.IsItemHovered() then
im.tooltip('This camera move will start already moving')
end
if im.IsItemHovered() then
im.tooltip("Set this 'Moving Start' value for all markers")
end
if im.IsItemHovered() then
im.tooltip('This camera move will not end with a standstill')
end
if im.IsItemHovered() then
im.tooltip("Set this 'Moving End' value for all markers")
end
if im.IsItemHovered() then
im.tooltip('Show camera composition overlay')
im.PopItemWidth()
if im.IsItemHovered() then
im.tooltip(
if core_replay.getState() == 'playback' then
if im.IsItemHovered() then
im.tooltip('New Markers will get the time of the current replay. Starting the path also starts the replay.')
@/lua/ge/extensions/editor/raceEditor/tools.lua
end
if im.IsItemHovered() then
debugDrawer:drawTextAdvanced(sp.pos,
@/lua/ge/extensions/editor/raceEditor/trackLayout.lua
end
if im.IsItemHovered() then
debugDrawer:drawTextAdvanced(sp.pos,
@/lua/ge/extensions/flowgraph/nodes/macro/integrated.lua
editor.uiIconImage(editor.icons.search, im.ImVec2(20, 20))
if im.IsItemHovered() then
-- display blue rectangle when node is hovered
@/lua/ge/extensions/gameplay/drag/debug.lua
end
if im.IsItemHovered() then
im.tooltip("Add selected vehicle from scenetree to Lane: " ..k)
end
if im.IsItemHovered() and editor_dragRaceEditor then
local rot = quat(laneData.transform.rotation)
@/lua/ge/extensions/editor/terrainMaterialsEditor.lua
end
if tooltip and im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/sitesEditor/zones.lua
end
if im.IsItemHovered() then
for _, vertex in ipairs(self.currentVertices) do
@/lua/ge/extensions/gameplay/drift/quickMessages.lua
im.Text('-' .. data.msg)
if im.IsItemHovered() then
im.tooltip(im.ArrayChar(4096, dumps(data)))
@/lua/ge/extensions/editor/preferences.lua
end
if imgui.IsItemHovered() then imgui.SetTooltip("Export the current category page preferences to a file, for sharing and backup") end
end
if imgui.IsItemHovered() then imgui.SetTooltip("Import the current category page preferences from a file (overwriting current values)") end
imgui.SameLine()
if imgui.IsItemHovered() then imgui.SetTooltip("Reset the current category preferences values to defaults") end
end
if imgui.IsItemHovered() then imgui.SetTooltip("Reset all preferences to their default values") end
-- Reset-all confirmation
@/lua/ge/extensions/editor/flowgraph/garbageDebug.lua
im.EndChild()
if im.IsItemHovered() and im.IsMouseReleased(0) then
entry.expanded = not (entry.expanded or false)
@/lua/ge/extensions/editor/headlessEditorTest.lua
end
if imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text("Button1") imgui.EndTooltip() end
imgui.SameLine()
end
if imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text("Button2") imgui.EndTooltip() end
imgui.SameLine()
end
if imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text("Button3") imgui.EndTooltip() end
end
@/lua/ge/extensions/editor/mainToolbar.lua
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("New Level") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Open Level") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Save Level") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Undo") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Redo") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Cut") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Copy") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Paste") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Editor Preferences") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Enable driving the vehicle in editor") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Translate (Key 1)") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Rotate (Key 2)") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Scale (Key 3)") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.BeginTooltip()
if alignment == 0 then im.Text("World Coordinates (Key 4)") end
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Grid Snap. Right Click for options") im.EndTooltip() end
im.SameLine()
if im.IsItemHovered() and im.IsMouseClicked(1) then
gridSnapSettingsOpen = not gridSnapSettingsOpen
end
if im.IsItemHovered() then im.SetTooltip("Grid Size") end
im.PopItemWidth()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Rotate Snap") im.EndTooltip() end
im.SameLine()
end
if im.IsItemHovered() then im.SetTooltip("Rotate Snap Angle") end
im.PopItemWidth()
end
if im.IsItemHovered() then im.SetTooltip("Toggle Terrain Snap. Right Click for options") end
im.SameLine()
if im.IsItemHovered() and im.IsMouseClicked(1) then
terrainSnapSettingsOpen = not terrainSnapSettingsOpen
if im.IsItemHovered() then im.BeginTooltip() im.Text("Select Edit Mode Set") im.EndTooltip() end
-- Handle double-click to start editing
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
startEditingSetName(i)
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Deselect all available modes") im.EndTooltip() end
if not anyModeSelected then im.EndDisabled() end
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Deselect all selected modes") im.EndTooltip() end
if not hasSelectedSelected then im.EndDisabled() end
if val.iconTooltip and im.IsItemHovered() then
im.BeginTooltip()
if val.iconTooltip and im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/raceEditor/pathnodes.lua
end
if im.IsItemHovered() then
local pos = node.pos
end
if im.IsItemHovered() then
debugDrawer:drawTextAdvanced(sp.pos,
@/lua/ge/extensions/editor/sceneTree.lua
imgui.SetItemAllowOverlap()
local selectableHovered = imgui.IsItemHovered()
if node.selected or node.dragSelected then
editor.uiHighlightedText(label, highlightText, textCol)
local textHovered = imgui.IsItemHovered()
imgui.SameLine()
if imgui.IsItemHovered() then flagsHovered = true end
end
end
if imgui.IsItemHovered() then flagsHovered = true end
end
end
if imgui.IsItemHovered() then imgui.SetTooltip("New Inspector Window for the selected object(s)") end
end
if imgui.IsItemHovered() then imgui.SetTooltip("New subgroup (folder) in the selected group") end
imgui.SameLine()
imgui.PopID()
if imgui.IsItemHovered() then imgui.SetTooltip("Search text") end
imgui.SameLine()
end
if imgui.IsItemHovered() then imgui.SetTooltip("Search filter mode") end
imgui.PopItemWidth()
end
if imgui.IsItemHovered() then imgui.SetTooltip("Only show near objects") end
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/brushStroke.lua
editor.uiButtonRightAlign(string.format("Show data points##%s", layer.uid), nil, true)
if im.IsItemHovered() then
local layerDataCopy = {
im.tooltip("Move data point")
if im.IsItemHovered() then
local layerDataCopy = {
@/lua/ge/extensions/editor/missionEditor/general.lua
editor.uiIconImage(editor.icons.translate, imVec24x24 , (self._titleTranslated or noTranslation) == noTranslation and imVec4Red or imVec4Green)
if im.IsItemHovered() then
im.tooltip(self._titleTranslated)
editor.uiIconImage(editor.icons.translate, imVec24x24 , (self._descTranslated or noTranslation) == noTranslation and imVec4Red or imVec4Green)
if im.IsItemHovered() then
im.tooltip(self._descTranslated)
@/lua/ge/extensions/editor/createObjectTool.lua
end
if imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.name) imgui.EndTooltip() end
if not editor.getPreference("createObjectTool.general.verticalToolbar") then
end
if imgui.IsItemHovered() then
imgui.SetTooltip("Click to select a SimObject derived class")
end
if imgui.IsItemHovered() then
if hiddenClasses[result.name] and string.len(hiddenClasses[result.name]) > 0 then
end
if imgui.IsItemHovered() then
imgui.SetTooltip("Create the class instance in the currently selected folder or object's parent folder")
if imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.title) imgui.EndTooltip() end
if not editor.getPreference("createObjectTool.general.verticalToolbar") then
@/lua/ge/extensions/editor/api/valueInspector.lua
local function setFilenameContextMenu(fieldName, fieldType, fieldValue, arrayIndex, customData, pasteCallback, contextMenuUI)
if imgui.IsItemHovered() and imgui.IsMouseClicked(1) then
filenameContextMenu.open = true
local function setCopyPasteMenu(fieldName, fieldType, fieldValue, arrayIndex, customData, pasteCallback, contextMenuUI)
if imgui.IsItemHovered() and imgui.IsMouseClicked(1) then
copyPasteMenu.open = true
end
if imgui.IsItemHovered() then
imgui.SetTooltip("Clear Search Filter")
--TODO: maybe something better for longer strings not fitting in the popup width
if imgui.IsItemHovered() and string.len(objName) >= tooltipLongTextLength then
imgui.SetTooltip(objName)
end
if imgui.IsItemHovered() then
imgui.SetTooltip("Clear Search Filter")
--TODO: maybe something better for longer strings not fitting in the popup width
if imgui.IsItemHovered() and string.len(objName) >= tooltipLongTextLength then
imgui.SetTooltip(objName)
if imgui.IsItemHovered() then
editor.disableGlobalCopyPaste = true
end
if imgui.IsItemHovered() then
imgui.SetTooltip("Clear Search Filter")
--TODO: maybe something better for longer strings not fitting in the popup width
if imgui.IsItemHovered() and string.len(dbName) >= tooltipLongTextLength then
imgui.SetTooltip(dbName)
@/lua/ge/extensions/core/metrics.lua
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
end
-- if im.IsItemHovered() then im.BeginTooltip() im.Text("Paste") im.EndTooltip() end
ui_flowgraph_editor.tooltip("Paste Node")
end
if im.IsItemHovered() then
im.ImDrawList_AddRect(im.GetWindowDrawList(), im.ImVec2(cursor.x + im.GetWindowPos().x - 2,
if not menuPos then self.mgr:dragDropSource("macroDragDropPayload", macro) end
if im.IsItemHovered() then
im.ImDrawList_AddRect(im.GetWindowDrawList(), im.ImVec2(cursor.x + im.GetWindowPos().x - 2,
if doHover then
if im.IsItemHovered() then
-- display blue rectangle when node is hovered
@/lua/ge/extensions/core/ropeVisualTest.lua
end
if im.IsItemHovered() then
im.SetTooltip("Create a new rope with the current parameter settings")
end
if im.IsItemHovered() then
im.SetTooltip("Move camera to focus on the selected rope")
end
if im.IsItemHovered() then
im.SetTooltip("Rebuild the selected rope with current parameters")
end
if im.IsItemHovered() then
im.SetTooltip("Delete the currently selected rope")
end
if im.IsItemHovered() then
im.SetTooltip("Clone the selected rope 10 times with 20cm Y spacing each")
end
if im.IsItemHovered() then
im.SetTooltip("Delete all ropes and reset the simulation")
end
if im.IsItemHovered() then
im.SetTooltip("Delete all ropes except the first one")
end
if im.IsItemHovered() then
im.SetTooltip("Delete all ropes and reset the simulation")
end
if im.IsItemHovered() then
im.SetTooltip("Delete all ropes, reset everything, and unload the extension")
end
if im.IsItemHovered() then
im.SetTooltip("Save current rope parameters to JSON file")
end
if im.IsItemHovered() then
im.SetTooltip("Load rope parameters from JSON file")
end
if im.IsItemHovered() then
im.SetTooltip("Select which rope to edit and view parameters for")
end
if im.IsItemHovered() then
im.SetTooltip("Controls the amplitude/intensity of rope endpoint animations (0 = no movement, 5x = maximum movement)")
end
if im.IsItemHovered() then
im.SetTooltip("Controls the speed of rope endpoint animations (0 = paused, 1.0 = normal speed, 5.0 = 5x speed)")
im.Text("Anchor A:")
if im.IsItemHovered() then
im.SetTooltip("Starting point of the rope - where it attaches")
end
if im.IsItemHovered() then
im.SetTooltip("Fix/unfix the starting anchor point (prevents movement if fixed)")
end
if im.IsItemHovered() then
im.SetTooltip("Select animation pattern for the starting anchor point")
im.Text("Anchor B:")
if im.IsItemHovered() then
im.SetTooltip("Ending point of the rope - where it attaches")
end
if im.IsItemHovered() then
im.SetTooltip("Fix/unfix the ending anchor point (prevents movement if fixed)")
end
if im.IsItemHovered() then
im.SetTooltip("Select animation pattern for the ending anchor point")
im.Text("Direction A:")
if im.IsItemHovered() then
im.SetTooltip("Initial direction vector at the starting anchor point")
end
if im.IsItemHovered() then
im.SetTooltip("Reset starting direction vector to zero")
im.Text("Direction B:")
if im.IsItemHovered() then
im.SetTooltip("Initial direction vector at the ending anchor point")
end
if im.IsItemHovered() then
im.SetTooltip("Reset ending direction vector to zero")
end
if im.IsItemHovered() then
im.SetTooltip("Number of simulation nodes in the rope (higher = more detailed but slower)")
end
if im.IsItemHovered() then
im.SetTooltip("Scales the rest length between anchor points (affects rope tension)")
end
if im.IsItemHovered() then
im.SetTooltip("Thickness of the rope (visual only, doesn't affect physics)")
end
if im.IsItemHovered() then
im.SetTooltip("How much energy is lost per frame (higher = less bouncy, more stable)")
end
if im.IsItemHovered() then
im.SetTooltip("Total mass of the rope in kilograms")
end
if im.IsItemHovered() then
im.SetTooltip("Mass distribution along the rope (-1 = heavier at start, 1 = heavier at end)")
end
if im.IsItemHovered() then
im.SetTooltip("Solver iterations per update (1-10)")
im.Text("Gravity:")
if im.IsItemHovered() then
im.SetTooltip("Per-rope gravity override (XYZ components)")
end
if im.IsItemHovered() then
im.SetTooltip("Gravity X component")
end
if im.IsItemHovered() then
im.SetTooltip("Gravity Y component")
end
if im.IsItemHovered() then
im.SetTooltip("Gravity Z component")
end
if im.IsItemHovered() then
im.SetTooltip("Extended Position Based Dynamics - more stable but slower simulation")
end
if im.IsItemHovered() then
im.SetTooltip("Enable collision detection with world geometry")
end
if im.IsItemHovered() then
im.SetTooltip("Enable collision detection between rope segments")
end
if im.IsItemHovered() then
im.SetTooltip("Enable bending constraints in the rope simulation")
end
if im.IsItemHovered() then
im.SetTooltip("How resistant the rope is to bending (0 = flexible, 1 = rigid)")
end
if im.IsItemHovered() then
im.SetTooltip("Number of segments spanned by bending constraints")
end
if im.IsItemHovered() then
im.SetTooltip("Limit maximum strain to prevent rope breaking")
end
if im.IsItemHovered() then
im.SetTooltip("Maximum allowed strain before rope breaks (1.0 = 100% stretch)")
end
if im.IsItemHovered() then
im.SetTooltip("Material stiffness (higher = less stretchy, more like steel)")
end
if im.IsItemHovered() then
im.SetTooltip("Toggle rope geometry rendering on/off")
end
if im.IsItemHovered() then
im.SetTooltip("Strength of wind force applied to the rope")
end
if im.IsItemHovered() then
im.SetTooltip("How much wind drag affects the rope movement")
end
if im.IsItemHovered() then
im.SetTooltip("Target simulation frames per second for rope physics")
end
if im.IsItemHovered() then
im.SetTooltip("Name of the material to use for rope rendering")
im.Text("Debug")
if im.IsItemHovered() then
im.SetTooltip("Debug visualization toggles")
end
if im.IsItemHovered() then
im.SetTooltip("Show basic debug visualization of the rope")
end
if im.IsItemHovered() then
im.SetTooltip("Show debug text information for rope nodes")
end
if im.IsItemHovered() then
im.SetTooltip("Show individual rope nodes as spheres")
end
if im.IsItemHovered() then
im.SetTooltip("Show direction vectors at rope nodes")
end
if im.IsItemHovered() then
im.SetTooltip("Visualize node mass values")
end
if im.IsItemHovered() then
im.SetTooltip("Manually rebuild the rope physics simulation")
im.Text("Rope Info (ID: " .. selectedRope.id .. ")")
if im.IsItemHovered() then
im.SetTooltip("Real-time rope simulation statistics")
im.Text(string.format("Max Strain: %.4f", selectedRope.maxStrain))
if im.IsItemHovered() then
im.SetTooltip("Maximum strain (stretch) in any rope segment")
im.Text(string.format("Avg Strain: %.4f", selectedRope.avgStrain))
if im.IsItemHovered() then
im.SetTooltip("Average strain across all rope segments")
im.Text(string.format("Current Length: %.4f", selectedRope.currentLength))
if im.IsItemHovered() then
im.SetTooltip("Current total length of the rope")
im.Text(string.format("Segment (Rest) Length: %.4f", selectedRope.restLength))
if im.IsItemHovered() then
im.SetTooltip("Target length of the rope when at rest")
im.Text(string.format("Sim Time: %.3f ms", selectedRope.simTime))
if im.IsItemHovered() then
im.SetTooltip("Time taken for the last physics simulation step")
im.Text("Overall Performance Stats")
if im.IsItemHovered() then
im.SetTooltip("Advanced performance metrics and frame analysis")
im.Text(string.format("FPS: %.1f", perfStats.fps))
if im.IsItemHovered() then
im.SetTooltip("Current frames per second")
avgSimPercent, avgRenderPercent, avgSimPercent + avgRenderPercent))
if im.IsItemHovered() then
im.SetTooltip("Percentage of target frame time (16.67ms @ 60FPS) used by ropes")
im.Text(string.format("Objects: %d", mgrStats.objectsRendered))
if im.IsItemHovered() then
im.SetTooltip("Total number of rope objects simulated and rendered")
perfStats.avgTotalSimTime, avgSimPercent))
if im.IsItemHovered() then
im.SetTooltip(string.format("Average time spent simulating all rope physics (%.3f ms current)",
perfStats.avgTotalRenderTime, avgRenderPercent))
if im.IsItemHovered() then
im.SetTooltip(string.format("Average time spent rendering all rope visuals (%.3f ms current)",
im.Text("Manager stats not available")
if im.IsItemHovered() then
im.SetTooltip("getRopeVisualManagerStats function not available")
im.Text("Per-Rope Performance")
if im.IsItemHovered() then
im.SetTooltip("Performance stats for each individual rope")
im.Text(string.format("Avg Sim per Object: %.3f ms", avgSimPerObject))
if im.IsItemHovered() then
im.SetTooltip(string.format("Average simulation time per rope object (%d ropes with stats)",
@/lua/ge/extensions/core/vehicleTriggers.lua
if im.IsItemHovered() and im.IsMouseClicked(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 1, vehId)
end
if im.IsItemHovered() and im.IsMouseReleased(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 0, vehId)
im.SmallButton('trigger##lnk_'..tostring(lnk.cid)..'_'..tostring(vehId))
if im.IsItemHovered() and im.IsMouseClicked(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 1, vehId)
end
if im.IsItemHovered() and im.IsMouseReleased(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 0, vehId)
im.SmallButton('trigger##u'..tostring(evt.cid)..'_'..tostring(vehId))
if im.IsItemHovered() and im.IsMouseClicked(0) and evt.onDown then
queueCmd(vehId, evt.onDown)
end
if im.IsItemHovered() and im.IsMouseReleased(0) and evt.onUp then
queueCmd(vehId, evt.onUp)
im.SmallButton('trigger##u'..tostring(lnk.cid)..'_'..tostring(vehId))
if im.IsItemHovered() and im.IsMouseClicked(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 1, vehId)
end
if im.IsItemHovered() and im.IsMouseReleased(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 0, vehId)
im.SmallButton('trigger##u'..tostring(lnk.cid)..'_'..tostring(vehId))
if im.IsItemHovered() and im.IsMouseClicked(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 1, vehId)
end
if im.IsItemHovered() and im.IsMouseReleased(0) then
local actionsExecuted = executeLink(vData.vdata, lnk, 0, vehId)
@/lua/ge/extensions/trackbuilder/trackBuilder.lua
local function textureTooltip(tex)
if im.IsItemHovered() then
if #tex.path > 0 then
end
if im.IsItemHovered() then im.tooltip(items[v].name) end
end
end
if im.IsItemHovered() then im.tooltip(paintModes[name].tooltip) end
im.SameLine()
-- end
-- if im.IsItemHovered() then im.tooltip(menuItems[v].name) end
-- end
-- end
-- if im.IsItemHovered() then im.tooltip(additionalMenuItems[v].name) end
-- end
@/lua/ge/extensions/util/vehicleRopeDebug.lua
im.ColorButton("##FixedAHeader", im.ImVec4(0.2, 0.4, 0.8, 1.0), im.ColorEditFlags_NoTooltip, im.ImVec2(20, 20))
if im.IsItemHovered() then im.SetTooltip("Fixed Anchor A - Blue spheres") end
else
im.ColorButton("##FreeAHeader", im.ImVec4(0.2, 0.8, 0.8, 1.0), im.ColorEditFlags_NoTooltip, im.ImVec2(20, 20))
if im.IsItemHovered() then im.SetTooltip("Free Anchor A - Cyan spheres") end
end
im.ColorButton("##FixedBHeader", im.ImVec4(0.8, 0.2, 0.2, 1.0), im.ColorEditFlags_NoTooltip, im.ImVec2(20, 20))
if im.IsItemHovered() then im.SetTooltip("Fixed Anchor B - Red spheres") end
else
im.ColorButton("##FreeBHeader", im.ImVec4(0.2, 0.8, 0.2, 1.0), im.ColorEditFlags_NoTooltip, im.ImVec2(20, 20))
if im.IsItemHovered() then im.SetTooltip("Free Anchor B - Green spheres") end
end
im.Text("Base Pos:")
if im.IsItemHovered() then im.SetTooltip("Base anchor position") end
im.TableSetColumnIndex(1)
im.Text("Calculated Position:")
if im.IsItemHovered() then im.SetTooltip("Calculated anchor position") end
im.TableSetColumnIndex(1)
im.Text("Base Dir:")
if im.IsItemHovered() then im.SetTooltip("Base direction vector") end
im.TableSetColumnIndex(1)
im.Text("Calculated Direction:")
if im.IsItemHovered() then im.SetTooltip("Calculated direction vector") end
im.TableSetColumnIndex(1)
end
if im.IsItemHovered() then im.SetTooltip("Fix/unfix anchor A") end
im.SameLine()
end
if im.IsItemHovered() then im.SetTooltip("Fix/unfix anchor B") end
end
if im.IsItemHovered() then
im.SetTooltip("Number of simulation nodes in the rope (higher = more detailed but slower)")
end
if im.IsItemHovered() then
im.SetTooltip("Scales the rest length between anchor points (affects rope tension)")
end
if im.IsItemHovered() then
im.SetTooltip("Thickness of the rope (visual only, doesn't affect physics)")
end
if im.IsItemHovered() then
im.SetTooltip("How much energy is lost per frame (higher = less bouncy, more stable)")
end
if im.IsItemHovered() then
im.SetTooltip("Total mass of the rope in kilograms")
end
if im.IsItemHovered() then
im.SetTooltip("Mass distribution along the rope (-1 = heavier at start, 1 = heavier at end)")
end
if im.IsItemHovered() then
im.SetTooltip("Solver iterations per update (1-10)")
im.Text("Gravity:")
if im.IsItemHovered() then
im.SetTooltip("Per-rope gravity override (XYZ components)")
end
if im.IsItemHovered() then
im.SetTooltip("Gravity X component")
end
if im.IsItemHovered() then
im.SetTooltip("Gravity Y component")
end
if im.IsItemHovered() then
im.SetTooltip("Gravity Z component")
end
if im.IsItemHovered() then
im.SetTooltip("Extended Position Based Dynamics - more stable but slower simulation")
end
if im.IsItemHovered() then
im.SetTooltip("Enable bending constraints in the rope simulation")
end
if im.IsItemHovered() then
im.SetTooltip("How resistant the rope is to bending (0 = flexible, 1 = rigid)")
end
if im.IsItemHovered() then
im.SetTooltip("Number of segments spanned by bending constraints")
end
if im.IsItemHovered() then
im.SetTooltip("Limit maximum strain to prevent rope breaking")
end
if im.IsItemHovered() then
im.SetTooltip("Maximum allowed strain before rope breaks (1.0 = 100% stretch)")
end
if im.IsItemHovered() then
im.SetTooltip("Material stiffness (higher = less stretchy, more like steel)")
end
if im.IsItemHovered() then
im.SetTooltip("Strength of wind force applied to the rope")
end
if im.IsItemHovered() then
im.SetTooltip("How much wind drag affects the rope movement")
end
if im.IsItemHovered() then
im.SetTooltip("Target simulation frames per second for rope physics")
end
if im.IsItemHovered() then
im.SetTooltip("Name of the material to use for rope rendering")
im.Text("Debug")
if im.IsItemHovered() then
im.SetTooltip("Debug visualization toggles")
end
if im.IsItemHovered() then
im.SetTooltip("Show basic debug visualization of the rope")
end
if im.IsItemHovered() then
im.SetTooltip("Show debug text information for rope nodes")
end
if im.IsItemHovered() then
im.SetTooltip("Show individual rope nodes as spheres")
end
if im.IsItemHovered() then
im.SetTooltip("Show direction vectors at rope nodes")
end
if im.IsItemHovered() then
im.SetTooltip("Visualize node mass values")
end
if im.IsItemHovered() then
im.SetTooltip("Toggle rope geometry rendering on/off")
end
if im.IsItemHovered() then
im.SetTooltip("Manually rebuild the rope physics simulation")
im.Text("Rope Info (ID: " .. selectedRope.id .. ")")
if im.IsItemHovered() then
im.SetTooltip("Real-time rope simulation statistics")
im.Text(string.format("Max Strain: %.4f", selectedRope.maxStrain))
if im.IsItemHovered() then
im.SetTooltip("Maximum strain (stretch) in any rope segment")
im.Text(string.format("Avg Strain: %.4f", selectedRope.avgStrain))
if im.IsItemHovered() then
im.SetTooltip("Average strain across all rope segments")
im.Text(string.format("Current Length: %.4f", selectedRope.currentLength))
if im.IsItemHovered() then
im.SetTooltip("Current total length of the rope")
im.Text(string.format("Segment (Rest) Length: %.4f", selectedRope.restLength))
if im.IsItemHovered() then
im.SetTooltip("Target length of the rope when at rest")
im.Text(string.format("Sim Time: %.3f ms", selectedRope.simTime))
if im.IsItemHovered() then
im.SetTooltip("Time taken for the last physics simulation step")
im.Text("Overall Performance Stats")
if im.IsItemHovered() then
im.SetTooltip("Advanced performance metrics and frame analysis")
im.Text(string.format("FPS: %.1f", perfStats.fps))
if im.IsItemHovered() then
im.SetTooltip("Current frames per second")
avgSimPercent, avgRenderPercent, avgSimPercent + avgRenderPercent))
if im.IsItemHovered() then
im.SetTooltip("Percentage of target frame time (16.67ms @ 60FPS) used by ropes")
im.Text(string.format("Objects: %d", mgrStats.objectsRendered))
if im.IsItemHovered() then
im.SetTooltip("Total number of rope objects simulated and rendered")
perfStats.avgTotalSimTime, avgSimPercent))
if im.IsItemHovered() then
im.SetTooltip(string.format("Average time spent simulating all rope physics (%.3f ms current)",
perfStats.avgTotalRenderTime, avgRenderPercent))
if im.IsItemHovered() then
im.SetTooltip(string.format("Average time spent rendering all rope visuals (%.3f ms current)",
im.Text("Manager stats not available")
if im.IsItemHovered() then
im.SetTooltip("getRopeVisualManagerStats function not available")
im.Text("Per-Rope Performance")
if im.IsItemHovered() then
im.SetTooltip("Performance stats for each individual rope")
im.Text(string.format("Avg Sim per Object: %.3f ms", avgSimPerObject))
if im.IsItemHovered() then
im.SetTooltip(string.format("Average simulation time per rope object (%d ropes with stats)",
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
im.TextUnformatted(text)
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
_editNode(nodeIdx, node)
local nodeColor = nodeColorDefault
if im.IsItemHovered() then
nodeColor = nodeColorHighlight
@/lua/ge/extensions/editor/visualization.lua
end
if im.IsItemHovered() then im.SetTooltip("Reset all preferences in this tab to their default values") end
-- Reset confirmation
im.PopID()
if im.IsItemHovered() then im.SetTooltip("Filter Types") end
-- Filter validator
@/lua/ge/extensions/editor/rallyEditor/recceTab.lua
im.TextDisabled("(?)")
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/crawlEditor/waypoints.lua
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/dynamicDecals/fonts.lua
im.tooltip("Double-click to select character as decal texture")
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
api.setDecalLayerFontPath(fontDirectory .. fontName .. '.ttf')
@/lua/ge/extensions/editor/undoHistory.lua
if imgui.Button("Delete All History") then editor.clearUndoHistory() end
if imgui.IsItemHovered() then
imgui.SetTooltip("This will leave changes as they are. Warning, this action cannot be undone.")
if imgui.Selectable1(tostring(k) .. ": " .. action.name, isSel) then selectedIndex = k end
if imgui.IsItemHovered() then
imgui.SetTooltip(getTooltipTextFromAction(action))
if imgui.Selectable1(tostring(k) .. ": " .. action.name, isSel) then selectedIndex2 = k end
if imgui.IsItemHovered() then
imgui.SetTooltip(getTooltipTextFromAction(action))
@/lua/ge/extensions/editor/dragRaceEditor/facilities.lua
if im.IsItemHovered() then
im.tooltip(string.format("Name: %s\nDescription: %s", facility.name or "N/A", facility.description or "N/A"))
@/lua/ge/extensions/editor/dragRaceEditor/dragSettings.lua
if im.IsItemHovered() then
im.tooltip(string.format("Name: %s\nType: %s", settingsFile.name, settingsFile.type))
if im.IsItemHovered() then
im.tooltip("Enable to use prefab for this component")
@/lua/ge/extensions/editor/roadRiverGui.lua
-- this is for the tooltip of the toolbar button
if im.IsItemHovered() then im.BeginTooltip() im.Text("Add " .. class .. "/Nodes") im.EndTooltip() end
im.SameLine()
@/lua/ge/extensions/editor/dragRaceEditor/waypoints.lua
if im.IsItemHovered() then
im.tooltip(string.format("Type: %s",
@/lua/ge/extensions/editor/barriersEditor.lua
im.tooltip(elem.dirInLevel)
displayPrefab(elem, im.IsItemHovered())
end
im.tooltip(elem.dirInLevel)
displayPrefab(elem, im.IsItemHovered())
end
@/lua/ge/extensions/editor/flowgraph/main.lua
im.SameLine()
local isClicked, isHovered = im.IsItemClicked(), im.IsItemHovered()
local itemSize = im.GetItemRectSize()
local itemSize = im.GetItemRectSize()
local clr = im.IsItemHovered() and orangeColor or whiteColor
im.ImDrawList_AddRect(im.GetWindowDrawList(), im.ImVec2(cursor.x + im.GetWindowPos().x - 2,
@/lua/ge/extensions/editor/flowgraph/events.lua
ui_flowgraph_editor.tooltip("Double Click to jump to " .. e.meta.node.name.."/"..e.meta.node.id)
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
self.mgr:selectGraph(e.meta.node.graph)
ui_flowgraph_editor.tooltip("Double Click to jump to " .. e.meta.graph.name.."/"..e.meta.graph.id)
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
self.mgr:unselectAll()
@/lua/ge/extensions/editor/missionEditor.lua
editor.uiIconImageButton(editor.icons[icon], infoSize, missionData._issueList.color)
if im.IsItemHovered() then
im.BeginTooltip()
if missionData._dirty then im.PopStyleColor() end
if im.IsItemHovered() then
hoveredMission = missionData
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
if im.IsItemHovered() then
hoveredMission = nil
@/lua/ge/extensions/editor/sitesEditor/tags.lua
end
if im.IsItemHovered() then
elem:drawDebug('highlight',{0,1,0,1})
end
if im.IsItemHovered() then
elem:drawDebug('highlight',{1,0,0,1})
@/lua/ge/extensions/editor/assetBrowser.lua
if contextMenu == true then
if im.IsItemHovered() and im.IsItemClicked(1) then
im.OpenPopup("Popup_Filter_" .. item.label)
end
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
var.currentListIndex = var.listIndexCounter
end
if im.IsItemHovered() == true then
var.assetHovered = true
im.EndChild()
if im.IsItemHovered() then
setScrollBarValue()
end
if im.IsItemHovered() == true and im.IsMouseDoubleClicked(0) == true then
var.currentListIndex = dir.listIndex
-- dragDropSource(file)
if im.IsItemHovered() then
if var.options.showThumbnailWhenHoveringAsset == true then
if im.IsItemHovered() then
setScrollBarValue()
if im.IsItemHovered() then
setScrollBarValue()
dragDropSource(file)
if im.IsItemHovered() then
var.assetHovered = true
if im.IsItemHovered() then
setScrollBarValue()
if im.IsItemHovered() then
setScrollBarValue()
im.Selectable1(type.label .. "##FileTypeDropdownItem", nil, im.SelectableFlags_DontClosePopups)
if im.IsItemHovered() then
if im.IsMouseDoubleClicked(0) then
end
if im.IsItemHovered() then
local tooltipText = isCheckerBoardEnabled and "Hide Checkerboard Pattern" or "Show Checkerboard Pattern"
end
if im.IsItemHovered() then
local tooltipText = isWhiteBgEnabled and "Black Background" or "White Background"
@/lua/ge/extensions/editor/flowgraph/search.lua
end
if im.IsItemHovered() then
-- display blue rectangle when node is hovered
@/lua/ge/extensions/editor/flowgraph/properties.lua
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
if ImGuiHoveredFlags_flags == nil then ImGuiHoveredFlags_flags = 0 end
return imgui.IsItemHovered(ImGuiHoveredFlags_flags)
end
@/lua/ge/extensions/editor/shapeEditor.lua
end
if im.IsItemHovered() then
matHover = v
im.EndChild()
shapePrev:setInputEnabled(not im.IsItemHovered())
end
@/lua/ge/extensions/editor/api/gui.lua
if onRelease then
if imgui.IsItemHovered() and imgui.IsMouseReleased(0) and not imgui.IsMouseDragging(0) then
return true
if onRelease then
if imgui.IsItemHovered() and imgui.IsMouseReleased(0) and not imgui.IsMouseDragging(0) then
return true
if not int_mouse_button then int_mouse_button = 0 end
return imgui.IsItemHovered() and imgui.IsMouseDoubleClicked(int_mouse_button)
end
if not int_mouse_button then int_mouse_button = 0 end
return imgui.IsItemHovered() and imgui.IsMouseClicked(int_mouse_button)
end
@/lua/ge/extensions/editor/dynamicDecals/helper.lua
local function imageTooltip(path, overrideTooltipWidth)
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/inspector.lua
end
if imgui.IsItemHovered() then imgui.SetTooltip("Unlock Inspector Window") end
elseif editor.uiIconImageButton(editor.icons.lock_open, imgui.ImVec2(24, 24)) and (not tableIsEmpty(editor.selection)) then
end
if imgui.IsItemHovered() then imgui.SetTooltip("New Inspector Window") end
if inspectorInfo.selection then
local uvButtonBGColor = imgui.GetStyleColorVec4(imgui.Col_Button)
if imgui.IsItemHovered() then
if imgui.IsMouseDown(0) then
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua
im.Selectable1("##part" .. tostring(k), true, bit.bor(im.SelectableFlags_SpanAllColumns, im.SelectableFlags_AllowItemOverlap))
if im.IsItemHovered() then
if im.IsItemClicked(0) then
--im.tooltip('Double click to select and copy part name to clipboard')
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
vEditor.selectedPart = partName
--im.tooltip('Double click to select and copy filename to clipboard')
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
vEditor.selectedPart = partName
@/lua/ge/extensions/editor/dynamicDecals/history.lua
if im.Button("Delete All History##DynamicDecalsTool") then history:clear() end
if im.IsItemHovered() then
im.SetTooltip("This will leave changes as they are. Warning, this action cannot be undone.")
if im.Selectable1(tostring(k) .. ": " .. action.name, isSel) then undoStackSelectedIndex = k end
if im.IsItemHovered() then
im.SetTooltip(getTooltipTextFromAction(action))
if im.Selectable1(tostring(k) .. ": " .. action.name, isSel) then redoStackSelectedIndex = k end
if im.IsItemHovered() then
im.SetTooltip(getTooltipTextFromAction(action))
@/lua/ge/extensions/editor/dragRaceEditor/strips.lua
if im.IsItemHovered() then
im.tooltip(string.format("Name: %s\nDescription: %s", strip.name or "N/A", strip.description or "N/A"))
@/lua/ge/extensions/flowgraph/nodes/ui/imgui/elemental/imButton.lua
if im.IsItemHovered() then
local down = im.IsMouseClicked(0)
@/lua/ge/extensions/core/vehicle/mirror.lua
im.TextUnformatted(dumps(k))
local hover = im.IsItemHovered()
local mod = im.SliderFloat("X##"..k, imguiSliderData[k][1],v.clampX[1],v.clampX[2], "%.1f")
local mod = im.SliderFloat("X##"..k, imguiSliderData[k][1],v.clampX[1],v.clampX[2], "%.1f")
hover = hover or im.IsItemHovered()
mod = im.SliderFloat("Z##"..k, imguiSliderData[k][2],v.clampZ[1],v.clampZ[2], "%.1f") or mod
mod = im.SliderFloat("Z##"..k, imguiSliderData[k][2],v.clampZ[1],v.clampZ[2], "%.1f") or mod
hover = hover or im.IsItemHovered()
if mod then
@/lua/ge/extensions/editor/dragRaceEditor/lanes.lua
if im.IsItemHovered() then
im.tooltip(string.format("ID: %s\nShort Name: %s\nLong Name: %s\nOrder: %d",
@/lua/ge/extensions/editor/missionEditor/additionalAttributes.lua
editor.uiIconImage(editor.icons.translate, imVec24x24 , (self._groupLabelTranslated or noTranslation) == noTranslation and imVec4Red or imVec4Green)
if im.IsItemHovered() then
im.tooltip(self._groupLabelTranslated)
@/lua/ge/extensions/editor/missionEditor/objectives.lua
editor.uiIconImage(editor.icons.translate, imVec24x24 , (self._translatedTexts[key] or noTranslation) == noTranslation and (usingDefault and yellowColor or imVec4Red) or imVec4Green)
if im.IsItemHovered() then
im.tooltip(self._translatedTexts[key])
@/lua/ge/extensions/editor/gen/exp_meshexplorer.lua
-- lo('?? me_GUI:'..tostring(W))
-- imgui.IsItemHovered()
-- imgui.GetContentRegionAvail()
end
if im.IsItemHovered() then
W.onVal('lod_over',k,true)
end
if im.IsItemHovered() then-- and k ~= env.ui['geo_on'] then
inhover = v.key
end
if im.IsItemHovered() then
inhover = d
-- im.PopStyleColor()
if im.IsItemHovered() then-- and k ~= env.ui['geo_on'] then
-- lo('?? hoV:')
im.Text(tostring(#v.list))
if im.IsItemHovered() then
inghover = k
im.Selectable1("##" .. 'n', false, im.SelectableFlags_SpanAllColumns)
if im.IsItemHovered() then
-- show beams
im.Selectable1("##" .. i, false, im.SelectableFlags_SpanAllColumns)
if im.IsItemHovered() then
-- highlight beam
im.Text(daedata.dgeo[v] and tostring(daedata.dgeo[v].name) or 'NONE')
if im.IsItemHovered() then
-- lo('?? hovered:'..v)
-- im.Text((toroman[i] or 0)..' / '..#b.list..' /')
if im.IsItemHovered() then
W.onVal('part_over', i, true)
end
if im.IsItemHovered() then
env.ui['on_piece'] = k
im.PopItemWidth()
if im.IsItemHovered() then
W.onVal('surf_over',{i,j},true)
end
if im.IsItemHovered() then
hovered = k
im.tooltip('To '..(env.ui['model_on'] and 'files' or 'models'))
if im.IsItemHovered() then
-- lo('?? bHUV:')
im.Text(v.name) --daedata.dgeo[k].name)
if im.IsItemHovered() then-- and k ~= env.ui['geo_on'] then
-- lo('?? hoV:')
-- UI.buttonTxt('geo_up', k, nil, color, cbg)
if im.IsItemHovered() then-- and k ~= env.ui['geo_on'] then
-- lo('?? hover:'..k)
--[[
if im.IsItemHovered() then --and not env.ui['geo_list_over'] then
env.ui['geo_list_over'] = true
@/lua/ge/extensions/gameplay/rally/tools/loopToolbox.lua
-- Add tooltip showing mission ID
if im.IsItemHovered() then
im.BeginTooltip()
-- Add tooltip showing mission ID and event details
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/flowgraph/variables.lua
editor.uiIconImageButton(editor.icons.cloud_download, im.ImVec2(24,24))
if im.IsItemHovered() and im.IsMouseReleased(0) and not self.dragPayload then
local bounds = ui_flowgraph_editor.GetVisibleCanvasBounds()
end
if im.IsItemHovered() and not self.dragPayload then
self.mgr:dragDropSource("variableNodeDragDropPayload", {read = true, varName = varName, path = "Get " .. varName, global = global, text = "Getter for " .. varName})
editor.uiIconImageButton(editor.icons.cloud_upload, im.ImVec2(24,24))
if im.IsItemHovered() and im.IsMouseReleased(0) and not self.dragPayload then
local bounds = ui_flowgraph_editor.GetVisibleCanvasBounds()
end
if im.IsItemHovered() and not self.dragPayload then
self.mgr:dragDropSource("variableNodeDragDropPayload", {read = false, varName = varName, path = "Set " .. varName, global = global, text = "Setter for ".. varName})
editor.uiIconImageButton(editor.icons.reorder, im.ImVec2(24,24), self.dragPayload and self.dragPayload.name == varName and self.dragPayload.target.id == target.id and highlightColor or nil)
if im.IsItemHovered() and im.IsItemClicked() then
self.dragPayload = {target = target, name = varName}
im.PopStyleVar()
if im.IsItemHovered() and im.IsMouseReleased(0) then
variable.expanded = not variable.expanded
@/lua/ge/extensions/editor/util/vehicleSelectUtil.lua
if im.IsItemHovered() then
isHovered = true
if im.IsItemHovered() then
isHovered = true
@/lua/ge/extensions/util/screenshotCreator.lua
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Stop") im.EndTooltip() end
else
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Run (".. getSelectedVehCount() .. ") selected models (See 'Selection'tab). If none are selected, player's vehicle model will run by default") im.EndTooltip() end
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Only update thumbnail of current config : '"..currConfigName .."' (Will not update the config itself!)") im.EndTooltip() end
im.Checkbox("Generate missing thumbnails only", ctrls.generateMissingThumbnailsOnly)
if im.IsItemHovered() then im.BeginTooltip() im.Text("Checks if the thumbnail file is missing. A blank/white thumbnail is not a missing thumbnail") im.EndTooltip() end
im.SameLine()
im.Checkbox("Reload UI when run is finished", ctrls.reloadUIOnJobFinished)
if im.IsItemHovered() then im.BeginTooltip() im.Text("If not, opening the vehicle menu after updating the thumbnails, won't show the new thumbnails") im.EndTooltip() end
if im.Button("Preview final thumbnail") then end
if im.IsItemHovered() then
local p, r = getFinalCameraPosAndRotForVehicle(getPlayerVehicle(0), currConfigName)
end
if im.IsItemHovered() then im.BeginTooltip() im.Text("Enable or disable vehicle's controls") im.EndTooltip() end
if im.Button("Set camera to procedural") then
end
if im.IsItemHovered() then
local thumb = imguiUtils.texObj(data.thumbnailPath)
@/lua/ge/extensions/flowgraph/nodes/macro/io.lua
im.Text("...")
if im.IsItemHovered() then
-- display blue rectangle when node is hovered
@/lua/ge/extensions/editor/dynamicDecals/layerStack.lua
im.tooltip("Hover to highlight decal.\nLMB to permanently highlight decal")
if im.IsItemHovered() then
layerHoverStateA[guiId] = layer
im.tooltip("Hover to highlight layer mask decal.\nLMB to permanently highlight layer mask decal")
if im.IsItemHovered() then
layerMaskHoverStateA[guiId] = maskLayer
@/lua/ge/extensions/flowgraph/pin.lua
end
self._hovered = im.IsItemHovered()
self._hoverPos = im.GetCursorPos()
@/lua/ge/extensions/editor/flowgraph/overview.lua
--[[
if im.IsItemHovered() then
if im.IsMouseDoubleClicked(0) then
@/lua/ge/extensions/flowgraph/nodes/scene/storeStatics.lua
end
local hoverStore = im.IsItemHovered()
if #sortedObjectIds == 0 then
editor.uiIconImage(editor.icons.check,im.ImVec2(20, 20))
if im.IsItemHovered() and editor_flowgraphEditor.allowTooltip then
im.tooltip("ID: " .. e.currentId)
end
if im.IsItemHovered() and editor_flowgraphEditor.allowTooltip then
im.tooltip("Show")
end
if im.IsItemHovered() and editor_flowgraphEditor.allowTooltip then
im.tooltip("Remove")
im.Text(filename)
if im.IsItemHovered() and editor_flowgraphEditor.allowTooltip then
im.tooltip(e.shapeName)
@/lua/ge/extensions/editor/materialEditor.lua
im.TextColored(selected and im.ImVec4(1, 1, 1, 1) or colHdr, key)
if im.IsItemHovered() then
if im.IsMouseClicked(1) then
im.TextColored(selected and im.ImVec4(1, 1, 1, 1) or colHdr, key)
if im.IsItemHovered() then
if im.IsMouseClicked(1) then
local function isMapHovered(tex, path, absPath)
if im.IsItemHovered() then
if #absPath > 0 then
end
if im.IsItemHovered() then
im.SetTooltip("Save modifications of selected Cubemap")
end
if im.IsItemHovered() then
im.SetTooltip("Create a new Cubemap under selected SceneTree group")
end
if im.IsItemHovered() then
im.SetTooltip("Delete selected Cubemap")
else
if im.IsItemHovered() then
im.BeginTooltip()
else
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
if maxWidth < (im.CalcTextSize(matName).x + 2 * v.style.WindowPadding.x) then
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/common/extensions/ui/imgui_custom_luaintf.lua
M.TextDisabled("(?)")
if M.IsItemHovered() then
M.BeginTooltip()
function M.tooltip(message)
if M.IsItemHovered() then
M.SetTooltip(message)
M.EndGroup()
if M.IsItemHovered() then
@/lua/ge/extensions/editor/flowgraph/welcome.lua
local btn = im.InvisibleButton("##"..id, size)
hoverState[id] = im.IsItemHovered()
im.SetCursorPos(cursorBefore)
@/lua/ge/extensions/editor/terrainEditor.lua
end
if im.IsItemHovered(im.HoveredFlags_AllowWhenBlockedByActiveItem) then
if im.IsMouseClicked(0) then
)
if im.IsItemHovered() and not var.sc_dragId then
im.tooltip(string.format("%.2f", var.softSelectFilter[i]))
end
if im.IsItemHovered() then im.tooltip(brushType.tooltip) end
if sameLine == true then im.SameLine() end
end
if im.IsItemHovered() then im.tooltip(brush.tooltip) end
if brush.disabled and brush.disabled == true then
@/lua/ge/extensions/editor/forestEditor.lua
end
if tool.type == var.enum_toolType.transformTool and im.IsItemHovered() and im.IsMouseClicked(1) then
transformToolSettingsOpen = not transformToolSettingsOpen
selectionStylePopupPos = im.ImVec2(im.GetWindowPos().x + im.GetCursorPosX(), im.GetWindowPos().y + im.GetCursorPosY() + 30)
elseif tool.mode == var.enum_brushMode.snap and im.IsItemHovered() and im.IsMouseClicked(1) then
snapOptionsOpen = not snapOptionsOpen
end
if im.IsItemHovered() == false and (im.IsMouseClicked(0) or im.IsMouseClicked(1)) then
var.editingObject = nil
end
if im.IsItemHovered() then
im.SetTooltip("Clear Search Filter")
end
if im.IsItemHovered() and string.len(dbName) >= tooltipLongTextLength then
im.SetTooltip(dbName)
@/lua/ge/extensions/editor/dynamicDecals/brushes.lua
im.PopID()
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
loadBrush(brush)
@/lua/ge/extensions/editor/raceEditor/timeTrials.lua
editor.uiIconImage(editor.icons.check, im.ImVec2(24, 24))
if im.IsItemHovered() then
hovered = true
@/lua/ge/extensions/editor/roadEditor.lua
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/dynamicDecals/textures.lua
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
api.setDecalTexturePath("color", filePath)
@/lua/ge/extensions/gameplay/missions/missionTypes/editorHelper.lua
editor.uiIconImage(editor.icons.translate, imVec24x24 , (e._translated or noTranslation) == noTranslation and imVec4Red or imVec4Green)
if im.IsItemHovered() then
im.tooltip(e._translated)
@/lua/ge/extensions/editor/rallyEditor/measurementsTab.lua
-- im.PopStyleColor(1)
-- if im.IsItemHovered() then
-- im.BeginTooltip()
-- end
-- if im.IsItemHovered() then
-- im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/missionEditor/genericTypeData.lua
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/flowgraph/examples.lua
end
if im.IsItemHovered() then
-- display blue rectangle when node is hovered
@/lua/ge/extensions/editor/biomeTool.lua
editor.uiInputText('##LayerMaskFile'..layerType..layerID, editor.getTempCharPtr(maskFile), nil, imgui.InputTextFlags_ReadOnly)
if imgui.IsItemHovered() and maskFile ~= "" then
imgui.SetTooltip(maskFile)
end
if imgui.IsItemActive() or imgui.IsItemHovered() then
imgui.SetMouseCursor(3)
end
if imgui.IsItemActive() or imgui.IsItemHovered() then
imgui.SetMouseCursor(3)
end
if imgui.IsItemActive() or imgui.IsItemHovered() then
imgui.SetMouseCursor(3)
end
if imgui.IsItemActive() or imgui.IsItemHovered() then
imgui.SetMouseCursor(3)
end
if imgui.IsItemActive() or imgui.IsItemHovered() then
imgui.SetMouseCursor(3)
end
if imgui.IsItemActive() or imgui.IsItemHovered() then
imgui.SetMouseCursor(3)
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
-- Handle mouse dragging
if im.IsItemHovered() then
local wheel = im.GetIO().MouseWheel
@/lua/ge/extensions/editor/sceneView.lua
view.mouseDragging0 = false
view.isHovered = im.IsItemHovered()
if view.isHovered then
@/lua/common/extensions/ui/imguiUtils.lua
end
if item.tooltip and imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.tooltip) imgui.EndTooltip() end
if horizontal then imgui.SameLine() end
end
if item.tooltip and imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.tooltip) imgui.EndTooltip() end
end
end
if item.tooltip and imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.tooltip) imgui.EndTooltip() end
end
end
if item.tooltip and imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.tooltip) imgui.EndTooltip() end
if horizontal then imgui.SameLine() end
end
if item.tooltip and imgui.IsItemHovered() then imgui.BeginTooltip() imgui.Text(item.tooltip) imgui.EndTooltip() end
if horizontal then imgui.SameLine() end
end
if highlightCallback and imgui.IsItemHovered() then
highlightCallback(newPath, k, val)
if imgui.IsItemHovered() then
imgui.BeginTooltip()
@/lua/ge/extensions/editor/resourceChecker.lua
if im.TreeNode1(" Material: "..l) then
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
if j ~= "Stages" then im.Text(j..": "..tostring(c)) end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
im.Text(m..": "..tostring(x))
if im.IsItemHovered() and type(x) == "string" then
texHovered(x)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
im.TreePop()
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
im.TreePop()
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_"..l..count)
im.TextColored(im.ImVec4(0.5, 0.9, 1, 1), k..": ")
if im.IsItemHovered() then
drawRectBg(tostring(k), im.ImVec4(0.2, 0.24, 0.31, 0.78), 1)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_" .. i..count)
end
if im.IsItemHovered() and im.IsMouseClicked(0) then
if not im.IsKeyDown(im.GetKeyIndex(im.Key_ModShift)) then
end
elseif im.IsItemHovered() then
drawRectBg(tostring(i), im.ImVec4(0.2, 0.24, 0.31, 0.78), 1)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
im.OpenPopup("Popup_" .. d..count)
end
if im.IsItemHovered() and im.IsMouseClicked(0) then
if not im.IsKeyDown(im.GetKeyIndex(im.Key_ModShift)) then
end
elseif im.IsItemHovered() then
drawRectBg(tostring(d), im.ImVec4(0.2, 0.24, 0.31, 0.78), 1)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
if path then
end
if im.IsItemHovered() and im.IsMouseClicked(0) then
if not im.IsKeyDown(im.GetKeyIndex(im.Key_ModShift)) then
end
elseif im.IsItemHovered() then
drawRectBg(tostring(o), im.ImVec4(0.2, 0.24, 0.31, 0.78), 1)
end
if im.IsItemHovered() and im.IsMouseClicked(1) then
if testName == "matVersion" or testName == "unusedMat" or testName == "usedMat" then
end
if im.IsItemHovered() and im.IsMouseClicked(0) then
if not im.IsKeyDown(im.GetKeyIndex(im.Key_ModShift)) then
end
elseif im.IsItemHovered() then
drawRectBg(tostring(v), im.ImVec4(0.2, 0.24, 0.31, 0.78), 1)
end
if im.IsItemHovered() then
im.BeginTooltip()
im.PopStyleColor()
if im.IsItemHovered() then
im.BeginTooltip()
interacted = interacted + 1
if im.IsItemHovered() then hovered = r end
if im.IsItemClicked(0) then assetTreemapState.selectedPath = path end
if im.IsItemClicked(0) then assetTreemapState.selectedPath = path end
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then explorePath(path) end
end
if im.IsItemClicked(0) then assetTreemapState.selectedPath = n.path end
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then explorePath(n.path) end
im.NextColumn()
end
if im.IsItemHovered() then
im.BeginTooltip()
im.InvisibleButton("##seg_" .. k .. "_" .. i, im.ImVec2(w, barH))
local hovered = im.IsItemHovered()
im.SetCursorScreenPos(oldPos)
im.PopStyleColor(1)
if im.IsItemHovered() then
im.BeginTooltip()
im.InvisibleButton("##asset_splitter", im.ImVec2(splitterWidth, splitterThickness))
local hovered = im.IsItemHovered()
local active = im.IsItemActive()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
end
if im.IsItemHovered() then
im.BeginTooltip()
@/lua/ge/extensions/editor/util/editorElementHelper.lua
editor.uiIconImage(editor.icons.translate, imVec24x24 , (e._translated or noTranslation) == noTranslation and imVec4Red or imVec4Green)
if im.IsItemHovered() then
im.tooltip(e._translated)
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/path.lua
im.Button(string.format("Show data points##%s", layer.uid))
if im.IsItemHovered() then
local layerDataCopy = {
im.tooltip("Move data point")
if im.IsItemHovered() then
local layerDataCopy = {