var WidgetControleur_actualite = new Class({
	Implements: [Options],
	
	options: {
		defile:true
    },
    initialize: function( widget , options ){

		this.widget = widget;

		this.appliquer( options );

		widget.addEvent('resize',this.redimensionner.bind(this));
	
	},
	
	appliquer:function( options ){
		this.setOptions(options);

		if (this.defile) {
			this.defile.desactiver();
		}
		this.defile = new MooLin( this.widget.affichage.contenu.getElement('.actualite_liste') , { hauteur : this.widget.affichage.contenu.getSize().y } );

		if( this.options.defile ){
			this.defile.activer();
		} else{
			this.defile.desactiver();
		}
		
	},
	
	redimensionner:function(){

		if( this.options.defile ){
			this.defile.redimensionne( this.widget.affichage.contenu.getSize().y );
		}
		
	}
	
});



 

