Ejemplo n.º 1
0
        //--------------------------------------
        // Methods (Draw Hero Action Windows)
        //--------------------------------------

        /// <summary>
        /// Draw the title window inside the hero kit editor (hero action).
        /// </summary>
        /// <param name="id">ID assigned to the GUI Window</param>
        private void DrawTitleWindowHeroAction(int id)
        {
            SimpleLayout.BeginHorizontal(Box.StyleTitleWindow);
            TitleBlock.Block(heroKitAction.name, 1);
            SimpleLayout.Space();
            SimpleLayout.EndHorizontal();
        }
Ejemplo n.º 2
0
        //--------------------------------------
        // Methods (Draw Hero Property Windows)
        //--------------------------------------

        /// <summary>
        /// Draw the title window inside the hero kit editor (hero property).
        /// </summary>
        /// <param name="id">ID assigned to the GUI Window</param>
        private void DrawTitleWindowHeroProperty(int id)
        {
            SimpleLayout.BeginHorizontal(Box.StyleTitleWindow);
            TitleBlock.Block(heroKitProperty.name, 2);
            SimpleLayout.Space();
            TitleButtonBlock.Block(true);
            SimpleLayout.EndHorizontal();
        }
Ejemplo n.º 3
0
        // --------------------------------------------------------------
        // Methods (Draw Hero Object Windows)
        // --------------------------------------------------------------

        /// <summary>
        /// Draw the title window inside the hero kit editor (hero object).
        /// </summary>
        /// <param name="id">ID assigned to the GUI Window</param>
        private void DrawTitleWindowHeroObject(int id)
        {
            SimpleLayout.BeginHorizontal(Box.StyleTitleWindow);
            TitleBlock.Block(heroObject.name, 0);
            SimpleLayout.Space();
            TitleButtonBlock.Block();
            SimpleLayout.EndHorizontal();
        }