Exemplo n.º 1
0
        private static void PaintFlash(IMemoryPainter painter, CoreEventRecord evt)
        {
            Color evnt;
            Color touched;
            ColorManager.GetFlash(evt, out evnt, out touched);

            painter.DrawSmall(evnt);
            painter.DrawBig(touched);
            painter.DrawData(evnt);
        }
Exemplo n.º 2
0
        private static void PaintNormal(IMemoryPainter painter, IRunningInstruction ri)
        {
            Color data;
            Color instruction;
            Color owner;
            ColorManager.GetNormal(ri, out data, out instruction, out owner);

            painter.DrawBig(owner);
            painter.DrawSmall(instruction);
            painter.DrawData(data);
        }
Exemplo n.º 3
0
        private static void PaintFade(IMemoryPainter painter, IRunningInstruction ri, CoreEventRecord evt)
        {
            Color evnt;
            Color owner;
            ColorManager.GetFade(ri, evt, out evnt, out owner);

            painter.DrawSmall(evnt);
            painter.DrawBig(owner);
            painter.DrawData(evnt);
        }