Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:337
function M.InvisibleButton(string_str_id, ImVec2_size, ImGuiButtonFlags_flags)
if ImGuiButtonFlags_flags == nil then ImGuiButtonFlags_flags = 0 end
if string_str_id == nil then log("E", "", "Parameter 'string_str_id' of function 'InvisibleButton' cannot be nil, as the c type is 'const char *'") ; return end
return imgui.InvisibleButton(string_str_id, ImVec2_size, ImGuiButtonFlags_flags)
end
Callers
@/lua/ge/extensions/editor/dynamicDecals/brushes.lua
-- adding an invisible button so the imgui cursor is at the right location
im.InvisibleButton("GradientButton", im.ImVec2(size, size))
im.SameLine()
@/lua/ge/extensions/editor/biomeTool.lua
local separatorPos = imgui.GetCursorPos()
imgui.InvisibleButton("SeparatorButtonLBToolbar", imgui.ImVec2(imgui.GetContentRegionAvail().x, seperatorHeight))
if imgui.IsItemActive() then
local separatorPos = imgui.GetCursorPos()
imgui.InvisibleButton("SeparatorButtonLBLevels", imgui.ImVec2(imgui.GetContentRegionAvail().x, seperatorHeight))
if imgui.IsItemActive() then
local separatorPos = imgui.GetCursorPos()
imgui.InvisibleButton("SeparatorButtonLBLevelsProps", imgui.ImVec2(imgui.GetContentRegionAvail().x, seperatorHeight))
if imgui.IsItemActive() then
local separatorPos = imgui.GetCursorPos()
imgui.InvisibleButton("SeparatorButtonLBToolbar", imgui.ImVec2(imgui.GetContentRegionAvail().x, seperatorHeight))
if imgui.IsItemActive() then
local separatorPos = imgui.GetCursorPos()
imgui.InvisibleButton("SeparatorButtonALLevels", imgui.ImVec2(imgui.GetContentRegionAvail().x, seperatorHeight))
if imgui.IsItemActive() then
local separatorPos = imgui.GetCursorPos()
imgui.InvisibleButton("SeparatorButtonALLevelsProps", imgui.ImVec2(imgui.GetContentRegionAvail().x, seperatorHeight))
if imgui.IsItemActive() then
@/lua/ge/extensions/editor/dynamicDecals/inspector/utils.lua
-- adding an invisible button so the imgui cursor is at the right location
im.InvisibleButton("GradientButton", im.ImVec2(size, size))
im.SameLine()
@/lua/ge/extensions/editor/dynamicDecals/widgets.lua
-- adding an invisible button so the imgui cursor is at the right location
im.InvisibleButton("GradientButton", im.ImVec2(size, size))
im.SameLine()
@/lua/ge/extensions/editor/inspector.lua
imgui.InvisibleButton("openUVEditorButton", imgui.ImVec2(buttonSize * imgui.uiscale[0], buttonSize * imgui.uiscale[0]))
local uvButtonBGColor = imgui.GetStyleColorVec4(imgui.Col_Button)
@/lua/ge/extensions/editor/util/plotHelperUtil.lua
im.SetCursorPos(ptOnGraphWS)
im.InvisibleButton('##pointTooltipButton'..r.."/"..i, btnSize)
local name = format.name or ("Series " .. r)
@/lua/ge/extensions/editor/gen/ui.lua
--[[
if im.InvisibleButton(lbl, im.ImVec2(30, 30)) then
env.onVal(key, lbl)
-- if im.ColorButton('ib'..i, im.ImVec4(0.6, 0.0, 0.0, 1)) then
if im.InvisibleButton('ib'..i, im.ImVec2(width + 5, 20)) then
-- lo('?? cclick'..i..':'..t)
-- placeholder
im.InvisibleButton('ib_TYPES', im.ImVec2(34, 34))
end
local width = im.CalcTextSize(t).x
if im.InvisibleButton('ib'..i, im.ImVec2(width + 5, 20)) then
scope = string.lower(t)
@/lua/ge/extensions/editor/resourceChecker.lua
im.SetCursorScreenPos(im.ImVec2(r.x, r.y))
im.InvisibleButton("##tm_rect_flat_nomerge_"..i, im.ImVec2(r.w, r.h))
interacted = interacted + 1
im.SetCursorScreenPos(min)
im.InvisibleButton("##seg_" .. k .. "_" .. i, im.ImVec2(w, barH))
local hovered = im.IsItemHovered()
im.SetCursorScreenPos(spPos)
im.InvisibleButton("##asset_splitter", im.ImVec2(splitterWidth, splitterThickness))
local hovered = im.IsItemHovered()
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
if string_str_id == nil then log("E", "", "Parameter 'string_str_id' of function 'InvisibleButton' cannot be nil, as the c type is 'const char *'") ; return end
return imgui.InvisibleButton(string_str_id, ImVec2_size, ImGuiButtonFlags_flags)
end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
im.SetCursorPos(prePos)
if im.InvisibleButton("invBtnResult_" .. i, im.GetItemRectSize()) or self.createNodeButtonListIndex == self.buttonListIndex then
if result.type == 'node' then
if im.InvisibleButton((read and "Get " or "Set ") .. "invBtn_" .. var.name, itemSize) or self.createNodeButtonListIndex == self.buttonListIndex+1 then
self.createNodeButtonListIndex = nil
itemSize.x = itemSize.x + im.GetFontSize() + padding.x * 3
if im.InvisibleButton("invBtn_" .. macroName, itemSize) then
self.mgr:createNewMacroNode(macro.path)
if im.InvisibleButton(btnText .. "invBtn_" .. "new_state", itemSize) or self.createNodeButtonListIndex == self.buttonListIndex+1 then
self.createNodeButtonListIndex = nil
if im.InvisibleButton(btnText .. "invBtn_" .. "new_GroupState", itemSize) or self.createNodeButtonListIndex == self.buttonListIndex+1 then
self.createNodeButtonListIndex = nil
self.buttonListIndex = self.buttonListIndex + 1
if im.InvisibleButton("invBtn_" .. stateName, itemSize) then
self:createStateButton(menuPos, state)
if im.InvisibleButton("invBtn_" .. nodeName, itemSize) or self.createNodeButtonListIndex == self.buttonListIndex+1 then
self:createNodeFromButon(menuPos, node)
@/lua/ge/extensions/editor/flowgraph/welcome.lua
im.SetCursorPos(pBegin)
local btn = im.InvisibleButton("##"..id, size)
hoverState[id] = im.IsItemHovered()