示例#1
0
        public InvertHistoryItem(InvertType type)
        {
            this.type = type;

            switch (type) {
                // Invert is disabled because it creates a new history item
                //case InvertType.InvertColors:
                //        Text = Mono.Unix.Catalog.GetString ("Invert Colors");
                //        Icon = "Menu.Adjustments.InvertColors.png";
                //        break;
                case InvertType.Rotate180:
                    Text = Catalog.GetString ("Rotate 180°");
                    Icon = "Menu.Image.Rotate180CW.png";
                    break;
                case InvertType.FlipHorizontal:
                    Text = Catalog.GetString ("Flip Image Horizontal");
                    Icon = "Menu.Image.FlipHorizontal.png";
                    break;
                case InvertType.FlipVertical:
                    Text = Catalog.GetString ("Flip Image Vertical");
                    Icon = "Menu.Image.FlipVertical.png";
                    break;
                case InvertType.Rotate90CW:
                    Text = Catalog.GetString ("Rotate 90° Clockwise");
                    Icon = "Menu.Image.Rotate90CW.png";
                    break;
                case InvertType.Rotate90CCW:
                    Text = Catalog.GetString ("Rotate 90° Counter-Clockwise");
                    Icon = "Menu.Image.Rotate90CCW.png";
                    break;
            }
        }
示例#2
0
		public InvertHistoryItem (InvertType type, int layerIndex)
		{
			this.type = type;
			this.layer_index = layerIndex;

			switch (type) {
				case InvertType.FlipLayerHorizontal:
					Text = Catalog.GetString ("Flip Layer Horizontal");
					Icon = "Menu.Image.FlipHorizontal.png";
					break;
				case InvertType.FlipLayerVertical:
					Text = Catalog.GetString ("Flip Layer Vertical");
					Icon = "Menu.Image.FlipVertical.png";
					break;
			}
		}
示例#3
0
        public InvertHistoryItem(InvertType type, int layerIndex)
        {
            this.type        = type;
            this.layer_index = layerIndex;

            switch (type)
            {
            case InvertType.FlipLayerHorizontal:
                Text = Catalog.GetString("Flip Layer Horizontal");
                Icon = "Menu.Image.FlipHorizontal.png";
                break;

            case InvertType.FlipLayerVertical:
                Text = Catalog.GetString("Flip Layer Vertical");
                Icon = "Menu.Image.FlipVertical.png";
                break;
            }
        }
示例#4
0
        public InvertHistoryItem(InvertType type, int layerIndex)
        {
            this.type        = type;
            this.layer_index = layerIndex;

            switch (type)
            {
            case InvertType.FlipLayerHorizontal:
                Text = Translations.GetString("Flip Layer Horizontal");
                Icon = Resources.Icons.ImageFlipHorizontal;
                break;

            case InvertType.FlipLayerVertical:
                Text = Translations.GetString("Flip Layer Vertical");
                Icon = Resources.Icons.ImageFlipVertical;
                break;
            }
        }
示例#5
0
        public InvertHistoryItem(InvertType type)
        {
            this.type = type;

            switch (type)
            {
            // Invert is disabled because it creates a new history item
            //case InvertType.InvertColors:
            //        Text = Mono.Unix.Catalog.GetString ("Invert Colors");
            //        Icon = "Menu.Adjustments.InvertColors.png";
            //        break;
            case InvertType.Rotate180:
                Text = Catalog.GetString("Rotate 180°");
                Icon = "Menu.Image.Rotate180CW.png";
                break;

            case InvertType.FlipHorizontal:
                Text = Catalog.GetString("Flip Image Horizontal");
                Icon = "Menu.Image.FlipHorizontal.png";
                break;

            case InvertType.FlipVertical:
                Text = Catalog.GetString("Flip Image Vertical");
                Icon = "Menu.Image.FlipVertical.png";
                break;

            case InvertType.Rotate90CW:
                Text = Catalog.GetString("Rotate 90° Clockwise");
                Icon = "Menu.Image.Rotate90CW.png";
                break;

            case InvertType.Rotate90CCW:
                Text = Catalog.GetString("Rotate 90° Counter-Clockwise");
                Icon = "Menu.Image.Rotate90CCW.png";
                break;
            }
        }