private static UIPanel CreateBasicPanel()
        {
            UIPanel uiPanel = new UIPanel();

            UICreativeInfiniteItemsDisplay.SetBasicSizesForCreativeSacrificeOrInfinitesPanel((UIElement)uiPanel);
            uiPanel.BackgroundColor *= 0.8f;
            uiPanel.BorderColor     *= 0.8f;
            return(uiPanel);
        }
        private void AddCogsForSacrificeMenu(UIElement sacrificesContainer)
        {
            UIElement uiElement = new UIElement();

            uiElement.IgnoresMouseInteraction = true;
            UICreativeInfiniteItemsDisplay.SetBasicSizesForCreativeSacrificeOrInfinitesPanel(uiElement);
            uiElement.VAlign = 0.5f;
            uiElement.Height = new StyleDimension(170f, 0.0f);
            uiElement.Width  = new StyleDimension(280f, 0.0f);
            uiElement.Top    = new StyleDimension();
            uiElement.SetPadding(0.0f);
            sacrificesContainer.Append(uiElement);
            Vector2 vector2 = new Vector2(-10f, -10f);

            this.AddSymetricalCogsPair(uiElement, new Vector2(22f, 1f) + vector2, "Images/UI/Creative/Research_GearC", this._sacrificeCogsSmall);
            this.AddSymetricalCogsPair(uiElement, new Vector2(1f, 28f) + vector2, "Images/UI/Creative/Research_GearB", this._sacrificeCogsMedium);
            this.AddSymetricalCogsPair(uiElement, new Vector2(5f, 5f) + vector2, "Images/UI/Creative/Research_GearA", this._sacrificeCogsBig);
        }