mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +00:00
added basic image order reverse...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8696254d88
commit
2fe8479720
21
ui/TODO.otl
21
ui/TODO.otl
@ -74,8 +74,8 @@ Roadmap
|
||||
|
||||
|
||||
|
||||
[_] 22% Gen 3 current todo
|
||||
[_] 45% High priority
|
||||
[_] 23% Gen 3 current todo
|
||||
[_] 46% High priority
|
||||
[_] BUG: aligning still sometimes gets off...
|
||||
| ...after rotating a number of images
|
||||
|
|
||||
@ -110,18 +110,18 @@ Roadmap
|
||||
| positioning is OK but ribbons are not fully visible...
|
||||
[_] ASAP: test on Android...
|
||||
[_] empty view (no data) usable...
|
||||
[_] propper system init (start w.o. any data)
|
||||
[_] revise reporting scheme...
|
||||
| showStatus(...) should be called uniformly, either at the source
|
||||
| or a specific reporting layer...
|
||||
[_] proper system init (start w.o. any data)
|
||||
[_] tweak image pre-caching size -- keep as many images cached as possible.
|
||||
| might be good to always cache the smaller previews so as to make things
|
||||
| look faster...
|
||||
[_] image sorting (date/name/...)
|
||||
[_] 50% Undo/Redo
|
||||
[X] basic one step (revert to last save)
|
||||
[_] push/pop state stack
|
||||
[_] single ribbon mode
|
||||
| should this have up/down navigation?
|
||||
|
|
||||
| something like showGidsAsRibbon(gids) would be generic and logical...
|
||||
[_] image sorting (reverse/date/name/...)
|
||||
[_] add ability to save/load ranges of images and the structures around them
|
||||
| e.g.load image 100 to current ribbon -> will load 100 images
|
||||
| for current ribbon and all the in between images from other
|
||||
@ -149,9 +149,6 @@ Roadmap
|
||||
| a list or a member image (primary).
|
||||
[_] collection
|
||||
| make or add to existing collection
|
||||
[_] 50% Undo/Redo
|
||||
[X] basic one step (revert to last save)
|
||||
[_] push/pop state stack
|
||||
[_] 0% grouping / meta-image
|
||||
[_] versions w. label image
|
||||
| a set of images that is represented by one of the group
|
||||
@ -167,11 +164,15 @@ Roadmap
|
||||
[_] 0% CSS
|
||||
[_] cleanup
|
||||
[_] split themes and layout
|
||||
[_] revise reporting scheme...
|
||||
| showStatus(...) should be called uniformly, either at the source
|
||||
| or a specific reporting layer...
|
||||
[_] 0% manual ordering
|
||||
[_] 0% tweak loader
|
||||
[_] thresholds and frame size
|
||||
[_] remove extra and repetitive actions
|
||||
[_] caching config
|
||||
[X] reverse ribbons...
|
||||
[X] slideshow mode...
|
||||
[X] default STUB image...
|
||||
| or a loading animation..
|
||||
|
||||
16
ui/data.js
16
ui/data.js
@ -949,6 +949,22 @@ function loadSettings(){
|
||||
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* Actions...
|
||||
*/
|
||||
|
||||
// XXX revise...
|
||||
function reverseImages(){
|
||||
DATA.order.reverse()
|
||||
for(var i=0; i < DATA.ribbons.length; i++){
|
||||
DATA.ribbons[i].reverse()
|
||||
}
|
||||
loadData()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* Image caching...
|
||||
*/
|
||||
|
||||
@ -272,7 +272,12 @@ var KEYBOARD_CONFIG = {
|
||||
},
|
||||
|
||||
L: doc('Rotate image left', function(){ rotateLeft() }),
|
||||
R: doc('Rotate image right', function(){ rotateRight() }),
|
||||
R: {
|
||||
default: doc('Rotate image right',
|
||||
function(){ rotateRight() }),
|
||||
ctrl: doc('Reverse image order',
|
||||
function(){ reverseImages() }),
|
||||
},
|
||||
|
||||
|
||||
// zooming...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user