コード例 #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;
        }
コード例 #2
0
ファイル: DockToolbarPanel.cs プロジェクト: msiyer/Pinta
		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;
		}