Exemple #1
0
        private void Init()
        {
            this.layout = new Layout(0, 0);
            var matrix = Composer.MakeBoxLayout(49, 16);

            Composer.AddHorizontalLine(matrix, 10, 0, 48);
            Composer.AddVerticalLine(matrix, 10, 0, 10);
            this.layout.SetLayout(Composer.Compose(matrix));
        }
Exemple #2
0
        public HomeScreenController(OrganazerContext context, KeyboardInput parser) : base(context, parser)
        {
            var matrix = Composer.MakeBoxLayout(49, 16);

            Composer.AddHorizontalLine(matrix, 10, 0, 48);
            Composer.AddVerticalLine(matrix, 10, 0, 10);
            var layout = new Layout(0, 0);

            layout.SetLayout(Composer.Compose(matrix));
            this.root = layout;
        }