[f-spot: 1/40] handle the pixbuf orientation at the ImageView level



commit f8101e584d8b4ddfca1748809706746606ffd84f
Author: Stephane Delcroix <stephane delcroix org>
Date:   Wed Jun 17 16:07:14 2009 +0200

    handle the pixbuf orientation at the ImageView level

 src/Widgets/ImageView.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index d82fc04..7b3263f 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -14,6 +14,8 @@ using System.Runtime.InteropServices;
 using Gtk;
 using Gdk;
 
+using FSpot.Utils;
+
 namespace FSpot.Widgets
 {
 	public class ImageView : Container
@@ -54,6 +56,14 @@ namespace FSpot.Widgets
 			} 
 		}
 
+		PixbufOrientation pixbuf_orientation;
+		public PixbufOrientation PixbufOrientation {
+			get { return pixbuf_orientation; }
+			set {
+				Console.WriteLine ("pixbuf orientation changed");
+			}
+		}
+
 		CheckPattern check_pattern = CheckPattern.Dark;
 		public CheckPattern CheckPattern {
 			get { return check_pattern; } 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]