private void ShowText() { int count = this.mList.get_Count(); for (int i = 0; i < count; i++) { CChatParser.LabelType labelType = this.mList.get_Item(i); CChatParser.InfoType type = labelType.type; if (type != CChatParser.InfoType.Text) { if (type == CChatParser.InfoType.Face) { this.CreateTextFace(labelType.info); } } else { this.CreateText(labelType.info); } } if (this.curEntNode != null) { this.curEntNode.final_width += 8f; } }
public CTextImageNode(string ct, CChatParser.InfoType type, float width, float height, float x, float y) { this.content = ct; this.type = type; this.width = width; this.height = height; this.posX = x; this.posY = y; }
public LabelType(string text, CChatParser.InfoType tp) { this.info = text; this.type = tp; }