Пример #1
0
        public ConsoleWindow(PanelProps panelProps) : base(panelProps)
        {
            ConsoleText           = UiManager.DefaultParagraph(string.Empty, Anchor.TopLeft, Color.Black, null, new Vector2(0, 0.75f), null, new Vector2(5, 5));
            PanelOverflowBehavior = PanelOverflowBehavior.VerticalScroll;

            AddChild(ConsoleText);

            Visible = false;
        }
Пример #2
0
 public TreeViewLayout(PanelProps panelProps) : base(panelProps)
 {
     PanelOverflowBehavior = PanelOverflowBehavior.VerticalScroll;
 }
Пример #3
0
 public Panel(PanelProps panelProps) : base(panelProps)
 {
     p_BackGroundTexture = panelProps.Backgroundtexture != null ? panelProps.Backgroundtexture : new Sprite(ContentLoader.GetTextureByName("tan_pressed"));
 }