mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	added some actions...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									36c11e425a
								
							
						
					
					
						commit
						f627a2fe1b
					
				| @ -144,6 +144,8 @@ module.BASE_ACTIONS = { | ||||
| 	shiftImageDown: | ||||
| 		'Shift image to the ribbon below current, creating one if ' | ||||
| 		+'it does not exist', | ||||
| 	shiftImageUpNewRibbon: '', | ||||
| 	shiftImageDownNewRibbon: '', | ||||
| 	shiftImageLeft: 'Shift image to the left', | ||||
| 	shiftImageRight: 'Shift image to the right', | ||||
| 
 | ||||
| @ -230,16 +232,16 @@ module.UI_ACTIONS = { | ||||
| 	fitScreen: 'Fit image to screen', | ||||
| 
 | ||||
| 	// modes...
 | ||||
| 	singleImageMode: '', | ||||
| 	ribbonMode: '', | ||||
| 	singleImageMode: 'Show single image', | ||||
| 	ribbonMode: 'Show ribbon', | ||||
| 
 | ||||
| 	toggleTheme: '', | ||||
| 	toggleTheme: 'Toggle themes', | ||||
| 
 | ||||
| 	// dialogs...
 | ||||
| 	openDialog: '', | ||||
| 	historyDialog: '', | ||||
| 	cropDialog: '', | ||||
| 	markDialog: '', | ||||
| 	openDialog: 'Show open diaolg', | ||||
| 	historyDialog: 'Show history dialog', | ||||
| 	cropDialog: 'Show crop dialog', | ||||
| 	markDialog: 'Show mark dialog', | ||||
| 
 | ||||
| 	// panels...
 | ||||
| 	togglePanels: '', | ||||
| @ -253,8 +255,8 @@ module.UI_ACTIONS = { | ||||
| 	showConsolePanel: '', | ||||
| 
 | ||||
| 	// developer actions...
 | ||||
| 	showConsole: '', | ||||
| 	showDevTools: '', | ||||
| 	showConsole: 'Show application console', | ||||
| 	showDevTools: 'Show development tools', | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| @ -276,6 +278,11 @@ module.MARKS_ACTIONS = { | ||||
| 	toggleMark: '', | ||||
| 	toggleMarkBlock: '', | ||||
| 
 | ||||
| 	nextMarked: '', | ||||
| 	prevMarked: '', | ||||
| 	nextMarkedInRibbon: '', | ||||
| 	prevMarkedInRibbon: '', | ||||
| 
 | ||||
| 	markRibbon: '', | ||||
| 	unmarkRibbon: '', | ||||
| 	markAll: '', | ||||
| @ -287,6 +294,8 @@ module.MARKS_ACTIONS = { | ||||
| 	shiftMarkedDown: '', | ||||
| 	shiftMarkedLeft: '', | ||||
| 	shiftMarkedRight: '', | ||||
| 	shiftMarkedUpNewRibbon: '', | ||||
| 	shiftMarkedDownNewRibbon: '', | ||||
| 
 | ||||
| 	cropMarkedImages: '', | ||||
| 	cropMarkedImagesToSingleRibbon: '', | ||||
| @ -308,6 +317,11 @@ var BOOKMARKS_ACTIONS = | ||||
| module.BOOKMARKS_ACTIONS = { | ||||
| 	toggleBookmark: 'Toggle image bookmark', | ||||
| 
 | ||||
| 	nextBookmarked: '', | ||||
| 	prevBookmarked: '', | ||||
| 	nextBookmarkedInRibbon: '', | ||||
| 	prevBookmarkedInRibbon: '', | ||||
| 
 | ||||
| 	bookmarkMarked: 'Bookmark marked images', | ||||
| 	unbookmarkMarked: 'Remove bookmarks from marked images', | ||||
| 	toggleBookmarkMarked: 'Toggle bookmarks on marked images', | ||||
|  | ||||
| @ -65,7 +65,7 @@ module.RibbonsClassPrototype = { | ||||
| 		return JSON.parse('"' + elem.attr('gid') + '"') | ||||
| 	}, | ||||
| 
 | ||||
| 	// Constructors...
 | ||||
| 	// DOM Constructors...
 | ||||
| 	// NOTE: these will return unattached objects...
 | ||||
| 	createViewer: function(){ | ||||
| 		return $('<div>') | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user