示例#1
0
 private void OnHover()
 {
     if (QGUI.WindowSettings || !QSettings.Instance.StockToolBarHovering)
     {
         return;
     }
     QGUI.ShowSettings();
     QuickScroll.Log("OnHover", "QStockToolbar");
 }
示例#2
0
 private void OnFalse()
 {
     if (!QGUI.WindowSettings)
     {
         return;
     }
     QGUI.HideSettings();
     QuickScroll.Log("OnFalse", "QStockToolbar");
 }
示例#3
0
 private void OnTrue()
 {
     if (QGUI.WindowSettings)
     {
         return;
     }
     QGUI.ShowSettings();
     QuickScroll.Log("OnTrue", "QStockToolbar");
 }
示例#4
0
 private void OnHoverOut()
 {
     if (!QGUI.WindowSettings || !QSettings.Instance.StockToolBarHovering)
     {
         return;
     }
     if (!isTrue && !isHovering)
     {
         QGUI.HideSettings();
     }
     QuickScroll.Log("OnHoverOut", "QStockToolbar");
 }
示例#5
0
 // 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");
 }
示例#6
0
        /*private void LateUpdate() {
         *      QCategory.PartListTooltipsTWEAK();
         * }*/

        // Gérer l'interface
        private void OnGUI()
        {
            GUI.skin = HighLogic.Skin;
            QShortCuts.OnGUI();
            QGUI.OnGUI();
        }
示例#7
0
 private void OnClick()
 {
     QGUI.Settings();
 }