Esempio n. 1
0
 public Filmstrip(FSpot.BrowsablePointer selection, bool squared_thumbs) : base()
 {
     CanFocus                                   = true;
     this.selection                             = selection;
     this.selection.Changed                    += HandlePointerChanged;
     this.selection.Collection.Changed         += HandleCollectionChanged;
     this.selection.Collection.ItemsChanged    += HandleCollectionItemsChanged;
     this.squared_thumbs                        = squared_thumbs;
     thumb_cache                                = new DisposableCache <string, Pixbuf> (30);
     ThumbnailGenerator.Default.OnPixbufLoaded += HandlePixbufLoaded;
 }
		public Filmstrip (FSpot.BrowsablePointer selection, bool squared_thumbs) : base ()
		{
			CanFocus = true;
			this.selection = selection;
			this.selection.Changed += HandlePointerChanged;
			this.selection.Collection.Changed += HandleCollectionChanged;
			this.selection.Collection.ItemsChanged += HandleCollectionItemsChanged;
			this.squared_thumbs = squared_thumbs;
			thumb_cache = new DisposableCache<string, Pixbuf> (30);
			ThumbnailGenerator.Default.OnPixbufLoaded += HandlePixbufLoaded;
		}
Esempio n. 3
0
 public Filmstrip(FSpot.BrowsablePointer selection) : this(selection, true)
 {
 }
Esempio n. 4
0
        public Filmstrip(FSpot.BrowsablePointer selection, bool squared_thumbs)
            : base()
        {
            CanFocus = true;
            this.selection = selection;
            this.selection.Changed += HandlePointerChanged;
            this.selection.Collection.Changed += HandleCollectionChanged;
            this.selection.Collection.ItemsChanged += HandleCollectionItemsChanged;
            this.squared_thumbs = squared_thumbs;
            thumb_cache = new DisposableCache<Uri, Pixbuf> (30);
            ThumbnailGenerator.Default.OnPixbufLoaded += HandlePixbufLoaded;

            animation = new DoubleAnimation (0, 0, TimeSpan.FromSeconds (1.5), SetPositionCore, new CubicEase (EasingMode.EaseOut));
        }