private void OnHover() { if (QGUI.WindowSettings || !QSettings.Instance.StockToolBarHovering) { return; } QGUI.ShowSettings(); QuickScroll.Log("OnHover", "QStockToolbar"); }
private void OnFalse() { if (!QGUI.WindowSettings) { return; } QGUI.HideSettings(); QuickScroll.Log("OnFalse", "QStockToolbar"); }
private void OnTrue() { if (QGUI.WindowSettings) { return; } QGUI.ShowSettings(); QuickScroll.Log("OnTrue", "QStockToolbar"); }
private void OnHoverOut() { if (!QGUI.WindowSettings || !QSettings.Instance.StockToolBarHovering) { return; } if (!isTrue && !isHovering) { QGUI.HideSettings(); } QuickScroll.Log("OnHoverOut", "QStockToolbar"); }
// Initialisation des modules private void Awake() { if (Instance != null) { Destroy(this); Warning("There's already an Instance of " + MOD); return; } Instance = this; if (BlizzyToolbar == null) { BlizzyToolbar = new QBlizzyToolbar(); } QGUI.Awake(); QShortCuts.Awake(); Log("Awake"); }
/*private void LateUpdate() { * QCategory.PartListTooltipsTWEAK(); * }*/ // Gérer l'interface private void OnGUI() { GUI.skin = HighLogic.Skin; QShortCuts.OnGUI(); QGUI.OnGUI(); }
private void OnClick() { QGUI.Settings(); }