GE Lua Documentation

Press F to search!

PushFont

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:187
function M.PushFont(ImFont_font)
  if ImFont_font == nil then log("E", "", "Parameter 'ImFont_font' of function 'PushFont' cannot be nil, as the c type is 'ImFont *'") ; return end
  imgui.PushFont(ImFont_font)
end

Callers

@/lua/common/extensions/ui/imguiUtils.lua
    --imgui.PushItemWidth(120) -- TODO: de-hardcode
    --imgui.PushFont(M._monospaceFontReference)
    local formatString = "%0." .. tostring(self.precision) .. "f"
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if ImFont_font == nil then log("E", "", "Parameter 'ImFont_font' of function 'PushFont' cannot be nil, as the c type is 'ImFont *'") ; return end
  imgui.PushFont(ImFont_font)
end