Home › Engine Lua tables › ForgeUI control types › ScrollPanelControl

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

ScrollPanelControl

ForgeUI control type (ForgeUI::ScrollPanelControl). 21 methods, called on an instance with a colon: Controls.SomeName:Method(...).

C++ base classes (from the exe RTTI, see engine classes): ForgeUI::ControlBase. Whether the Lua type also exposes the base class methods was not checked; the methods below are those registered on this type itself.

Method C++ signature printed by the exe Lua signature Owner basis
CalculateInternalSize void CalculateInternalSize( void ) ScrollPanelControl:CalculateInternalSize() unique method name
CalculateSize void CalculateSize( void ) ScrollPanelControl:CalculateSize() neighbouring methods in the code
CalculateSize void CalculateSize( void ) ScrollPanelControl:CalculateSize() neighbouring methods in the code
ClearDownEndCallback void ClearDownEndCallback( void ) ScrollPanelControl:ClearDownEndCallback() unique method name
ClearScrollCallback void ClearScrollCallback( void ) ScrollPanelControl:ClearScrollCallback() unique method name
ClearUpEndCallback void ClearUpEndCallback( void ) ScrollPanelControl:ClearUpEndCallback() unique method name
DisableTouchScrolling void DisableTouchScrolling( void ) ScrollPanelControl:DisableTouchScrolling() unique method name
EnableTouchScrolling void EnableTouchScrolling( void ) ScrollPanelControl:EnableTouchScrolling() unique method name
GetAbsoluteScrollValue float GetAbsoluteScrollValue( void ) ScrollPanelControl:GetAbsoluteScrollValue() -> number unique method name
GetDownButton ButtonControl* GetDownButton( void ) ScrollPanelControl:GetDownButton() -> ButtonControl unique method name
GetRatio float GetRatio( void ) ScrollPanelControl:GetRatio() -> number unique method name
GetScrollBar SliderControl* GetScrollBar( void ) ScrollPanelControl:GetScrollBar() -> SliderControl unique method name
GetScrollValue float GetScrollValue( void ) ScrollPanelControl:GetScrollValue() -> number unique method name
GetUpButton ButtonControl* GetUpButton( void ) ScrollPanelControl:GetUpButton() -> ButtonControl unique method name
HideScrollBar void HideScrollBar( bool ) ScrollPanelControl:HideScrollBar(arg1: boolean) unique method name
IsAbsoluteScrollEnabled bool IsAbsoluteScrollEnabled( void ) ScrollPanelControl:IsAbsoluteScrollEnabled() -> boolean unique method name
RegisterDownEndCallback void RegisterDownEndCallback( function ) ScrollPanelControl:RegisterDownEndCallback(arg1: function) unique method name
RegisterScrollCallback void RegisterScrollCallback( function ) ScrollPanelControl:RegisterScrollCallback(arg1: function) unique method name
RegisterUpEndCallback void RegisterUpEndCallback( function ) ScrollPanelControl:RegisterUpEndCallback(arg1: function) unique method name
SetAbsoluteScrollValue void SetAbsoluteScrollValue( float ) ScrollPanelControl:SetAbsoluteScrollValue(arg1: number) unique method name
SetScrollValue void SetScrollValue( float ) ScrollPanelControl:SetScrollValue(arg1: number) unique method name