Exemple #1
0
 public LNLabelAtlas(string fsName, LNLabelAtlas.LabelType type, string text,
                     char startchar, int itemWidth, int itemHeight, int charWidth) : base(fsName, itemWidth, itemHeight)
 {
     this.fs         = LNDataCache.GetFrameStruct(fsName);
     base._left      = (int)this.fs._textCoords.x;
     base._top       = (int)this.fs._textCoords.y;
     this._type      = type;
     this._charWidth = charWidth;
     this._startchar = startchar;
     this.SetString(text);
 }
Exemple #2
0
		public LNLabelAtlas(string fsName, LNLabelAtlas.LabelType  type, string text,
				char startchar, int itemWidth, int itemHeight, int charWidth):base(fsName, itemWidth, itemHeight) {
			
			this.fs = LNDataCache.GetFrameStruct(fsName);
			base._left = (int) this.fs._textCoords.x;
			base._top = (int) this.fs._textCoords.y;
			this._type = type;
			this._charWidth = charWidth;
			this._startchar = startchar;
			this.SetString(text);
		}
Exemple #3
0
 public LNLabelAtlas()
 {
     this._type = LabelType.TEXT_ALIGNMENT_LEFT;
 }
Exemple #4
0
		public LNLabelAtlas() {
			this._type = LabelType.TEXT_ALIGNMENT_LEFT;
		}