/// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="entry"></param>
        /// <param name="menu"></param>
        /// <param name="packHelper"></param>
        public GlamMenuComponents(ModEntry entry, GlamMenu menu, ContentPackHelper packHelper)
        {
            Entry      = entry;
            Menu       = menu;
            PackHelper = packHelper;

            InitializeComponents();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="entry"></param>
        /// <param name="menu"></param>
        public SearchMenu(ModEntry entry, GlamMenu menu) :
            base((int)Utility.getTopLeftPositionForCenteringOnScreen(712, 712, 0, 0).X,
                 (int)Utility.getTopLeftPositionForCenteringOnScreen(712, 712, 0, 0).Y - borderWidth,
                 712,
                 712,
                 false)
        {
            Entry = entry;
            Menu  = menu;

            SetUpMenu();
        }