idTech4.UI.idWinRectangle.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
		public override void Update()
		{
			string s = this.Name;

			if((_guiDict != null) && (s != string.Empty))
			{
				idRectangle r = _guiDict.GetRectangle(this.Name);

				_data.X = r.X;
				_data.Y = r.Y;
				_data.Width = r.Width;
				_data.Height = r.Height;
			}
		}
		#endregion