GE Lua Documentation

Press F to search!

GetColorU321

Definition


-- @/=[C]:-1
function GetColorU321(...)

Callers

@/lua/ge/extensions/editor/shortcutLegend.lua

        im.ImDrawList_AddRectFilled(im.GetWindowDrawList(), topLeft, bottomRight, im.GetColorU321(im.Col_FrameBg), 2, nil, 2)
@/lua/ge/extensions/flowgraph/nodes/macro/io.lua
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderHovered), 1, 1)
]]
@/lua/ge/extensions/editor/materialEditor.lua
  local p2 = im.ImVec2(wpos.x + cpos.x + im.GetContentRegionAvailWidth() + 2 * v.style.WindowPadding.x, wpos.y + cpos.y + v.inputWidgetHeight * 1.5)
  im.ImDrawList_AddRectFilled(im.GetWindowDrawList(), p1, p2, im.GetColorU321(im.Col_MenuBarBg))
  im.PushStyleVar2(im.StyleVar_WindowPadding, im.ImVec2(6, 2))
@/lua/common/extensions/ui/imgui_custom_luaintf.lua
                        cursor.y + M.GetWindowPos().y + itemSize.y + 2 - M.GetScrollY()),
                        M.GetColorU321(M.IsAnyMouseDown() and M.Col_HeaderActive or M.Col_HeaderHovered), 1, 1)
                        cursor.y + M.GetWindowPos().y + itemSize.y + 2 - M.GetScrollY()),
                        M.GetColorU321(M.Col_Header), 1, 1)
    end
@/lua/ge/extensions/editor/preferences.lua
        ),
        imgui.GetColorU321(imgui.Col_TitleBgActive)
      )
@/lua/ge/extensions/editor/forestEditor.lua
        ),
        im.GetColorU321(im.Col_TitleBgActive)
      )
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.GetFontTexUvWhitePixel() return imgui.GetFontTexUvWhitePixel() end
function M.GetColorU321(ImGuiCol_idx, float_alpha_mul)
  if float_alpha_mul == nil then float_alpha_mul = 1 end
  if float_alpha_mul == nil then float_alpha_mul = 1 end
  return imgui.GetColorU321(ImGuiCol_idx, float_alpha_mul)
end
@/lua/ge/extensions/editor/flowgraph/examples.lua
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderActive), 1, 1)
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderHovered), 1, 1)
  end
@/lua/ge/extensions/editor/gen/lib/ui.lua
	local bottomRight = im.ImVec2(topLeft.x + 100, topLeft.y + 20)
	local color = im.GetColorU321(im.Col_WindowBg)
	im.ImDrawList_AddRectFilled(im.GetWindowDrawList(), topLeft, bottomRight, color)
    local topLeft = im.GetWindowPos()
--    local cbg = im.GetColorU321(im.Col_FrameBg)
    local cbg = im.GetColorU322(im.ImVec4(0.3, 0.3, 0.3, 0.8)) --im.GetColorU321(im.ImVec4(0.3, 0.3, 0.3, 1)) -- im.Col_FrameBg)
--    local cbg = im.GetColorU321(im.Col_FrameBg)
    local cbg = im.GetColorU322(im.ImVec4(0.3, 0.3, 0.3, 0.8)) --im.GetColorU321(im.ImVec4(0.3, 0.3, 0.3, 1)) -- im.Col_FrameBg)
	for i,row in pairs(htree) do
--                        local color = im.GetColorU322(im.ImVec4(1.0, 0.0, 0.0, 1.0))
					local color = im.GetColorU321(im.Col_FrameBg)
					local bottomRight = im.ImVec2(topLeft.x + sz.x + 2*padding, topLeft.y + 20)
@/lua/ge/extensions/editor/flowgraph/main.lua
                                        cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                                        im.GetColorU321(im.Col_HeaderHovered), 1, 1)
                end
@/lua/ge/extensions/editor/gen/ui.lua
local im = ui_imgui
--lo('== UI:'..tostring(im.IoFontsGetCount())) --..':'..tostring(im.GetColorU321(im.Col_WindowBg))..':'..tostring(im.Col_WindowBg))
	local bottomRight = im.ImVec2(topLeft.x + 100, topLeft.y + 20)
	local color = im.GetColorU321(im.Col_WindowBg)
	im.ImDrawList_AddRectFilled(im.GetWindowDrawList(), topLeft, bottomRight, color)
--                        local color = im.GetColorU322(im.ImVec4(1.0, 0.0, 0.0, 1.0))
						local color = im.GetColorU321(im.Col_FrameBg)
						local bottomRight = im.ImVec2(topLeft.x + sz.x + 2*padding, topLeft.y + 20)
--                        local color = im.GetColorU322(im.ImVec4(1.0, 0.0, 0.0, 1.0))
					local color = im.GetColorU321(im.Col_FrameBg)
					local bottomRight = im.ImVec2(topLeft.x + sz.x + 2*padding, topLeft.y + 20)
@/lua/ge/extensions/editor/api/gui.lua
    (vec2_offset and imgui.ImVec2(winPos.x + cursor.x + vec2_offset.x, winPos.y + cursor.y + imgui.uiscale[0] * (float_height or imgui.GetFontSize()) + vec2_offset.y) or imgui.ImVec2(winPos.x + cursor.x, winPos.y + cursor.y + imgui.uiscale[0] * (float_height or imgui.GetFontSize()))),
    imgui.GetColorU321(imgui.Col_Separator),
    width or 1
@/lua/ge/extensions/editor/flowgraph/search.lua
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderActive), 1, 1)
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderHovered), 1, 1)
  end
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderActive), 1, 1)
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderHovered), 1, 1)
  end
                          cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                          im.GetColorU321(im.Col_HeaderHovered), 1, 1)
    self.fgEditor.nodePreviewPopup:setMacro(macro)
                            cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                            im.GetColorU321(im.Col_HeaderActive), 1, 1)
                              cursor.y + im.GetWindowPos().y + itemSize.y + 2 - im.GetScrollY()),
                              im.GetColorU321(im.Col_HeaderHovered), 1, 1)
        if hoverFun then hoverFun() end