Candide.CandideUI.CandideDesktop
Type JSONpublic class in Candide.CandideUI
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI - Base type
Candide.CandideUI.Containers.CandidePanel - Hash
BFA88F0CD9305728701EBB9618AE2F4698B3F337A758708FCA6D87B5F211F0C6
Relationships
Base type
Derived types
Referenced by types
Candide.CandideUI.CandideUiContainerMultipleItemsCandide.CandideUI.CandideUiContainerSingleItemCandide.CandideUI.CandideUiElementCandide.CandideUI.CandideUiSystemCandide.CandideUI.Containers.CandideVerticalScrollViewerCandide.CandideUI.Containers.CandideWindowCandide.CandideUI.ControllerUiInputSystemCandide.CandideUI.PauseUiCandide.CandideUI.PlayerUiCandide.CandideUI.TestingUiCandide.CandideUI.Tutorial.NewTutorialManagerCandide.CandideUI.Windows.CandideModalWindow
Fields
| Name | Visibility | Signature |
|---|---|---|
DesktopHeight# | public | public System.Int32 DesktopHeight |
DesktopWidth# | public | public System.Int32 DesktopWidth |
ResolutionChanged# | private | private System.EventHandler<Candide.CandideUI.CandideDesktop> ResolutionChanged |
ResolutionChangedHandle# | public | public System.Action<Candide.CandideUI.CandideDesktop> ResolutionChangedHandle |
UiRenderContext# | internal | internal Candide.CandideUI.UiRenderContext UiRenderContext |
_isClosingAll# | private | private System.Boolean _isClosingAll |
_layoutDirty# | private | private System.Boolean _layoutDirty |
Events
| Name | Visibility | Signature |
|---|---|---|
ResolutionChanged# | public | public System.EventHandler<Candide.CandideUI.CandideDesktop> ResolutionChanged |
Methods
AddWindow
#
public System.Void AddWindow(Candide.CandideUI.Containers.CandideWindow window)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9C05E26A23AF1E259529C44C24005755C229EE05E82DBC05A9AE4E60D3C70670 - Body hash
8CDD05C978D87C07D77455541259744D4DB22F55804AFB7B36B29D8EA1F875F9 - IL size56
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Contains(!0)Candide.CandideUI.Containers.CandideWindow::Close()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.CandideUI.CandideUiElement::set_Desktop(Candide.CandideUI.CandideDesktop)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Add(!0)Candide.CandideUI.CandideUiContainerMultipleItems::OnChildrenChanged()
String literals
Can't have two of the same window. Closing previous instance but make sure that this doesn't happen because it is not in
CloseAll
#
public System.Void CloseAll()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F2191B7D6A333E2E76E7AF3FCAA50557378856E3B9637106DAF4141F3D52252E - Body hash
6225AA889FA77FD2DD0C43BC4F3207D818F38627C8611147875AD3E26C9EB11E - IL size74
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::ToArray()Candide.CandideUI.Containers.CandideWindow::Close()Candide.CandideUI.CandideUiContainerMultipleItems::ClearChildren()
Called by
Candide.CandideUI.CandideDesktop::OnResolutionChangingCandide.CandideUI.PlayerUi::BuildHudCandide.CandideUI.TestingUi::CreateTestingUiCandide.MainMenu.MainMenu::OnSceneDeactivatedCandide.MainMenu.Ui.MainMenuUiController::SetupCandide.MainMenu.Ui.MainMenuUiController::StateChangedCandide.PlayerMode.BigModeEmptyManager::OnLeavingCandide.PlayerMode.Construction.ConstructionModeManager::OnLeavingCandide.PlayerMode.Furniture.FurnitureModeManager::OnLeavingCandide.PlayerMode.Logistics.LogisticsModeManager::OnLeavingCandide.PlayerMode.ScreenshotTownModeManager::OnLeavingCandide.PlayerMode.StandardModeManager::OnLeavingCandide.Scenes.LoadingScreen.LoadingScreen::OnSceneDeactivated
Draw
#
public System.Void Draw()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CE9D8C40EC86AAA946D735FFAF8559B17C9368482C3FE4D8B704CF4A21721B6D - Body hash
C6C2C99D03C2CF73D4330AC0BAFF98054122C69B65EFEBA972C51A2AA4D52C74 - IL size134
Referenced calls
Candide.CandideUI.CandideDesktop::UpdateLayout()Candide.CandideUI.UiRenderContext::get_Scissor()Candide.CandideUI.CandideUiElement::get_Transform()Candide.CandideUI.Transform::Apply(Microsoft.Xna.Framework.Rectangle)Candide.CandideUI.UiRenderContext::set_Scissor(Microsoft.Xna.Framework.Rectangle)Candide.CandideUI.CandideUiElement::get_Opacity()Candide.CandideUI.UiRenderContext::set_Opacity(System.Single)Candide.CandideUI.UiRenderContext::Begin()Candide.CandideUI.CandideUiElement::Draw(Candide.CandideUI.UiRenderContext)Candide.CandideUI.UiRenderContext::End()
HasTooltip
#
public System.Boolean HasTooltip()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
0306548B472BEEB4D18C0DD4ECC1D18A16B7D2DF01550AB874A86833AE645B37 - Body hash
B53969B0F8FDB2AE9219F4910872AF4AE4E1D545E23A27E91DF4F42ADBB511D9 - IL size61
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::GetEnumerator()List.Enumerator<Candide.CandideUI.CandideUiElement>::get_Current()List.Enumerator<Candide.CandideUI.CandideUiElement>::MoveNext()System.IDisposable::Dispose()
InvalidateLayout
#
public System.Void InvalidateLayout()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
B53811702B2C24776C2D3FBDCCC92D1C0FFBEA426DDAB002C36FCEA65AF914F4 - Body hash
FC4E59136E9BFCB1CFE33872F47EFA9044D9C29DD406EC682C6972B096F7C9B4 - IL size8
OnChildrenChanged
#
protected System.Void OnChildrenChanged()
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E4EEF988CFE6C77499A151F3D25F764A53DC0FDF3C0BE9A950CA5E0885C62490 - Body hash
250F958B48E1B67B27C4CA4FAAB4B9EA540089B6EA13E226BFA70C62AD8D9467 - IL size14
OnDesktopEnabled
#
public System.Void OnDesktopEnabled()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
45503F8763A378A3B86CE2E129477730011385DA94DED2A909B200F51EDEE911 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
OnDesktopRemoved
#
public System.Void OnDesktopRemoved()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
13D827C2AECC7BD9CF8F23160E546AD37CF2E14F8A53D9138FEC4C9579890FC2 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
OnResolutionChanged
#
public System.Void OnResolutionChanged()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
DD91852B2ABB6F4F2239F714062DF5B06EDF8D1D8C00381B39505602BDC7AE40 - Body hash
DD68F0311F3D9D3657886685A197397B7EBD8E127C18208FB2BF6906EBC9F6CA - IL size37
Referenced calls
System.Action<Candide.CandideUI.CandideDesktop>::Invoke(!0)System.EventHandler<Candide.CandideUI.CandideDesktop>::Invoke(System.Object, !0)
OnResolutionChanging
#
public System.Void OnResolutionChanging()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1E94E9F42542D0DC0E62AB6AA8A36E1D60111F3F0723EC1507AD57EC2D8500D1 - Body hash
929149DC2DE6679CEDCF5B8659EA8926E7604BC7A466906D83E81379225EADA7 - IL size18
Referenced calls
RemoveWindow
#
public System.Void RemoveWindow(Candide.CandideUI.Containers.CandideWindow window)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
0C76C0E2F3311DB25417964A51C1EAFD5F7ACE075175A7CC7CB280C4B173E96E - Body hash
06A2D779EEC19674AE96F7B3360311FF70DA6B87082764C5C2AE101EFC9C2950 - IL size9
Referenced calls
RequestDesktopFocus
#
internal System.Boolean RequestDesktopFocus(Candide.CandideUI.CandideUiElement child)
Method metadata
- Visibilityinternal
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
037100F9C4158DBA24AEDF713B8C21B2DCA2F01C379F1A776678970B9CAF6231 - Body hash
867F14F28D8DB742FD398B92274B2E18179FF592734642E1AF17F2DF35CE64F7 - IL size8
Referenced calls
RequestFocus
#
protected System.Boolean RequestFocus(Candide.CandideUI.CandideUiElement child)
Method metadata
- Visibilityprotected
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
A3E39358A7B7362B93F5F1E71032503307A1B4810ED5908B35C7CA1309072502 - Body hash
152CB3D326866CA63421B1510FA2C575D0AEC9929FC0E319A3C990A952D1F8D4 - IL size126
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::IndexOf(!0)Candide.CandideUI.CandideUiElement::get_Focusable()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.CandideUI.CandideUiContainerMultipleItems::SetFocusedChild(Candide.CandideUI.CandideUiElement)Candide.CandideUI.CandideUiContainerMultipleItems::RequestFocus(Candide.CandideUI.CandideUiElement)
String literals
CandideDesktop: Child with indexrequested focus but the child is not deemed focusable. Returning false.
SendToBack
#
public System.Void SendToBack(Candide.CandideUI.Containers.CandideWindow candideWindow)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3E4211FAF5362A74F40BAEC4D2462C22342663B1210298C5A8DF83B2070033CF - Body hash
B13857EAEB5D37730A01D3AC6526A5A164117D65D593B095CF3B3883F85E10C6 - IL size50
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::IndexOf(!0)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Remove(!0)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Insert(System.Int32, !0)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5FE1CCC36035A84EC76F0E1A98F9238D52803461E238DE89B77D044F29B51ACC - Body hash
51E194FD9F74982F68941913FA03F686B766A8D1454CC74913FF980EC8E69292 - IL size31
Referenced calls
Candide.CandideUI.CandideUiElement::get_Opacity()Candide.CandideUI.UiRenderContext::set_Opacity(System.Single)Candide.CandideUI.CandideDesktop::UpdateLayout()Candide.CandideUI.CandideUiContainerMultipleItems::Update(Microsoft.Xna.Framework.GameTime)
UpdateLayout
#
public System.Void UpdateLayout()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A5A72AD2B203F5856C212431DEA8CDF61D462AE0217A95363128B000E4D650C3 - Body hash
1183215550150D32137A98A01B28610D1739ADD277D2B6E97608F364323684CA - IL size109
Referenced calls
Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::GetEnumerator()List.Enumerator<Candide.CandideUI.CandideUiElement>::get_Current()Candide.CandideUI.CandideUiElement::get_Visible()Candide.CandideUI.CandideUiElement::Arrange(Microsoft.Xna.Framework.Rectangle)List.Enumerator<Candide.CandideUI.CandideUiElement>::MoveNext()System.IDisposable::Dispose()