Beispiel #1
0
        void OnToolBoxCrossButtonPressed(TileViewEditToolBox sender, EventArgs args)
        {
            if (this.editTile == null)
            {
                return;
            }

            this.editTile.AdjustedPosition = this.editTileOriginalPosition;
            this.editTile         = null;
            this.keyTimer.Enabled = false;

            if (this.Toolbox != null)
            {
                this.Toolbox.Visible = false;
            }

            this.Redraw();

            return;
        }
Beispiel #2
0
        void OnToolBoxTickButtonPressed(TileViewEditToolBox sender, EventArgs args)
        {
            if (this.editTile == null)
            {
                return;
            }

            // The images have been moved so we need to work out the new extents of the whole image.
            this.ImageSize        = new Size(MosaicWindow.MosaicInfo.TotalWidth, MosaicWindow.MosaicInfo.TotalHeight);
            this.editTile         = null;
            this.keyTimer.Enabled = false;

            if (this.Toolbox != null)
            {
                this.Toolbox.Visible = false;
            }

            this.Redraw();

            return;
        }
Beispiel #3
0
        void OnToolBoxTickButtonPressed(TileViewEditToolBox sender, EventArgs args)
        {
            if (this.editTile == null)
                return;

            // The images have been moved so we need to work out the new extents of the whole image.
            this.ImageSize = new Size(MosaicWindow.MosaicInfo.TotalWidth, MosaicWindow.MosaicInfo.TotalHeight);
            this.editTile = null;
            this.keyTimer.Enabled = false;

            if (this.Toolbox != null)
                this.Toolbox.Visible = false;

            this.Redraw();

            return;
        }
Beispiel #4
0
        void OnToolBoxCrossButtonPressed(TileViewEditToolBox sender, EventArgs args)
        {
            if (this.editTile == null)
                return;

            this.editTile.AdjustedPosition = this.editTileOriginalPosition;
            this.editTile = null;
            this.keyTimer.Enabled = false;

            if (this.Toolbox != null)
                this.Toolbox.Visible = false;

            this.Redraw();

            return;
        }