Definition
-- @/=[C]:-1
function CloseCurrentPopup(...)
Callers
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
self.mgr:pasteNodes()
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
self:createVariableButton(var,menuPos, read, fromMgr)
im.CloseCurrentPopup()
end
self.mgr:createNewMacroNode(macro.path)
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
im.CloseCurrentPopup()
end
n:alignToGrid()
im.CloseCurrentPopup()
if self.newNodeLinkPin then
@/lua/ge/extensions/editor/rallyEditor/pacenotes/structuredForm.lua
pacenote:deleteAudioFiles()
im.CloseCurrentPopup()
end
if im.Button("Cancel", im.ImVec2(120,0)) then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
resetSignals()
im.CloseCurrentPopup()
end
if im.Button("NO", im.ImVec2(inputWidth, 20 * im.uiscale[0])) then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/dynamicDecals/textures.lua
decal.checkColorDecalTexturesSdfCompatible()
im.CloseCurrentPopup()
end
api.setDecalTexturePath("alpha", contextMenuTexturePath)
im.CloseCurrentPopup()
end
@/lua/common/extensions/ui/imguiUtils.lua
if item.func then item.func() end
imgui.CloseCurrentPopup()
end
if item.func then item.func() end
imgui.CloseCurrentPopup()
end
if item.func then item.func(item.args) end
imgui.CloseCurrentPopup()
end
if item.func then item.func() end
imgui.CloseCurrentPopup()
end
if item.func then item.func() end
imgui.CloseCurrentPopup()
end
if item.func then item.func() end
imgui.CloseCurrentPopup()
end
if item.func then item.func() end
imgui.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veView.lua
view.mode = '3d'
im.CloseCurrentPopup()
saveSettings()
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
saveSettings()
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
saveSettings()
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
saveSettings()
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
saveSettings()
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
saveSettings()
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
saveSettings()
addSceneView()
im.CloseCurrentPopup()
end
sceneViews[id] = false
im.CloseCurrentPopup()
saveSettings()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
end
function M.CloseCurrentPopup() imgui.CloseCurrentPopup() end
function M.BeginPopupContextItem(string_str_id, ImGuiPopupFlags_popup_flags)
end
function M.CloseCurrentPopup() imgui.CloseCurrentPopup() end
function M.BeginPopupContextItem(string_str_id, ImGuiPopupFlags_popup_flags)
@/lua/ge/extensions/editor/assetBrowser.lua
entry.fn(dir)
im.CloseCurrentPopup()
end
entry.fn(dir)
im.CloseCurrentPopup()
end
entry.fn(asset)
im.CloseCurrentPopup()
end
entry.fn(asset)
im.CloseCurrentPopup()
end
entry.fn(material)
im.CloseCurrentPopup()
end
entry.fn(material)
im.CloseCurrentPopup()
end
entry.fn(set)
im.CloseCurrentPopup()
end
entry.fn(set)
im.CloseCurrentPopup()
end
removeSavedFilter(index)
im.CloseCurrentPopup()
end
clearVars()
im.CloseCurrentPopup()
end
clearVars()
im.CloseCurrentPopup()
end
selectDirectory(dir, nil, nil, true)
im.CloseCurrentPopup()
end
local close = saveSearchFilter(ffi.string(var.saveFilterNameInput), filterInput)
if close == true then im.CloseCurrentPopup() end
end
filterAssets()
im.CloseCurrentPopup()
end
filterAssets()
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/scriptAIManager.lua
saveRecording(bo, vehId, filename)
im.CloseCurrentPopup()
end
im.SameLine()
if im.Button('Cancel') then im.CloseCurrentPopup() end
loadRecording(bo, vehId, filename)
im.CloseCurrentPopup()
end
if im.Button('Cancel') then im.CloseCurrentPopup() end
@/lua/ge/extensions/editor/rallyEditor.lua
currentPath:generateAllFreeform()
im.CloseCurrentPopup()
end
if im.Button("Cancel", im.ImVec2(120,0)) then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/rallyEditor/pacenotes.lua
self:deleteAllPacenotes()
im.CloseCurrentPopup()
end
if im.Button("Cancel", im.ImVec2(120,0)) then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/flowgraph/main.lua
pin.accessName = nil
im.CloseCurrentPopup()
end
pin.accessName = ffi.string(self.quickAccessTextfield)
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/forestEditor.lua
im.CloseCurrentPopup()
end
if im.Selectable1(dbName, isSelected) then
im.CloseCurrentPopup()
fieldValue = dbName
@/lua/ge/extensions/editor/dynamicDecals/vehicleColorPalette.lua
editor.setPreference("dynamicDecalsTool.vehicleColorPalette.palettes", palettes)
im.CloseCurrentPopup()
end
if im.Button(string.format("Cancel##VehicleColorPalette_Save_CancelButton_%s", guiId)) then
im.CloseCurrentPopup()
end
if im.Button(string.format("Close##VehicleColorPalette_Load_CloseButton_%s", guiId)) then
im.CloseCurrentPopup()
end
vehicleObj.colorPalette1 = Point4F(palette.values[3][1], palette.values[3][2], palette.values[3][3], vehicleObj.colorPalette1.w)
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/flowgraph/variables.lua
else
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/dynamicDecals/brushes.lua
selectBrush(brushContextModal_brushId, brushesData[brushContextModal_brushId])
im.CloseCurrentPopup()
end
loadBrush(brushesData[brushContextModal_brushId])
im.CloseCurrentPopup()
end
deleteBrush(brushContextModal_brushId)
im.CloseCurrentPopup()
end
dump(brushesData[brushContextModal_brushId])
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/dynamicDecals/layerStack.lua
editor.logInfo(string.format("%s: %s", logTag, "Copied layer mask"))
im.CloseCurrentPopup()
end
editor.logInfo(string.format("%s: %s", logTag, layer.mask and "Replaced Layer Mask" or "Pasted Layer Mask"))
im.CloseCurrentPopup()
end
editor.logInfo(string.format("%s: %s", logTag, "Appended Layer Mask"))
im.CloseCurrentPopup()
end
-- api.exportLayerMask(layer, string.format("%sexport/masks/", tool.directoryPath), "niceexport", "png")
im.CloseCurrentPopup()
editor_fileDialog.saveFile(
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
api.clearLayerStack()
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/cosimulationSignalEditor.lua
-- end
-- im.CloseCurrentPopup()
-- break
@/lua/ge/extensions/editor/missionEditor.lua
M.forceOpenTree = true
im.CloseCurrentPopup()
end
saveGroupFilter()
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/fileDialog.lua
ffi.copy(textinputNewFolder, "")
im.CloseCurrentPopup()
end
refreshCache(currentPath)
im.CloseCurrentPopup()
end
editor.hideWindow("Error##FileDialog_ErrorPopup")
im.CloseCurrentPopup()
end
saveColumnsVisibility()
im.CloseCurrentPopup()
else
saveColumnsVisibility()
im.CloseCurrentPopup()
end
if im.Button("YES") then
im.CloseCurrentPopup()
execCB(cbdata)
if im.Button("NO") then
im.CloseCurrentPopup()
cbdata = nil
@/lua/ge/extensions/editor/createObjectTool.lua
simObjectSearch:updateFrecencyEntry(result.name)
imgui.CloseCurrentPopup()
currentCustomClassName = result.name
@/lua/ge/extensions/editor/preferences.lua
imgui.Separator()
if imgui.Button("Yes", imgui.ImVec2(120,0)) then imgui.CloseCurrentPopup() editor.preferencesRegistry:resetToDefaults(catName) end
imgui.SameLine()
imgui.SameLine()
if imgui.Button("No", imgui.ImVec2(120,0)) then imgui.CloseCurrentPopup() end
imgui.EndPopup()
imgui.Separator()
if imgui.Button("Yes", imgui.ImVec2(120,0)) then imgui.CloseCurrentPopup() editor.preferencesRegistry:resetToDefaults() end
imgui.SameLine()
imgui.SameLine()
if imgui.Button("No", imgui.ImVec2(120,0)) then imgui.CloseCurrentPopup() end
imgui.EndPopup()
@/lua/ge/extensions/flowgraph/basenode.lua
editor_flowgraphEditor.addHistory("Reverted instance back to subgraph")
im.CloseCurrentPopup()
end
editor_flowgraphEditor.addHistory("Created subgraph " .. ffi.string(self.graphName))
im.CloseCurrentPopup()
self.graphName = im.ArrayChar(256,"New Subgraph")
--e.meta.node.graph.focusDelay = 1
im.CloseCurrentPopup()
self._commentInput = nil
@/lua/ge/extensions/editor/autoSave.lua
if imgui.Button("Close") then
imgui.CloseCurrentPopup()
end
-- FS:directoryRemove("/settings/editor/autosaves/" .. editor.getLevelName())
-- imgui.CloseCurrentPopup()
-- end
if imgui.Button("Load AutoSave") then
imgui.CloseCurrentPopup()
restoreLevelFromAutosave(selectedAutosaveIndex)
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
end
if closeWindow then imgui.CloseCurrentPopup() end
imgui.EndPopup()
@/lua/ge/extensions/editor/util/transformUtil.lua
self:helperPositionToCamera()
im.CloseCurrentPopup()
change = true
self:helperPositionInFrontOfToCamera()
im.CloseCurrentPopup()
change = true
self:helperPositionDownToTerrain()
im.CloseCurrentPopup()
change = true
self:helperRotationToCamera()
im.CloseCurrentPopup()
change = true
self:helperCameraToPosition()
im.CloseCurrentPopup()
change = true
im.CloseCurrentPopup()
self:helperCameraToPositionRotation()
im.CloseCurrentPopup()
@/lua/ge/extensions/editor/materialEditor.lua
end
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
im.SetClipboardText(tostring(res))
im.CloseCurrentPopup()
end
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
editor.removeMaterialFromJson(oldMaterialName, materialFilename)
im.CloseCurrentPopup()
end
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
getMaterials()
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
@/lua/common/extensions/ui/flowgraph/editor.lua
if im.IsItemClicked() then
im.CloseCurrentPopup()
self.model = result.info.modelKey
@/lua/ge/extensions/editor/mainToolbar.lua
modesManagerOpen[0] = true
im.CloseCurrentPopup()
end
modesManagerOpen[0] = false
im.CloseCurrentPopup()
saveModesToSet()
@/lua/ge/extensions/core/ropeVisualTest.lua
saveParametersToFile(filePath)
im.CloseCurrentPopup()
end
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
loadParametersFromFile(filePath)
im.CloseCurrentPopup()
end
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/assetDeduplicator.lua
im.Text("Warning: This action is not reversible, double check selected file list before proceeding further.")
if im.Button("Abort") then im.CloseCurrentPopup() end
im.SameLine()
generateLinksJob = extensions.core_jobsystem.create(generateLinks, 1, jobData)
im.CloseCurrentPopup()
end
im.Separator()
if im.Button("Close") then im.CloseCurrentPopup() end
im.EndPopup()
generateLinksJob = nil
im.CloseCurrentPopup()
end
im.Separator()
if im.Button("Close") then im.CloseCurrentPopup() generateLinksJob = nil end
im.EndPopup()
@/lua/ge/extensions/editor/inspector.lua
end
imgui.CloseCurrentPopup()
end
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/trafficManager.lua
confirmData.yesFunc()
im.CloseCurrentPopup()
end
confirmData.noFunc()
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/camPathEditor.lua
end
im.CloseCurrentPopup()
end
if im.Button('Cancel', im.ImVec2(80 * im.uiscale[0], 0)) then
im.CloseCurrentPopup()
end
replayToBeLoaded = nil
im.CloseCurrentPopup()
end
replayToBeLoaded = nil
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/rallyEditor/pacenotes/pacenoteForm.lua
pacenoteToolsWindow:deleteSelectedPacenote()
im.CloseCurrentPopup()
end
if im.Button("Cancel", im.ImVec2(120, 0)) then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/api/valueInspector.lua
if imgui.Selectable1(dbName, isSelected) then
imgui.CloseCurrentPopup()
fieldValue = dbName
@/lua/ge/extensions/editor/biomeTool.lua
if imgui.Button("OK") then
imgui.CloseCurrentPopup()
end
var.forestBrushTool:quitBiomeProcess()
imgui.CloseCurrentPopup()
end
if errCode == 0 then
imgui.CloseCurrentPopup()
end
var.forestBrushTool:quitBiomeProcess()
imgui.CloseCurrentPopup()
end
if errCode == 0 then
imgui.CloseCurrentPopup()
end
if imgui.Button("Ok") then
imgui.CloseCurrentPopup()
end
if imgui.Button("Ok") then
imgui.CloseCurrentPopup()
end
if imgui.Button("OK") then
imgui.CloseCurrentPopup()
syncSelectedBrushListFunc(enum_forestBrushItemZone.central)
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
if imgui.IsKeyDown(imgui.GetKeyIndex(imgui.Key_Escape)) then
imgui.CloseCurrentPopup()
end
syncSelectedBrushListFunc(enum_forestBrushItemZone.central)
imgui.CloseCurrentPopup()
end
if imgui.Button("OK") then
imgui.CloseCurrentPopup()
syncSelectedBrushListFunc(enum_forestBrushItemZone.falloff)
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
if imgui.IsKeyDown(imgui.GetKeyIndex(imgui.Key_Escape)) then
imgui.CloseCurrentPopup()
end
syncSelectedBrushListFunc(enum_forestBrushItemZone.falloff)
imgui.CloseCurrentPopup()
end
if imgui.Button("Ok") then
imgui.CloseCurrentPopup()
end
if imgui.Button("OK") then
imgui.CloseCurrentPopup()
syncSelectedBrushListFunc(enum_forestBrushItemZone.edge)
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
if imgui.IsKeyDown(imgui.GetKeyIndex(imgui.Key_Escape)) then
imgui.CloseCurrentPopup()
end
syncSelectedBrushListFunc(enum_forestBrushItemZone.edge)
imgui.CloseCurrentPopup()
end
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
deleteLassoArea(layer.layerID, area.lassoAreaID, area.zoneType)
imgui.CloseCurrentPopup()
end
if imgui.Button("Cancel") then
imgui.CloseCurrentPopup()
end
deleteLayer(layer.layerType, layer.layerID)
imgui.CloseCurrentPopup()
end
var.forestBrushTool:quitBiomeProcess()
imgui.CloseCurrentPopup()
end
if errCode == 0 then
imgui.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/sceneView.lua
view.mode = '3d'
im.CloseCurrentPopup()
end
view.mode = 'currentSelectedCamera'
im.CloseCurrentPopup()
end
view.mode = 'cameraPath'
im.CloseCurrentPopup()
end
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
end
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
end
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
end
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
end
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
end
view.dragOffset = vec3(0,0,0)
im.CloseCurrentPopup()
end
im.Separator()
if im.MenuItem1('Add New View') then createNewViewNextFrame = true ; im.CloseCurrentPopup() end
if im.MenuItem1('Delete This View') then sceneViews[sceneViewName] = nil ; im.CloseCurrentPopup() end
if im.MenuItem1('Add New View') then createNewViewNextFrame = true ; im.CloseCurrentPopup() end
if im.MenuItem1('Delete This View') then sceneViews[sceneViewName] = nil ; im.CloseCurrentPopup() end
im.EndPopup()
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
sdfModalHasBeenClosed = true
-- im.CloseCurrentPopup()
end
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
brushes.saveBrush(newBrushName)
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/mapSensorEditor.lua
if im.Button("Close popup") then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/flowgraphEditor.lua
dirtyChildren = nil
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/util/searchUtil.lua
ret = result.id
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/sensorConfigurationEditor.lua
if im.Button("Close popup") then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/gameplay/rally/tools/devTools.lua
end
im.CloseCurrentPopup()
end
if im.Button("Cancel", im.ImVec2(120,0)) then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/api/gui.lua
hideWindow(windowName)
imgui.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/visualization.lua
if im.Button("Yes", im.ImVec2(120,0)) then
im.CloseCurrentPopup()
local item = editor.preferencesRegistry:findItem(itemPath)
im.SameLine()
if im.Button("No", im.ImVec2(120,0)) then im.CloseCurrentPopup() end
im.EndPopup()
@/lua/ge/extensions/editor/flowgraph/properties.lua
reason = "Set custom icon for " .. item.name .." to " .. v
im.CloseCurrentPopup() end)
im.EndChild()
self._editMultilineText.saveCallback(self._editMultilineText.savePath, ffi.string(self._editMultilineText.buf))
im.CloseCurrentPopup()
self._editMultilineText = nil
@/lua/ge/extensions/editor/resourceChecker.lua
copiedData = res[3]
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
duplicateTable[res[1]].modified = true
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
end
im.CloseCurrentPopup()
end
editor.showWindow(duplicateResolverWindowName)
im.CloseCurrentPopup()
end
if FS:fileExists(path) then Engine.Platform.exploreFolder(path) else log('E', '', 'Path :'..path..' does not exist' ) end
im.CloseCurrentPopup()
end
if FS:fileExists(res) then im.SetClipboardText(res) else log('E', '', 'Path :'..tostring(res)..' does not exist' ) end
im.CloseCurrentPopup()
end
if FS:fileExists(res) then dump(FS:stat(res)) else log('E', '', 'Path :'..tostring(res)..' does not exist' ) end
im.CloseCurrentPopup()
end
if getProgress() == 100 or getProgress() == nil then
im.CloseCurrentPopup()
end
resExplorer = resourceUtil.removeUnused(level, unusType, selected)
im.CloseCurrentPopup()
end
if im.Button("Cancel") then
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veStaticRenderView.lua
_enterViewMode(wndID, VIEW_MODE_3D)
im.CloseCurrentPopup()
saveSettings()
_enterViewMode(wndID, VIEW_MODE_LEFT)
im.CloseCurrentPopup()
saveSettings()
_enterViewMode(wndID, VIEW_MODE_RIGHT)
im.CloseCurrentPopup()
saveSettings()
_enterViewMode(wndID, VIEW_MODE_FRONT)
im.CloseCurrentPopup()
saveSettings()
_enterViewMode(wndID, VIEW_MODE_BACK)
im.CloseCurrentPopup()
saveSettings()
_enterViewMode(wndID, VIEW_MODE_TOP)
im.CloseCurrentPopup()
saveSettings()
_enterViewMode(wndID, VIEW_MODE_BOTTOM)
im.CloseCurrentPopup()
saveSettings()
createRenderViewUI()
im.CloseCurrentPopup()
end
removeRenderViewUI(wndID)
im.CloseCurrentPopup()
end
@/lua/ge/extensions/editor/rallyEditor/notebookInfo.lua
if im.Button("Cancel", im.ImVec2(120,0)) then
im.CloseCurrentPopup()
end