Back to TPG

TPG.UI.Panel

C🏷️ Palette

Part of TPG namespace

TPG.UI.Panel(x, y, w, h, accent)
View on GitHub|gamemode/config/sh_palette.lua:270-274
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Draw the standard HUD panel: dark violet fill with a thin brand-purple top rule. What visually ties every HUD box back to the logo's frame.

Parameters

NameTypeDescription
xnumber
ynumber
wnumber
hnumber
accent?ColorTop-rule colour; defaults to `C.Purple`.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.