Ejemplo n.º 1
0
        public Dialog_Prometheus()
        {
            this.resizeable = false;

            this.optionalTitle = "E.D.S.N Exclibur - Fabrication";
            this.m_CurrentTab  = EnumDialogTabSelection.Fabrication;

            //this.CloseButSize = new Vector2(50, 50);

            this.doCloseButton         = false;
            this.doCloseX              = false;
            this.closeOnClickedOutside = false;
            this.doCloseX              = true;


            //this.SetInitialSizeAndPosition();
        }
Ejemplo n.º 2
0
        public void DoGuiHeadder(Rect rectContentWindow)
        {
            // Headder to Select Tabs -----------------------------------------


            WidgetRow _ButtonWidgetRow = new WidgetRow(rectContentWindow.x, rectContentWindow.y, UIDirection.RightThenDown, 99999f, 4f);

            if (_ButtonWidgetRow.ButtonText("Fabrication", null, true, true))
            {
                this.optionalTitle = "E.D.S.N Exclibur - Fabrication";
                this.m_CurrentTab  = EnumDialogTabSelection.Fabrication;
            }

            if (_ButtonWidgetRow.ButtonText("System Status", null, true, true))
            {
                this.optionalTitle = "E.D.S.N Exclibur - System Status";
                this.m_CurrentTab  = EnumDialogTabSelection.SystemStatus;
            }
            Widgets.DrawLineHorizontal(rectContentWindow.xMin, rectContentWindow.yMax, rectContentWindow.width);
        }