Skip to content
Snippets Groups Projects
Select Git revision
  • fb3c701502917bdd625c3a09d6cd8f1f64d0e27b
  • main default protected
2 results

CONTRIBUTING.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    After you've reviewed these contribution guidelines, you'll be all set to contribute to this project.
    view.fxml 2.18 KiB
    <?xml version="1.0" encoding="UTF-8"?>
    
    <?import javafx.scene.control.Button?>
    <?import javafx.scene.layout.HBox?>
    <?import javafx.scene.layout.VBox?>
    <?import view.FirefighterGrid?>
    
    <?import javafx.scene.control.ToggleButton?>
    <?import javafx.scene.control.Separator?>
    <?import javafx.scene.control.Label?>
    <HBox styleClass="background" stylesheets="@DarkTheme.css"
          xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml"
          fx:controller="controller.Controller" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity">
      <VBox>
        <Separator maxHeight="-Infinity" maxWidth="-Infinity"
                   prefHeight="24.0" prefWidth="200.0"/>
        <Label maxHeight="-Infinity" maxWidth="-Infinity" alignment="CENTER" prefHeight="24.0" prefWidth="200.0"
               text="Generation number"/>
        <Label fx:id="generationNumberLabel" alignment="CENTER" contentDisplay="TEXT_ONLY"
               maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="24.0" prefWidth="200.0"/>
        <Separator maxHeight="-Infinity" maxWidth="-Infinity"
                   prefHeight="24.0" prefWidth="200.0"/>
        <Button fx:id="restartButton" maxHeight="-Infinity" maxWidth="-Infinity"
                mnemonicParsing="false" onAction="#restartButtonAction" prefHeight="24.0" prefWidth="200.0"
                text="Restart"/>
        <Button fx:id="oneStepButton" maxHeight="-Infinity" maxWidth="-Infinity"
                mnemonicParsing="false" onAction="#oneStepButtonAction" prefHeight="24.0" prefWidth="200.0"
                text="One step"/>
        <ToggleButton fx:id="playToggleButton" maxHeight="-Infinity" maxWidth="-Infinity"
                      mnemonicParsing="false" onAction="#playToggleButtonAction" prefHeight="24.0"
                      prefWidth="200.0" styleClass="button" text="Play"/>
        <ToggleButton fx:id="pauseToggleButton" maxHeight="-Infinity" maxWidth="-Infinity"
                      mnemonicParsing="false" onAction="#pauseToggleButtonAction" prefHeight="24.0"
                      prefWidth="200.0" styleClass="button" text="Pause"/>
      </VBox>
      <FirefighterGrid fx:id="grid"
                       xmlns="http://javafx.com/javafx"
                       xmlns:fx="http://javafx.com/fxml">
      </FirefighterGrid>
    </HBox>