adaptation interfaces boolean

This commit is contained in:
Chiara
2020-05-05 14:20:18 +02:00
parent 8e348d5a3e
commit d7753d5182
18 changed files with 64 additions and 363 deletions

View File

@@ -12,8 +12,14 @@
<children>
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
<children>
<Button layoutX="103.0" layoutY="133.0" mnemonicParsing="false" onMouseClicked="#capaciteLieu" text="%utiliser.capaciter.lieux" />
<Button layoutX="104.0" layoutY="97.0" mnemonicParsing="false" onMouseClicked="#ignorerEtape" prefHeight="29.0" prefWidth="142.0" text="%sauter.etape" />
<Button fx:id="ouiButton" layoutX="103.0" layoutY="133.0" mnemonicParsing="false" text="%utiliser.capaciter.lieux">
<font>
<Font size="11.0" />
</font></Button>
<Button fx:id="nonButton" layoutX="104.0" layoutY="97.0" mnemonicParsing="false" text="%sauter.etape">
<font>
<Font size="11.0" />
</font></Button>
<ImageView fitHeight="114.0" fitWidth="82.0" layoutX="14.0" layoutY="33.0" pickOnBounds="true" preserveRatio="true" />
<Label fx:id="descriptionLieu" layoutX="96.0" layoutY="33.0" text="%description.capacite.carte.lieux">
<font>

View File

@@ -5,13 +5,13 @@
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour2c1Controller">
<children>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
<children>
<Label layoutX="71.0" layoutY="57.0" text="%attaquer.ou.soigner" />
<Button layoutX="86.0" layoutY="100.0" mnemonicParsing="false" text="%se.soigner" />
<Label fx:id="Titre" layoutX="9.0" layoutY="32.0" text="%attaquer.ou.soigner" />
<Button fx:id="nonButton" layoutX="142.0" layoutY="119.0" mnemonicParsing="false" text="%se.soigner" />
<Button fx:id="ouiButton" layoutX="29.0" layoutY="119.0" mnemonicParsing="false" text="Attaquer !" />
</children>
</Pane>
</children>

View File

@@ -1,81 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.text.Font?>
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour3Controller">
<children>
<Button layoutX="76.0" layoutY="76.0" mnemonicParsing="false" onMouseClicked="#pasAttaquer" text="Ne pas attaquer" />
<HBox layoutY="1.0">
<children>
<Button mnemonicParsing="false" text="Joueur 1">
<font>
<Font size="10.0" />
</font>
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Button>
<Button mnemonicParsing="false" text="Joueur 2">
<font>
<Font size="10.0" />
</font>
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Button>
<Button mnemonicParsing="false" text="Joueur 3">
<font>
<Font size="10.0" />
</font>
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Button>
<Button mnemonicParsing="false" text="Joueur 4">
<font>
<Font size="10.0" />
</font>
</Button>
</children>
</HBox>
<HBox layoutX="1.0" layoutY="153.0">
<children>
<Button mnemonicParsing="false" text="Joueur 5">
<font>
<Font size="10.0" />
</font>
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Button>
<Button mnemonicParsing="false" text="Joueur 6">
<font>
<Font size="10.0" />
</font>
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Button>
<Button mnemonicParsing="false" text="Joueur 7">
<font>
<Font size="10.0" />
</font>
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Button>
<Button mnemonicParsing="false" text="Joueur 8">
<font>
<Font size="10.0" />
</font>
</Button>
</children>
</HBox>
<Label layoutX="73.0" layoutY="55.0" text="Attaquer un joueur !" />
<Button fx:id="nonButton" layoutX="136.0" layoutY="128.0" mnemonicParsing="false" text="Ne pas attaquer" />
<Label fx:id="titre" layoutX="40.0" layoutY="31.0" text="Voulez-vous attaquer un joueur ?" />
<Button fx:id="ouiButton" layoutX="21.0" layoutY="128.0" mnemonicParsing="false" text="Attaquer !" />
</children>
</Pane>

View File

@@ -7,7 +7,7 @@
<AnchorPane fx:id="root" minHeight="0.0" minWidth="0.0" prefHeight="129.0" prefWidth="201.0" style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.ChoisirBoolean">
<children>
<Label layoutX="8.0" layoutY="-11.0" prefHeight="26.0" prefWidth="128.0" text="Voulez vous faire cette action ?" AnchorPane.bottomAnchor="77.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="7.0" AnchorPane.topAnchor="-11.0">
<Label fx:id="titre" layoutX="8.0" layoutY="-11.0" prefHeight="26.0" prefWidth="128.0" text="Voulez vous faire cette action ?" AnchorPane.bottomAnchor="77.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="7.0" AnchorPane.topAnchor="-11.0">
<font>
<Font size="13.0" />
</font>