Exemplo n.º 1
0
        /// <summary>
        /// Rebuilds all elements to make them match the settings in Elements.Settings.
        /// <para>This will also call VGUI.Instance.RebuildSkin().</para>
        /// </summary>
        public static void RebuildElements()
        {
            IsInitialized = true;

            Colors      = new Colors();
            Labels      = new Labels();
            Windows     = new Windows();
            Buttons     = new Buttons();
            Tools       = new Tools();
            InputFields = new InputFields();
            Scrollview  = new Scrollview();
            Sliders     = new Sliders();
            Toggle      = new Toggle();

            ModGUI.Instance.RebuildSkin();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Rebuilds all elements to make them match the settings in Elements.Settings.
        /// <para>This will also call VGUI.Instance.RebuildSkin().</para>
        /// </summary>
        public static void RebuildElements()
        {
            IsInitialized = true;

              Colors = new Colors();
              Labels = new Labels();
              Windows = new Windows();
              Buttons = new Buttons();
              Tools = new Tools();
              InputFields = new InputFields();
              Scrollview = new Scrollview();
              Sliders = new Sliders();
              Toggle = new Toggle();

              ModGUI.Instance.RebuildSkin();
        }