mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-11-04 05:10:07 +00:00 
			
		
		
		
	...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									76992ea5fa
								
							
						
					
					
						commit
						4072e95129
					
				@ -456,7 +456,8 @@ actions.Actions({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// XXX this also requires images...
 | 
						// XXX this also requires images...
 | 
				
			||||||
	sortImages: [
 | 
						sortImages: [
 | 
				
			||||||
		function(){  }],
 | 
							function(method){ 
 | 
				
			||||||
 | 
							}],
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// basic image editing...
 | 
						// basic image editing...
 | 
				
			||||||
	//
 | 
						//
 | 
				
			||||||
@ -1236,8 +1237,10 @@ module.Features = Object.create(FeatureSet)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// NOTE: this is split out to an action so as to enable ui elements to 
 | 
					// NOTE: this is split out to an action so as to enable ui elements to 
 | 
				
			||||||
// 		adapt to ribbon size changes...
 | 
					// 		adapt to ribbon size changes...
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
// XXX try a strategy: load more in the direction of movement by an offset...
 | 
					// XXX try a strategy: load more in the direction of movement by an offset...
 | 
				
			||||||
// XXX updateRibbon(..) is not signature compatible with data.updateRibbon(..)
 | 
					// XXX updateRibbon(..) is not signature compatible with data.updateRibbon(..)
 | 
				
			||||||
var PartialRibbonsActions = actions.Actions({
 | 
					var PartialRibbonsActions = actions.Actions({
 | 
				
			||||||
@ -1416,6 +1419,7 @@ module.PartialRibbons = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var SingleImageActions = actions.Actions({
 | 
					var SingleImageActions = actions.Actions({
 | 
				
			||||||
	toggleSingleImage: ['Toggle single image view', 
 | 
						toggleSingleImage: ['Toggle single image view', 
 | 
				
			||||||
		// XXX this is wrong!!!
 | 
							// XXX this is wrong!!!
 | 
				
			||||||
@ -1533,6 +1537,7 @@ module.SingleImageView = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// XXX this should also define up/down navigation behavior e.g. what to 
 | 
					// XXX this should also define up/down navigation behavior e.g. what to 
 | 
				
			||||||
// 		focus on next/prev ribbon...
 | 
					// 		focus on next/prev ribbon...
 | 
				
			||||||
// XXX should .alignByOrder(..) be a feature-specific action or global 
 | 
					// XXX should .alignByOrder(..) be a feature-specific action or global 
 | 
				
			||||||
@ -1552,6 +1557,7 @@ module.AlignRibbonsToImageOrder = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var AlignRibbonsToFirstImage = 
 | 
					var AlignRibbonsToFirstImage = 
 | 
				
			||||||
module.AlignRibbonsToFirstImage = Feature({
 | 
					module.AlignRibbonsToFirstImage = Feature({
 | 
				
			||||||
	title: '',
 | 
						title: '',
 | 
				
			||||||
@ -1567,6 +1573,7 @@ module.AlignRibbonsToFirstImage = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// XXX at this point this does not support target lists...
 | 
					// XXX at this point this does not support target lists...
 | 
				
			||||||
var ShiftAnimation =
 | 
					var ShiftAnimation =
 | 
				
			||||||
module.ShiftAnimation = Feature({
 | 
					module.ShiftAnimation = Feature({
 | 
				
			||||||
@ -1606,6 +1613,7 @@ module.ShiftAnimation = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var BoundsIndicatorsActions = actions.Actions({
 | 
					var BoundsIndicatorsActions = actions.Actions({
 | 
				
			||||||
	flashIndicator: ['Flash an indicator',
 | 
						flashIndicator: ['Flash an indicator',
 | 
				
			||||||
		function(direction){
 | 
							function(direction){
 | 
				
			||||||
@ -1727,6 +1735,7 @@ module.BoundsIndicators = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var CurrentImageIndicatorActions = actions.Actions({
 | 
					var CurrentImageIndicatorActions = actions.Actions({
 | 
				
			||||||
	updateCurrentImageIndicator: ['Update current image indicator',
 | 
						updateCurrentImageIndicator: ['Update current image indicator',
 | 
				
			||||||
		function(target, update_border){
 | 
							function(target, update_border){
 | 
				
			||||||
@ -1886,6 +1895,7 @@ module.CurrentImageIndicator = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// XXX
 | 
					// XXX
 | 
				
			||||||
var ImageStateIndicator = 
 | 
					var ImageStateIndicator = 
 | 
				
			||||||
module.ImageStateIndicator = Feature({
 | 
					module.ImageStateIndicator = Feature({
 | 
				
			||||||
@ -1898,6 +1908,7 @@ module.ImageStateIndicator = Feature({
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// XXX
 | 
					// XXX
 | 
				
			||||||
var GlobalStateIndicator = 
 | 
					var GlobalStateIndicator = 
 | 
				
			||||||
module.GlobalStateIndicator = Feature({
 | 
					module.GlobalStateIndicator = Feature({
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user