UIElement.IsHidden (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

int UIElement:IsHidden()


Returned Value

No description available.


Source code samples

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

AdvisorCounselPopup.lua

UI/InGame/Popups/AdvisorCounselPopup.lua
0199
if( ContextPtr:IsHidden() == false ) then


Advisors.lua

UI/InGame/WorldView/Advisors.lua
0048
return (not Controls.AdvisorDisplayFront:IsHidden());


ChooseFaithGreatPerson.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseFaithGreatPerson.lua
0156
ContextPtr:IsHidden() == true ) then
0184
if (not ContextPtr:IsHidden()) then


ChoosePantheonPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChoosePantheonPopup.lua
0065
if(Controls.ChooseConfirm:IsHidden())then


ChooseReligionPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseReligionPopup.lua
0250
if(not Controls.BeliefPanel:IsHidden() and g_BeliefToggleContext == contextName or contextName == nil) then


CityStateDiploPopup.lua

UI/InGame/Popups/CityStateDiploPopup.lua
0042
if (ContextPtr:IsHidden()) then
0816
if(Controls.WarConfirm:IsHidden())then


CityStateDiploPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/CityStateDiploPopup.lua
0061
if (Controls.WarConfirm:IsHidden() and Controls.BullyConfirm:IsHidden()) then


CityView.lua

UI/InGame/CityView/CityView.lua
0078
if (not Controls.SellBuildingConfirm:IsHidden()) then
0101
if(Controls.SellBuildingConfirm:IsHidden())then


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
6413
if(not Controls.SearchFoundNothing:IsHidden()) then


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0016
local m_bChatOpen = not Controls.ChatPanel:IsHidden();
0259
Controls.DiploList:SetHide( not Controls.DiploList:IsHidden() );
0421
local bIsHidden = Controls.DiploList:IsHidden() == true;
0432
if ( bWantHidden ~= Controls.DiploList:IsHidden()) then


DiploCorner.lua (G&K)

DLC/Expansion/UI/InGame/WorldView/DiploCorner.lua
0416
if(ContextPtr:IsHidden() == false) then


DiploList.lua

UI/InGame/DiploList.lua
0051
if( Controls.WarConfirm:IsHidden() == false ) then
0595
if( Controls.MajorStack:IsHidden() ) then


DiscussionDialog.lua (G&K)

DLC/Expansion/UI/InGame/LeaderHead/DiscussionDialog.lua
0599
if(Controls.DenounceConfirm:IsHidden() and Controls.WarConfirm:IsHidden()) then
0610
elseif (not Controls.WarConfirm:IsHidden()) then


EconomicGeneralInfo.lua

UI/InGame/Popups/EconomicGeneralInfo.lua
0376
local bWasHidden = Controls.CityStack:IsHidden();
0392
local bWasHidden = Controls.TradeStack:IsHidden();


GameMenu.lua

UI/InGame/Menus/GameMenu.lua
0123
Controls.MainContainer:SetHide(Controls.ModsPanel:IsHidden());
0473
if(Controls.ExitConfirm:IsHidden())then


GenericPopup.lua

UI/InGame/Popups/GenericPopup.lua
0139
if uiMsg == KeyEvents.KeyDown and not ContextPtr:IsHidden() then


GPList.lua

UI/InGame/GPList.lua
0269
local bWasHidden = Controls.EngineerStack:IsHidden();
0286
local bWasHidden = Controls.MerchantStack:IsHidden();
0303
local bWasHidden = Controls.ScientistStack:IsHidden();


HappinessInfo.lua

UI/InGame/Popups/HappinessInfo.lua
0034
local bWasHidden = Controls.CityBuildingStack:IsHidden();
0098
local bWasHidden = Controls.ResourcesAvailableStack:IsHidden();
0115
local bWasHidden = Controls.ResourcesImportedStack:IsHidden();


HappinessInfo.lua (G&K)

DLC/Expansion/UI/InGame/Popups/HappinessInfo.lua
0066
local bWasHidden = Controls.LocalCityStack:IsHidden();


InGame.lua

UI/InGame/InGame.lua
0074
Controls.NetworkDebug:SetHide( not Controls.NetworkDebug:IsHidden() );


InstalledPanel.lua

UI/FrontEnd/Modding/InstalledPanel.lua
0883
if(not Controls.DetailsResults:IsHidden()) then


MiniMapPanel.lua

UI/InGame/WorldView/MiniMapPanel.lua
0058
Controls.OptionsPanel:SetHide( not Controls.OptionsPanel:IsHidden() );
0440
if (not Controls.OptionsPanel:IsHidden()) then


OptionsMenu.lua

UI/Options/OptionsMenu.lua
0355
if( Controls.GraphicsChangedPopup:IsHidden() and
0356
Controls.Countdown:IsHidden() ) then


ReplayViewer.lua

UI/InGame/Popups/ReplayViewer.lua
0373
if(not graphsPanel:IsHidden()) then


ResourceList.lua

UI/InGame/ResourceList.lua
0170
local bWasHidden = Controls.LuxuryStack:IsHidden();
0187
local bWasHidden = Controls.StrategicStack:IsHidden();
0203
local bWasHidden = Controls.BonusStack:IsHidden();


StagingRoom.lua

UI/FrontEnd/Multiplayer/StagingRoom.lua
0733
if( ContextPtr:IsHidden() == false and not PreGame.IsHotSeatGame()) then
0745
if (slotInstance ~= nil and not slotInstance.Root:IsHidden()) then


TechPanel.lua

UI/InGame/TechPanel.lua
0017
if( Controls.TechPopup:IsHidden() == true ) then


TechPopup.lua

UI/InGame/TechPopup.lua
0080
if( ContextPtr:IsHidden() == true ) then


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
1380
if( Controls.UsPocketLuxuryStack:IsHidden() ) then
1447
if( Controls.ThemPocketLuxuryStack:IsHidden() ) then


UnitFlagManager.lua

UI/InGame/UnitFlagManager.lua
0684
if( self.m_Instance.HealthBar:IsHidden() == false ) then



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.