-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathimgui_tables.lua
More file actions
42 lines (34 loc) · 1011 Bytes
/
Copy pathimgui_tables.lua
File metadata and controls
42 lines (34 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- ImGui Sincerely WIP
-- (Tables and Columns Code)
--- @type ImGuiContext?
local GImGui
-- Sets local `GImGui` in this file(imgui_tables.lua).
-- This is currently only used in main code `ImGui.SetCurrentContext()`
--- @param ctx ImGuiContext?
function ImGui._SetCurrentContext_Tables(ctx)
GImGui = ctx
end
--- @param str_id string
--- @param columns_count int
--- @param flags? ImGuiTableFlags
--- @param outer_size? ImVec2
--- @param inner_width? float
function ImGui.BeginTable(str_id, columns_count, flags, outer_size, inner_width)
if flags == nil then flags = 0 end
if outer_size == nil then outer_size = ImVec2(0.0, 0.0) end
if inner_width == nil then inner_width = 0.0 end
-- TODO:
return true
end
function ImGui.EndTable()
-- TODO:
end
function ImGui.TableNextColumn()
-- TODO:
end
function ImGui.TablePushBackgroundChannel()
-- TODO:
end
function ImGui.TablePopBackgroundChannel()
-- TODO:
end