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(); }
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; }