Commit 4dc09dda authored by ludwig's avatar ludwig
Browse files

Hotfix for flash conversion

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@105 0463f305-d864-43cb-8a47-61cf597d4139
parent d2a8180d
...@@ -73,7 +73,7 @@ public class FlashActionHelper { ...@@ -73,7 +73,7 @@ public class FlashActionHelper {
// Control elements // Control elements
// //////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////
Button createButtonPlay() throws IOException { Button createButtonPlay() throws IOException {
Shape shapePlay = loadImage("../../../resources/FlashPlay.png"); Shape shapePlay = loadImage("FlashPlay.png");
Button buttonPlay = new Button(false); Button buttonPlay = new Button(false);
buttonPlay.addLayer(shapePlay, new Transform(), new AlphaTransform(), 0, true, true, false, true); buttonPlay.addLayer(shapePlay, new Transform(), new AlphaTransform(), 0, true, true, false, true);
...@@ -96,7 +96,7 @@ public class FlashActionHelper { ...@@ -96,7 +96,7 @@ public class FlashActionHelper {
} }
Button createButtonStop() throws IOException { Button createButtonStop() throws IOException {
Shape shapeStop = loadImage("../../../resources/FlashPause.png"); Shape shapeStop = loadImage("FlashPause.png");
Button buttonStop = new Button(false); Button buttonStop = new Button(false);
buttonStop.addLayer(shapeStop, new Transform(), new AlphaTransform(), 0, true, true, false, true); buttonStop.addLayer(shapeStop, new Transform(), new AlphaTransform(), 0, true, true, false, true);
...@@ -117,7 +117,7 @@ public class FlashActionHelper { ...@@ -117,7 +117,7 @@ public class FlashActionHelper {
} }
Button createButtonNextSlide() throws IOException { Button createButtonNextSlide() throws IOException {
Shape shapeNext = loadImage("../../../resources/FlashNext.png"); Shape shapeNext = loadImage("FlashNext.png");
Button buttonNextSlide = new Button(false); Button buttonNextSlide = new Button(false);
buttonNextSlide.addLayer(shapeNext, new Transform(), new AlphaTransform(), 0, true, true, false, true); buttonNextSlide.addLayer(shapeNext, new Transform(), new AlphaTransform(), 0, true, true, false, true);
...@@ -150,7 +150,7 @@ public class FlashActionHelper { ...@@ -150,7 +150,7 @@ public class FlashActionHelper {
} }
Button createButtonPreviousSlide() throws IOException { Button createButtonPreviousSlide() throws IOException {
Shape shapePrev = loadImage("../../../resources/FlashPrev.png"); Shape shapePrev = loadImage("FlashPrev.png");
Button buttonPreviousSlide = new Button(false); Button buttonPreviousSlide = new Button(false);
buttonPreviousSlide.addLayer(shapePrev, new Transform(), new AlphaTransform(), 0, true, true, false, true); buttonPreviousSlide.addLayer(shapePrev, new Transform(), new AlphaTransform(), 0, true, true, false, true);
...@@ -182,7 +182,7 @@ public class FlashActionHelper { ...@@ -182,7 +182,7 @@ public class FlashActionHelper {
} }
Button createButtonBackward() throws IOException { Button createButtonBackward() throws IOException {
Shape shapeNext = loadImage("../../../resources/FlashFastBackward.png"); Shape shapeNext = loadImage("FlashFastBackward.png");
Button button = new Button(false); Button button = new Button(false);
button.addLayer(shapeNext, new Transform(), new AlphaTransform(), 0, true, true, false, true); button.addLayer(shapeNext, new Transform(), new AlphaTransform(), 0, true, true, false, true);
...@@ -197,7 +197,7 @@ public class FlashActionHelper { ...@@ -197,7 +197,7 @@ public class FlashActionHelper {
} }
Button createButtonForward() throws IOException { Button createButtonForward() throws IOException {
Shape shapeNext = loadImage("../../../resources/FlashFastForward.png"); Shape shapeNext = loadImage("FlashFastForward.png");
Button button = new Button(false); Button button = new Button(false);
button.addLayer(shapeNext, new Transform(), new AlphaTransform(), 0, true, true, false, true); button.addLayer(shapeNext, new Transform(), new AlphaTransform(), 0, true, true, false, true);
...@@ -212,7 +212,7 @@ public class FlashActionHelper { ...@@ -212,7 +212,7 @@ public class FlashActionHelper {
} }
Button createButtonScrollThumbnailDown() throws IOException { Button createButtonScrollThumbnailDown() throws IOException {
Shape shapeScrollThumbnailDown = loadImage("../../../resources/FlashDownWide.png"); Shape shapeScrollThumbnailDown = loadImage("FlashDownWide.png");
Button buttonScrollThumbnailDown = new Button(false); Button buttonScrollThumbnailDown = new Button(false);
buttonScrollThumbnailDown.addLayer(shapeScrollThumbnailDown, new Transform(), new AlphaTransform(), 0, true, buttonScrollThumbnailDown.addLayer(shapeScrollThumbnailDown, new Transform(), new AlphaTransform(), 0, true,
...@@ -251,7 +251,7 @@ public class FlashActionHelper { ...@@ -251,7 +251,7 @@ public class FlashActionHelper {
} }
Button createButtonScrollThumbnailUp() throws IOException { Button createButtonScrollThumbnailUp() throws IOException {
Shape shapeScrollThumbnailUp = loadImage("../../../resources/FlashUpWide.png"); Shape shapeScrollThumbnailUp = loadImage("FlashUpWide.png");
Button buttonScrollThumbnailUp = new Button(false); Button buttonScrollThumbnailUp = new Button(false);
buttonScrollThumbnailUp.addLayer(shapeScrollThumbnailUp, new Transform(), new AlphaTransform(), 0, true, true, buttonScrollThumbnailUp.addLayer(shapeScrollThumbnailUp, new Transform(), new AlphaTransform(), 0, true, true,
...@@ -900,7 +900,7 @@ public class FlashActionHelper { ...@@ -900,7 +900,7 @@ public class FlashActionHelper {
Frame timeFrame = timeClip.appendFrame(); Frame timeFrame = timeClip.appendFrame();
// timeFrame.placeSymbol(field, preferences.framebufferWidth / 2 - 12, preferences.framebufferHeight + 17, 1); // timeFrame.placeSymbol(field, preferences.framebufferWidth / 2 - 12, preferences.framebufferHeight + 17, 1);
// add border // add border
timeFrame.placeSymbol(loadImage("../../../resources/FlashTimeBorder.png"), 2, 2); timeFrame.placeSymbol(loadImage("FlashTimeBorder.png"), 2, 2);
// add time label // add time label
timeFrame.placeSymbol(field, 0, 4); timeFrame.placeSymbol(field, 0, 4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment