Beispiel #1
0
        public MoveAnimation(FixedPanel f, Widget w, int destx, int desty) : base(w)
        {
            panel = f;
            int x, y;

            f.GetPosition(w, out x, out y);
            curx       = (float)x;
            cury       = (float)y;
            this.destx = (float)destx;
            this.desty = (float)desty;
        }
		public MoveAnimation (FixedPanel f, Widget w, int destx, int desty): base (w)
		{
			panel = f;
			int x, y;
			f.GetPosition (w, out x, out y);
			curx = (float)x;
			cury = (float)y;
			this.destx = (float) destx;
			this.desty = (float) desty;
		}