UIElement.SetHide (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 method is declared by ControlBase.

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


Usage

void UIElement:SetHide(int disablePolicies)


Parameters

disablePolicies: No description available.


Source code samples

Too many occurences. Only 50 out of 4034 are listed.

Advisors.lua

UI/InGame/WorldView/Advisors.lua
0108
advisor:SetHide(false);


CityBannerManager.lua

UI/InGame/CityBannerManager.lua
0074
svStrikeButton.CityRangeStrikeAnim:SetHide(true);
0194
controls.ResistanceIcon:SetHide(true);
0219
controls.OccupiedIcon:SetHide(true);
0644
controlTable.Anchor:SetHide( true );
0943
instance.SubControls.Anchor:SetHide( false );


CityStateDiploPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/CityStateDiploPopup.lua
0842
Controls.LargeGiftAnim:SetHide(false);


CityStateGreetingPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/CityStateGreetingPopup.lua
0084
Controls.QuestLabel:SetHide(true);


CityView.lua

UI/InGame/CityView/CityView.lua
0056
Controls.ProductionHelp:SetHide(true);
1156
Controls.SpecialistControlBox:SetHide( true );
1340
Controls.UnrazeCityButton:SetHide(false);


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
2819
Controls.GoldChangeFrame:SetHide( false );
3276
Controls.PolicyBranchFrame:SetHide( false );
6118
Controls.CostFrame:SetHide( true );
6134
Controls.FreePromotionsFrame:SetHide( true );


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0429
Controls.DiploList:SetHide( true );


DiploList.lua

UI/InGame/DiploList.lua
0336
controlTable.DiploState:SetHide( true );
0388
Controls.MajorButton:SetHide( false );


EconomicGeneralInfo.lua

UI/InGame/Popups/EconomicGeneralInfo.lua
0409
Controls.BuildingsStack:SetHide( not bWasHidden );


EspionageOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/EspionageOverview.lua
0455
Controls.AgentActivityProgressBack:SetHide(bHideActivityInfo);
1239
entry.ViewCityIcon:SetHide(true);
1619
imageControl:SetHide(true);


GPList.lua

UI/InGame/GPList.lua
0270
Controls.EngineerStack:SetHide( not bWasHidden );


HappinessInfo.lua (G&K)

DLC/Expansion/UI/InGame/Popups/HappinessInfo.lua
0067
Controls.LocalCityStack:SetHide( not bWasHidden );


InGame.lua

UI/InGame/InGame.lua
0074
Controls.NetworkDebug:SetHide( not Controls.NetworkDebug:IsHidden() );
0079
Controls.DebugMenu:SetHide( bHideDebug );
0299
Controls.WorldView:SetHide( true );


MilitaryOverview.lua

UI/InGame/Popups/MilitaryOverview.lua
0270
Controls.CivilianSeperator:SetHide( true );


NotificationPanel.lua

UI/InGame/WorldView/NotificationPanel.lua
0277
button:SetHide( false );


ProductionPopup.lua

UI/InGame/Popups/ProductionPopup.lua
0314
Controls.UnitButton:SetHide( true );


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0618
Controls.BeliefsScrollPanel:SetHide(false);


SaveMenu.lua

UI/InGame/Menus/SaveMenu.lua
0621
Controls.SaveMapButton:SetHide( true );


SocialPolicyPopup.lua

UI/InGame/Popups/SocialPolicyPopup.lua
0225
Controls.AnarchyBlock:SetHide( not player:IsAnarchy() );
0380
thisLockedBox:SetHide(false);


StagingRoom.lua

UI/FrontEnd/Multiplayer/StagingRoom.lua
0283
m_SlotInstances[i].Root:SetHide( true );
0445
slotInstance.CivPulldown:SetHide( bCantChange );
0860
Controls.ChatBox:SetHide( false );


TechAwardPopup.lua

UI/InGame/Popups/TechAwardPopup.lua
0070
Controls.TechIcon:SetHide( true );


TechPopup.lua

UI/InGame/TechPopup.lua
0160
thisTechButtonInstance.CurrentlyResearching:SetHide( false );


TextPopup.lua

UI/InGame/Popups/TextPopup.lua
0026
Controls.TopImage:SetHide( false );


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
0576
Controls.ModifyButton:SetHide( false );
0609
Controls.WhatDoYouWantButton:SetHide(true);
1487
Controls.UsPocketOpenBorders:SetHide(false);
1492
Controls.ThemPocketDefensivePact:SetHide(false);
1526
Controls.UsTableLuxuryStack:SetHide( true );
1854
Controls.ThemTableDeclareWarStack:SetHide( false );


UnitPanel.lua

UI/InGame/WorldView/UnitPanel.lua
0653
Controls.HealthBar:SetHide(true);
0663
Controls.RedBar:SetHide(false);


UnitPanel.lua (G&K)

DLC/Expansion/UI/InGame/WorldView/UnitPanel.lua
0316
Controls.SecondaryStack:SetHide(true);


VictoryProgress.lua (G&K)

DLC/Expansion/Scenarios/MedievalScenario/VictoryProgress.lua
0707
controlTable.UNIcon:SetHide(iTeam ~= iVaticanExtraVoteTeam);



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.