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