示例#1
0
        public void PrintTimedCXY(String str, float time, byte r, byte g, byte b, byte a)
        {
            zColor  colr = zColor.Create(Process, r, g, b, a);
            zString zstr = zString.Create(Process, str);

            PrintTimedCXY(zstr, time, colr);
            colr.Dispose();
            zstr.Dispose();
        }
示例#2
0
        private void createText()
        {
            Process process = Process.ThisProcess();
            zString str     = zString.Create(process, this.text);
            zColor  c       = zColor.Create(process, color.R, color.G, color.B, color.A);

            textView = view.PrintTimedCXY_TV(str, -1, c);
            str.Dispose();
            c.Dispose();

            textView.Timed = 0;
            textView.Timer = -1;
        }