updated makefile and some tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-07-20 03:00:24 +04:00
parent c9759a55e8
commit aa4f0be914
3 changed files with 16 additions and 8 deletions

View File

@ -25,7 +25,9 @@ APP_NAME=ImageGrid.Viewer
#**********************************************************************
# get all the .less files to process...
CSS_FILES := $(patsubst %.less,%.css,$(wildcard *.less))
#LESS_FILES := $(shell find . -type f -name '*.less')
#CSS_FILES := $(patsubst %.less,%.css,$(LESS_FILES))
CSS_FILES := $(patsubst %.less,%.css,$(wildcard css/*.less))
LIB_DIR=lib
EXT_LIB_DIR=ext-lib
@ -114,9 +116,9 @@ node-deps:
# npm install exif
dev: $(CSS_FILES)
unzip -uj $(wildcard targets/node-webkit/node-webkit-*-win-ia32.zip) -d .
rm -f nwsnapshot.exe credits.html
chmod +x *.{exe,dll}
#unzip -uj $(wildcard targets/node-webkit/node-webkit-*-win-ia32.zip) -d .
#rm -f nwsnapshot.exe credits.html
#chmod +x *.{exe,dll}
#dev-targets:
# mkdir -p targets/node-webkit

View File

@ -2,6 +2,10 @@
<html>
<head>
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/editor.css">
</head>
<body>

View File

@ -143,6 +143,8 @@ var RibbonsPrototype = {
return updateImage(image)
},
// XXX do we need shorthands like shiftImageUp/shiftImageDown/... here?
// XXX this does not align anything, it's just a low level focus...
// XXX interaction animation...
focusImage: function(gid){
@ -240,10 +242,10 @@ var RibbonsPrototype = {
// shorthands...
// XXX should these be here???
rotateCW: function(target){ return this.rotateImage(target, this.CW) },
rotateCCW: function(target){ return this.rotateImage(target, this.CCW) },
flipVertical: function(target){ return this.flipImage(target, this.VERTICAL) },
flipHorizontal: function(target){ return this.flipImage(target, this.HORIZONTAL) },
//rotateCW: function(target){ return this.rotateImage(target, this.CW) },
//rotateCCW: function(target){ return this.rotateImage(target, this.CCW) },
//flipVertical: function(target){ return this.flipImage(target, this.VERTICAL) },
//flipHorizontal: function(target){ return this.flipImage(target, this.HORIZONTAL) },
// Bulk manipulation...