This repository has been archived on 2020-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
FRC2016-old/Robot2016/wpilib/tools/plugins/built-in/bool/BadBool.fxml
Jason 6d0e75aa64 Added new Robot project using PWM drive train... Much simpler...
Signed-off-by: Jason <jason@dublinschool.org>
2016-02-09 16:23:45 -05:00

31 lines
920 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.shape.*?>
<?language javascript?>
<dashfx.controls.bases.BooleanControlBase fx:id="base" xmlns:fx="http://javafx.com/fxml">
<fx:script>
function moused(e)
{
base.setValue(!base.getValue());
}
</fx:script>
<ui>
<HBox alignment="CENTER_LEFT" prefHeight="-1.0" prefWidth="-1.0" onMouseClicked="moused(event)">
<children>
<StackPane prefHeight="-1.0" prefWidth="-1.0" style="-fx-background-color: #df0040;" HBox.hgrow="ALWAYS">
<children>
<StackPane prefHeight="16.0" prefWidth="16.0" style="-fx-background-color: #60dc00;" visible="${base.value}" />
</children>
</StackPane>
</children>
</HBox>
</ui>
</dashfx.controls.bases.BooleanControlBase>