Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public TreeViewLayout(PanelProps panelProps) : base(panelProps)
 {
     PanelOverflowBehavior = PanelOverflowBehavior.VerticalScroll;
 }
Exemplo n.º 3
0
 public Panel(PanelProps panelProps) : base(panelProps)
 {
     p_BackGroundTexture = panelProps.Backgroundtexture != null ? panelProps.Backgroundtexture : new Sprite(ContentLoader.GetTextureByName("tan_pressed"));
 }