BeginListBox
Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:776
function M.BeginListBox(string_label, ImVec2_size)
if ImVec2_size == nil then ImVec2_size = M.ImVec2(0,0) end
if string_label == nil then log("E", "", "Parameter 'string_label' of function 'BeginListBox' cannot be nil, as the c type is 'const char *'") ; return end
return imgui.BeginListBox(string_label, ImVec2_size)
end
Callers
@/lua/ge/extensions/editor/mapSensorEditor.lua
local numSensors = #sensors
if im.BeginListBox("", im.ImVec2(222, 180), im.WindowFlags_ChildWindow) then
for i = 1, numSensors do
@/lua/ge/extensions/editor/decalSpline.lua
im.PushItemWidth(-1)
if im.BeginListBox('', im.ImVec2(-1, 180)) then
im.Columns(4, "splineListBoxColumns", true)
@/lua/ge/extensions/editor/scriptAIEditor.lua
im.SameLine()
if im.BeginListBox("", im.ImVec2(103, 31), im.WindowFlags_ChildWindow) then
if twd.isExecuting == false then
im.Separator()
if im.BeginListBox("", im.ImVec2(480, 180), im.WindowFlags_ChildWindow) then
local ctr = 1
im.Separator()
if im.BeginListBox("", im.ImVec2(170, 180), im.WindowFlags_ChildWindow) then
for k, tr in pairs(trajectories) do
-- The nodes list.
if im.BeginListBox("", im.ImVec2(330, 200), im.WindowFlags_ChildWindow) then
im.Columns(6, "indTrajListCols", false)
im.Separator()
if im.BeginListBox("", im.ImVec2(820, 110), im.WindowFlags_ChildWindow) then
im.Columns(6, "camWinColumns", false)
im.Separator()
if im.BeginListBox("", im.ImVec2(215, 250), im.WindowFlags_ChildWindow) then
local numdrawNodes = #dwd.drawNodes
@/lua/ge/extensions/editor/roadSpline.lua
im.PushItemWidth(-1)
if im.BeginListBox('###1363', im.ImVec2(-1, 180)) then
im.Columns(3, "roadSplineListBoxColumns", true)
im.PushItemWidth(-1)
if im.BeginListBox('###5363', im.ImVec2(-1, 150)) then
im.Columns(3, "layerListBoxColumns", true)
@/lua/ge/extensions/editor/meshSpline.lua
im.PushItemWidth(-1)
if im.BeginListBox('', im.ImVec2(-1, 180)) then
im.Columns(4, "splineListBoxColumns", true)
@/lua/ge/extensions/editor/audioRibbonEditor.lua
-- Ribbons List Box.
if im.BeginListBox('', im.ImVec2(-1, 180)) then
im.Columns(4, "ribbonListBoxColumns", false)
@/lua/ge/extensions/editor/masterSpline.lua
im.PushItemWidth(-1)
if im.BeginListBox('###1363', im.ImVec2(-1, 180)) then
im.Columns(4, "splineListBoxColumns", true)
im.PushItemWidth(-1)
if im.BeginListBox('###5363', im.ImVec2(-1, 180)) then
im.Columns(4, "layerListBoxColumns", true)
@/lua/ge/extensions/editor/drivePathEditor.lua
im.PushItemWidth(-1)
if im.BeginListBox('drivePathSplineListBox', im.ImVec2(-1, 180)) then
im.Columns(5, "drivePathSplineListBoxColumns", true)
im.PushItemWidth(-1)
if im.BeginListBox('vehicleListBox', im.ImVec2(-1, 180)) then
im.Columns(5, "vehicleListBoxColumns", true)
@/lua/ge/extensions/editor/gen/exp_solidflex.lua
im.PushStyleColor2(im.Col_FrameBg, im.ImVec4(0.2, 0.2, 0.2, 0.4))
if im.BeginListBox(id, im.ImVec2(-1,im.GetWindowHeight() - 118)) then
im.Indent(8)
@/lua/ge/extensions/editor/sidewalkSpline.lua
im.PushItemWidth(-1)
if im.BeginListBox('', im.ImVec2(-1, 180)) then
im.Columns(4, "splineListBoxColumns", true)
@/lua/ge/extensions/editor/toolUtilities/meshAuditionMgr.lua
im.BeginChild1("meshListScrollArea", im.ImVec2(-1, -1))
if im.BeginListBox('##meshListBox', im.ImVec2(-1, -1)) then
im.Columns(1, "meshSelectListboxColumns")
@/lua/ge/extensions/editor/roadArchitect.lua
im.PushItemWidth(-1)
if im.BeginListBox('', im.ImVec2(-1, 200)) then
im.PushItemWidth(-1)
if im.BeginListBox('###103', im.ImVec2(-1, 200)) then
im.PushItemWidth(-1)
if im.BeginListBox('', im.ImVec2(-1, 200)) then
im.PushItemWidth(-1)
if im.BeginListBox('') then
im.PushItemWidth(-1)
if im.BeginListBox('') then
im.PushItemWidth(-1)
if im.BeginListBox('') then
local wCtr = 7172
if im.BeginListBox('###87') then
im.Columns(5, "roadsListBoxColumnsLeft", true)
im.PushItemWidth(-1)
if im.BeginListBox('###172') then
im.Columns(5, "roadsListBoxColumnsRight", true)
if im.BeginListBox('###7777', im.ImVec2(-1, 300)) then
if im.CollapsingHeader1("Left Lanes:", im.TreeNodeFlags_DefaultOpen) then
if im.BeginListBox('###107') then
if im.CollapsingHeader1("Right Lanes:", im.TreeNodeFlags_DefaultOpen) then
if im.BeginListBox('###108') then
im.PushItemWidth(-1)
if im.BeginListBox('##123', im.ImVec2(300, 500)) then
im.Columns(1, "meshSelectListboxColumns")
im.PushItemWidth(-1)
if im.BeginListBox('##123', im.ImVec2(-1, 300)) then
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
if string_label == nil then log("E", "", "Parameter 'string_label' of function 'BeginListBox' cannot be nil, as the c type is 'const char *'") ; return end
return imgui.BeginListBox(string_label, ImVec2_size)
end
@/lua/ge/extensions/editor/gen/exp_meshexplorer.lua
--------------------------
im.BeginListBox(id, im.ImVec2(-1,tablineHeight*(#daedata.alod+1)))
UI.table('tLOD152',daedata.alod,function(k,v)
id = id + 1
if im.BeginListBox(id, im.ImVec2(-1,lineH*#geonode.astep)) then
-- im.Text('GEO_PATH')
id = id + 1
if im.BeginListBox(id, im.ImVec2(-1,avail.y-30*4-6)) then
UI.table('tGRP_17',beamdata.agroup,function(k,v)
id = id + 1
if im.BeginListBox(id, im.ImVec2(-1,-1)) then
-- im.Text('TODO: inputs')
-------------------------
im.BeginListBox(id, im.ImVec2(-1,-1))
if env.ui['geo_up'] and daedata.dgeo[env.ui['geo_up']] then
id = id + 1
if im.BeginListBox(id, im.ImVec2(-1,-1)) then
for j,af in pairs(list) do
-- im.Text('Shape type')
if im.BeginListBox(id, im.ImVec2(-1,avail.y-40)) then
if not env.ui['model_on'] then
end
-- if im.BeginListBox(id, im.ImVec2(-1,#fsnode.afile*(lineH-3))) then
-- im.Text('Shape type_PRE:'..#fsnode.afile)
id = id + 1
if im.BeginListBox(id, im.ImVec2(-1,#fsnode.astep*(lineH+0))) then
im.Columns(3, "folderPath", false)
avail = im.GetContentRegionAvail()
if im.BeginListBox(id, im.ImVec2(-1,avail.y-40)) then
-- if im.BeginListBox(id, im.ImVec2(-1,avail.y-38)) then
if im.BeginListBox(id, im.ImVec2(-1,avail.y-40)) then
-- if im.BeginListBox(id, im.ImVec2(-1,avail.y-38)) then
im.Columns(2, "folderList", true)
--[[
if im.BeginListBox(id, im.ImVec2(-1,-1)) then
for j,af in pairs(list) do
--[[
if im.BeginListBox(id, im.ImVec2(-1,-1)) then
inhover = false
@/lua/ge/extensions/editor/gen/ui.lua
if im.BeginListBox('', im.ImVec2(-1, 160)) then --, im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
-- if im.BeginListBox('', im.ImVec2(-1, 200)) then --, im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
if im.BeginListBox('', im.ImVec2(-1, 160)) then --, im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
-- if im.BeginListBox('', im.ImVec2(-1, 200)) then --, im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
-- if im.BeginListBox('', im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
-- if im.BeginListBox('', im.ImVec2(-1, 200)) then --, im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
-- if im.BeginListBox('', im.ImVec2(333, 180), im.WindowFlags_ChildWindow) then
-- im.Columns(6, "jctListBoxColumns", true)
if editor.beginWindow('Materials', 'Materials') then
im.BeginListBox('', im.ImVec2(233, 180), im.WindowFlags_ChildWindow)
im.EndListBox()
@/lua/ge/extensions/editor/cosimulationSignalEditor.lua
local listHeight = toolWinSize.y - 30
if im.BeginListBox("", im.ImVec2(listWidth, listHeight), im.WindowFlags_ChildWindow) then
local numVehicles = #vehicles
-- Signals listbox.
if im.BeginListBox("", im.ImVec2(665, 370), im.WindowFlags_ChildWindow) then
local numSignals = #signals
@/lua/ge/extensions/editor/sensorConfigurationEditor.lua
im.Separator()
if im.BeginListBox("", im.ImVec2(287, 180), im.WindowFlags_ChildWindow) then
local numVehicles = #vehicles
local numSensors = #sensors
if im.BeginListBox("", im.ImVec2(222, 180), im.WindowFlags_ChildWindow) then
for i = 1, numSensors do
@/lua/ge/extensions/editor/gen/lib/ui.lua
-- im.TableNextColumn()
-- if im.BeginListBox(111, im.ImVec2(-1,-1)) then
-- im.EndListBox()
M.listBox = function(row, dim, lineH)
if im.BeginListBox('##123', im.ImVec2(-1, -1)) then
im.Columns(2, "folderList", true)
@/lua/ge/extensions/editor/assemblySpline.lua
im.PushItemWidth(-1)
if im.BeginListBox('', im.ImVec2(-1, 180)) then
im.Columns(4, "splineListBoxColumns", true)