UIElement.CalculateInternals (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of ControlBase.

This is an instance method, invoke it with a colon.


Usage

void UIElement:CalculateInternals()



Source code samples

Redundant occurences have been removed.

AdvancedSetup.lua

UI/FrontEnd/GameSetup/AdvancedSetup.lua
0148
gameOption.OptionDropDown:CalculateInternals();
0435
pullDown:CalculateInternals();


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
6385
Controls.PartialMatchPullDown:CalculateInternals();


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0071
Controls.MultiPull:CalculateInternals();
0361
Controls.ChatPull:CalculateInternals();


InfoCorner.lua

UI/InGame/InfoCorner.lua
0121
Controls.LeftPull:CalculateInternals();


LoadMenu.lua

UI/FrontEnd/LoadMenu.lua
0748
sortByPulldown:CalculateInternals();


MPGameOptions.lua

UI/FrontEnd/Multiplayer/GameSetup/MPGameOptions.lua
0423
Controls.GameSpeedPullDown:CalculateInternals();
0454
Controls.MapSizePullDown:CalculateInternals();
0718
Controls.EraPull:CalculateInternals();


OptionsMenu.lua

UI/Options/OptionsMenu.lua
1158
pulldown:CalculateInternals();
1188
Controls.LeaderPull:CalculateInternals();
1206
Controls.MSAAPull:CalculateInternals();
1295
Controls.WResolutionPull:CalculateInternals();
1328
Controls.FSResolutionPull:CalculateInternals();


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0467
automaticPurchasePullDown:CalculateInternals();


ReplayViewer.lua

UI/InGame/Popups/ReplayViewer.lua
1211
replayInfoPulldown:CalculateInternals();
1234
graphDataSetPulldown:CalculateInternals();


UITestMenu.lua

UI/FrontEnd/UITestMenu.lua
0126
Controls.PullDown:CalculateInternals();


UnitFlagManager.lua

UI/InGame/UnitFlagManager.lua
1081
cityFlagInstance.PullDown:CalculateInternals();



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.