// Token: 0x06000A9E RID: 2718 RVA: 0x00043C18 File Offset: 0x00041E18 public override void DrawGUI(Rect rect) { GUI.BeginGroup(rect, BlueStonez.window); if (Event.current.type == EventType.KeyDown && Event.current.keyCode == KeyCode.Escape) { GUIUtility.keyboardControl = 0; } Rect rect2 = new Rect(0f, 21f, 150f, rect.height - 21f); Rect rect3 = new Rect(149f, 0f, rect.width - 150f, 22f); Rect rect4 = new Rect(150f, 22f, rect.width - 150f, rect.height - 22f - 36f - this._keyboardOffset); Rect rect5 = new Rect(149f, rect.height - 37f, rect.width - 150f + 1f, 37f); GUITools.PushGUIState(); GUI.enabled &= !PopupMenu.IsEnabled; ChatGroupPanel pane = Singleton <ChatManager> .Instance._commPanes[3]; this.DoDialogFooter(rect5, pane, Singleton <ChatManager> .Instance.InGameDialog); this.DrawCommPane(rect2, pane); this.DoDialogHeader(rect3, Singleton <ChatManager> .Instance.InGameDialog); this.DoDialog(rect4, pane, Singleton <ChatManager> .Instance.InGameDialog); GUITools.PopGUIState(); if (PopupMenu.Current != null) { PopupMenu.Current.Draw(); } GUI.EndGroup(); GuiManager.DrawTooltip(); }
// Token: 0x06000ACC RID: 2764 RVA: 0x00044E90 File Offset: 0x00043090 private void OnGUI() { GUI.depth = 11; GUI.skin = BlueStonez.Skin; Rect rect = new Rect(0f, (float)GlobalUIRibbon.Instance.Height(), (float)Screen.width, (float)(Screen.height - GlobalUIRibbon.Instance.Height())); GUI.BeginGroup(rect, BlueStonez.box_grey31); GUI.enabled = (PlayerDataManager.IsPlayerLoggedIn && this.IsNoPopupOpen() && !Singleton <ClanDataManager> .Instance.IsProcessingWebservice); if (PlayerDataManager.IsPlayerInClan) { float num = 73f; float num2 = 40f; float num3 = rect.height - num - num2; this.DrawClanRosterHeader(new Rect(0f, 0f, rect.width, num)); this.DrawMembersView(new Rect(0f, num, rect.width, num3)); this.DrawClanRosterFooter(new Rect(0f, num + num3, rect.width, num2)); } else { GUI.Box(rect, GUIContent.none, BlueStonez.box_grey38); if (this.createAClan) { this.DrawCreateClanMessage(rect); } else { this.DrawNoClanMessage(rect); } } GuiManager.DrawTooltip(); GUI.enabled = true; GUI.EndGroup(); }
// Token: 0x06000C8F RID: 3215 RVA: 0x0005494C File Offset: 0x00052B4C private void OnGUI() { GUI.skin = BlueStonez.Skin; GUI.depth = 3; this.Height = 100 + this._price.Height + 100; this.DrawUnityItem(new Rect((float)((Screen.width - 300) / 2), (float)((Screen.height - this.Height) / 2), 300f, (float)this.Height)); GuiManager.DrawTooltip(); }
// Token: 0x06000DCE RID: 3534 RVA: 0x0005FC1C File Offset: 0x0005DE1C private void OnGUI() { this.ReleaseOldLock(); if (this._popups.Count > 0) { IPopupDialog popupDialog = this._popups.Peek(); this._lastLockDepth = popupDialog.Depth; GUI.depth = (int)this._lastLockDepth; popupDialog.OnGUI(); if (Event.current.type == EventType.Layout) { GuiLockController.EnableLock(this._lastLockDepth); } } GuiManager.DrawTooltip(); }
// Token: 0x06000D31 RID: 3377 RVA: 0x0005ADB8 File Offset: 0x00058FB8 private void OnGUI() { GUI.depth = -97; this._rect = new Rect((float)((Screen.width - 528) / 2), (float)((Screen.height - 320) / 2), 528f, 320f); GUI.BeginGroup(this._rect, GUIContent.none, BlueStonez.window_standard_grey38); if (this._screenResChangeDelay > 0f) { this.DrawScreenResChangePanel(); } else { this.DrawOptionsPanel(); } GUI.EndGroup(); GuiManager.DrawTooltip(); }
// Token: 0x06000CBE RID: 3262 RVA: 0x000562A8 File Offset: 0x000544A8 private void OnGUI() { GUI.skin = BlueStonez.Skin; GUI.depth = 3; GUI.BeginGroup(this._windowRect, GUIContent.none, BlueStonez.window); GUI.Label(new Rect(0f, 0f, this._windowRect.width, 56f), LocalizedStrings.CreateGameCaps, BlueStonez.tab_strip); Rect rect = new Rect(0f, 60f, this._windowRect.width, this._windowRect.height - 60f); if (Screen.width < 989) { this.DrawRestrictedPanel(rect); } else { this.DrawFullPanel(rect); } GUI.EndGroup(); GuiManager.DrawTooltip(); }
// Token: 0x06000DEE RID: 3566 RVA: 0x00060030 File Offset: 0x0005E230 private void OnGUI() { GUI.depth = 11; this._rect.x = (float)Screen.width - this._width; this._rect.y = (float)GlobalUIRibbon.Instance.Height(); this._rect.width = this._width; this._rect.height = (float)Screen.height - this._rect.y; GUI.skin = BlueStonez.Skin; GUI.BeginGroup(this._rect, GUIContent.none, BlueStonez.window_standard_grey38); GUI.Label(new Rect(0f, 0f, this._rect.width, 56f), this._title, BlueStonez.tab_strip); GUI.changed = false; this._currentGuiPageIndex = UnityGUI.Toolbar(new Rect(0f, 34f, (float)(140 * this._guiPageTabs.Length), 22f), this._currentGuiPageIndex, this._guiPageTabs, this._guiPageTabs.Length, BlueStonez.tab_medium); if (GUI.changed) { this.SetCurrentPage(this._currentGuiPageIndex); return; } GUI.EndGroup(); this._guiPages[this._currentGuiPageIndex].DrawGUI(new Rect(this._rect.x, this._rect.y + 57f, this._rect.width, this._rect.height - 56f)); GuiManager.DrawTooltip(); }
// Token: 0x06000961 RID: 2401 RVA: 0x0003B180 File Offset: 0x00039380 private void OnGUI() { if (!this._isReady || !Singleton <AuthenticationManager> .Instance.IsAuthComplete) { return; } GUI.depth = 7; GUI.Label(new Rect(0f, this._yOffset, (float)Screen.width, 44f), GUIContent.none, BlueStonez.window_standard_grey38); this.DoMenuBar(new Rect(0f, this._yOffset, (float)Screen.width, 44f)); if (this._ribbonEvents.Count > 0) { GlobalUIRibbon.EventType[] array = (GlobalUIRibbon.EventType[])Enum.GetValues(typeof(GlobalUIRibbon.EventType)); for (int i = 0; i < array.Length; i++) { GlobalUIRibbon.RibbonEvent ribbonEvent; if (this._ribbonEvents.TryGetValue(array[i], out ribbonEvent)) { ribbonEvent.Draw(); } } } GuiManager.DrawTooltip(); }
// Token: 0x06000BC9 RID: 3017 RVA: 0x0004D3CC File Offset: 0x0004B5CC private void OnGUI() { if (Mathf.Abs(this._keyboardOffset - this._targetKeyboardOffset) > 2f) { this._keyboardOffset = Mathf.Lerp(this._keyboardOffset, this._targetKeyboardOffset, Time.deltaTime * 4f); } else { this._keyboardOffset = this._targetKeyboardOffset; } this._groupRect = new Rect((float)(Screen.width - 340) * 0.5f, (float)(Screen.height - 200) * 0.5f - this._keyboardOffset, 340f, 200f); GUI.depth = 3; GUI.skin = BlueStonez.Skin; Rect groupRect = this._groupRect; GUI.BeginGroup(groupRect, string.Empty, BlueStonez.window_standard_grey38); if (this.nameChangeItem != null) { this.nameChangeItem.DrawIcon(new Rect(8f, 8f, 48f, 48f)); if (BlueStonez.label_interparkbold_32pt_left.CalcSize(new GUIContent(this.nameChangeItem.View.Name)).x > groupRect.width - 72f) { GUI.Label(new Rect(64f, 8f, groupRect.width - 72f, 30f), this.nameChangeItem.View.Name, BlueStonez.label_interparkbold_18pt_left); } else { GUI.Label(new Rect(64f, 8f, groupRect.width - 72f, 30f), this.nameChangeItem.View.Name, BlueStonez.label_interparkbold_32pt_left); } } GUI.Label(new Rect(64f, 30f, groupRect.width - 72f, 30f), LocalizedStrings.FunctionalItem, BlueStonez.label_interparkbold_16pt_left); Rect rect = new Rect(8f, 116f, this._groupRect.width - 16f, this._groupRect.height - 120f - 46f); GUI.BeginGroup(new Rect(rect.xMin, 74f, rect.width, rect.height + 42f), string.Empty, BlueStonez.group_grey81); GUI.EndGroup(); GUI.Label(new Rect(56f, 72f, 227f, 20f), LocalizedStrings.ChooseCharacterName, BlueStonez.label_interparkbold_11pt); GUI.SetNextControlName("@ChooseName"); Rect position = new Rect(56f, 102f, 227f, 24f); GUI.changed = false; this.newName = GUI.TextField(position, this.newName, 18, BlueStonez.textField); this.newName = TextUtilities.Trim(this.newName); if (string.IsNullOrEmpty(this.newName) && GUI.GetNameOfFocusedControl() != "@ChooseName") { GUI.color = new Color(1f, 1f, 1f, 0.3f); GUI.Label(position, LocalizedStrings.EnterYourName, BlueStonez.label_interparkmed_11pt); GUI.color = Color.white; } if (GUITools.Button(new Rect(groupRect.width - 118f, 160f, 110f, 32f), new GUIContent(LocalizedStrings.CancelCaps), BlueStonez.button)) { this.HideKeyboard(); this.Hide(); } GUI.enabled = !this.isChangingName; if (GUITools.Button(new Rect(groupRect.width - 230f, 160f, 110f, 32f), new GUIContent(LocalizedStrings.OkCaps), BlueStonez.button_green)) { this.HideKeyboard(); this.ChangeName(); } GUI.EndGroup(); GUI.enabled = true; if (this.isChangingName) { WaitingTexture.Draw(new Vector2(groupRect.x + 305f, groupRect.y + 114f), 0); } GuiManager.DrawTooltip(); }