MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / NewControl

Method NewControl

vgui2_support/vgui_controls/BuildGroup.cpp:1169–1197  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Create a new control in the context panel Input: name: class name of control to create controlKeys: keyvalues of settings for the panel. name OR controlKeys should be set, not both. x,y position relative to base panel Output: Panel *newPanel, NULL if failed to create new control. --------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

OnNewControlMethod · 0.80

Calls 15

SetBuildGroupMethod · 0.80
AddActionSignalTargetMethod · 0.80
SetBuildModeEditableMethod · 0.80
SetBuildModeDeletableMethod · 0.80
SetAutoDeleteMethod · 0.80
deleteThisMethod · 0.80
CreateControlByNameMethod · 0.45
SetParentMethod · 0.45
SetPosMethod · 0.45
SetNameMethod · 0.45
GetStringMethod · 0.45
RequestInfoMethod · 0.45

Tested by

no test coverage detected