示例#1
0
        /// <summary>
        ///		Render all of the stored graphics to console output
        /// </summary>
        /// <param name="isRenderAll">
        /// </param>
        private static void RenderGraphics(bool isRenderAll = true)
        {
            Layer tempLayer = new Layer(VSystem.Layers[VSystem.GetFocusedSubProgram().ProgramID]);

            VSystem.Layers[VSystem.GetFocusedSubProgram().ProgramID].Update();

            if (isRenderAll)
            {
                VSystem.RenderAll();
            }
            else
            {
                //loadRenderQueue(VSystem.Layers[VSystem.GetFocusedSubProgram().ProgramID], tempLayer);

                VSystem.TestRenderPartially();
            }
        }
示例#2
0
        public static void Main(string[] args)
        {
            initiation();

            runNotepadTest();
            VSystem.SubPrograms[VSystem.SubPrograms.Count - 1].Window_Component.GetRenderBuffer();
            VSystem.RenderAll();

            while (true)
            {
                KeyPressed = Console.ReadKey();
                Console.Clear();

                VSystem.ParseAndExecute(KeyPressed);
                //VSystem.SubPrograms[VSystem.SubPrograms.Count - 1].Window_Component.GetRenderBuffer();
                VSystem.RenderAll();
            }
        }