From 33f1fa2783041fbf78bd4627347c0fefe01711c7 Mon Sep 17 00:00:00 2001 From: Jeff Wallace Date: Mon, 23 Sep 2013 09:56:30 -0400 Subject: [PATCH] Removed color from FX video controls. --- .../autopsy/corecomponents/FXVideoPanel.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/FXVideoPanel.java b/Core/src/org/sleuthkit/autopsy/corecomponents/FXVideoPanel.java index 447eab4491..1ba879364c 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/FXVideoPanel.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/FXVideoPanel.java @@ -343,15 +343,6 @@ public class FXVideoPanel extends MediaViewVideoPanel { private static final String STOP_TEXT = "X"; - /** CSS-formatted skin for pauseButton when showing PLAY_TEXT. **/ - private static final String PLAY_STYLE = "-fx-text-fill: green;"; - - /** CSS-formatted skin for pauseButton when showing PAUSE_TEXT. **/ - private static final String PAUSE_STYLE = "-fx-font-weight: bolder;"; - - /** CSS-formatted skin for stopButton. **/ - private static final String STOP_STYLE = "-fx-text-fill: red; -fx-font-weight: bold;"; - public MediaPane() { // Video Display mediaViewPane = new HBox(); @@ -368,9 +359,7 @@ public class FXVideoPanel extends MediaViewVideoPanel { mediaTools.setPadding(new Insets(5, 10, 5, 10)); pauseButton = new Button(PLAY_TEXT); - pauseButton.setStyle(PLAY_STYLE); stopButton = new Button(STOP_TEXT); - stopButton.setStyle(STOP_STYLE); mediaTools.getChildren().add(pauseButton); mediaTools.getChildren().add(new Label(" ")); mediaTools.getChildren().add(stopButton); @@ -670,7 +659,6 @@ public class FXVideoPanel extends MediaViewVideoPanel { @Override public void run() { pauseButton.setText(PLAY_TEXT); - pauseButton.setStyle(PLAY_STYLE); } } @@ -681,7 +669,6 @@ public class FXVideoPanel extends MediaViewVideoPanel { @Override public void run() { pauseButton.setText(PAUSE_TEXT); - pauseButton.setStyle(PAUSE_STYLE); } } }