vgui libraryclient
Summary
Functions
Registers a VGUI panel class, replacing the engine's
vgui.Register.Functions
vgui.Register(className, panelTable, baseName)
client gamemodes/catwork/gamemode/core/libraries/cl_theme.lua:42Registers a VGUI panel class, replacing the engine's vgui.Register.
Also saves wrappers of the panel's methods (merged with its base class) to
cw.theme.backupFactory, or to the theme being built when the class is
re-registered inside a theme file, so theme changes can be reverted when the
theme is unloaded.
Parameters
- className String Name of the panel class
- panelTable Map The panel's methods
- baseName String optional, defaults to
nilName of the base class
Returns
- Map The registered panel table, as returned by the engine function