예제 #1
0
 private void InitWindower()
 {
     pols = XIACE.ListPolProcess();
     if (pols.Length == 0)
     {
         MessageBox.Show("FFXIが起動してないようです");
         Environment.Exit(0);
         return;
     }
     xiw = new XIWindower(pols[0].Pid);
     to = xiw.CreateTextObject("WSPCounter");
     to.SetBGColor(128, 0, 0, 0);
     to.SetBGVisibilitiy(true);
     to.SetFontColor(255, 255, 255, 255);
     to.SetLocation(50, 50);
     to.Flush();
 }
예제 #2
0
파일: Program.cs 프로젝트: ff11mail/ff11rcm
 static FFXI.TextObject WindowerTest(XIWindower xiw)
 {
     FFXI.TextObject to;
     to = xiw.CreateTextObject("xitest");
     to.SetLocation(50, 50);
     to.SetBGColor(128, 0, 0, 0);
     to.SetFontColor(255, 255, 255, 255);
     to.SetText("This is XIACE Test Program");
     to.SetBold(true);
     to.SetItalic(true);
     to.SetBGVisibilitiy(true);
     to.Flush();
     return to;
 }