can now drag and drop folders regardless of their content, only containing images will be added to program
This commit is contained in:
@@ -19,6 +19,8 @@ class Bounder {
|
||||
}
|
||||
if (state == 3) {
|
||||
h = -p2.dist(new PVector(mouseX, mouseY));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
void update() {
|
||||
@@ -58,7 +60,7 @@ class Bounder {
|
||||
}
|
||||
}
|
||||
|
||||
void compile() {
|
||||
void compile(boolean Execute) {
|
||||
PVector ptopmid = new PVector((p1.x + p2.x)/2, (p1.y + p2.y)/2);
|
||||
PVector pbotmid = new PVector((p3.x + p4.x)/2, (p3.y + p4.y)/2);
|
||||
|
||||
@@ -100,7 +102,8 @@ class Bounder {
|
||||
|
||||
//String[] runConvert = { "/bin/bash", "-c", "cd " + folderURI + " && mkdir " + folderName + " && " + cmdleft + " && " + cmdright + " && " + cmdpdf };
|
||||
String[] runConvert = { "/bin/bash", "-c", "cd " + folderURI + " && mkdir " + folderName + " && " + cmdleft + " && " + cmdright };
|
||||
exec(runConvert);
|
||||
|
||||
if(Execute) exec(runConvert);
|
||||
|
||||
//println(leftLeftTopX + "," + leftLeftTopY + " " + leftRightTopX + "," + leftRightTopY + " " + leftRightBotX + "," + leftRightBotY + " " + leftLeftBotX + "," + leftLeftBotY);
|
||||
//println(rightLeftTopX + "," + rightLeftTopY + " " + rightRightTopX + "," + rightRightTopY + " " + rightRightBotX + "," + rightRightBotY + " " + rightLeftBotX + "," + rightLeftBotY);
|
||||
|
||||
Reference in New Issue
Block a user