Add resources
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
<?import javafx.scene.Cursor?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.ProgressBar?>
|
||||
<?import javafx.scene.control.Separator?>
|
||||
<?import javafx.scene.control.SplitPane?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.StackPane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
@@ -19,9 +21,8 @@
|
||||
<items>
|
||||
<VBox fx:id="leftPanel" alignment="TOP_RIGHT" spacing="4.0">
|
||||
<children>
|
||||
<Button alignment="TOP_LEFT" maxWidth="1.7976931348623157E308" mnemonicParsing="false" styleClass="active" text="Chat" />
|
||||
<Button alignment="TOP_LEFT" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Game" />
|
||||
<Button alignment="TOP_LEFT" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Whiteboard" />
|
||||
<Button alignment="TOP_LEFT" maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#returnToChat" text="Chat" />
|
||||
<Button alignment="TOP_LEFT" maxWidth="1.7976931348623157E308" mnemonicParsing="false" styleClass="active" text="Game" />
|
||||
<Button alignment="TOP_LEFT" maxWidth="1.7976931348623157E308" mnemonicParsing="false">
|
||||
<graphic>
|
||||
<CheckBox fx:id="audioEnabled" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" mnemonicParsing="false" selected="true" text="Sound" />
|
||||
@@ -38,7 +39,7 @@
|
||||
</VBox>
|
||||
<StackPane fx:id="mainStackPane" prefHeight="150.0" prefWidth="200.0">
|
||||
<children>
|
||||
<VBox maxHeight="1.7976931348623157E308" spacing="4.0" styleClass="chat-container">
|
||||
<VBox fx:id="mainContainer" maxHeight="1.7976931348623157E308" spacing="4.0" styleClass="chat-container">
|
||||
<children>
|
||||
<HBox prefHeight="28.0" styleClass="header">
|
||||
<children>
|
||||
@@ -52,8 +53,8 @@
|
||||
</ImageView>
|
||||
<VBox alignment="CENTER_LEFT" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" HBox.hgrow="ALWAYS">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h2" text="ECS Chat" />
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="The ultimate chatroom." />
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h2" text="ECS Chat Game" />
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="The ultimate game." />
|
||||
</children>
|
||||
<opaqueInsets>
|
||||
<Insets />
|
||||
@@ -65,6 +66,16 @@
|
||||
</children>
|
||||
</HBox>
|
||||
<Separator prefWidth="200.0" />
|
||||
<BorderPane fx:id="gameBoardContainer" VBox.vgrow="ALWAYS">
|
||||
<center>
|
||||
<VBox fx:id="gameCoverContainer" alignment="CENTER" prefHeight="200.0" prefWidth="100.0" spacing="16.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<Text fx:id="gameCoverTitle" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h1" text="Play The Game..." />
|
||||
<Button mnemonicParsing="false" onAction="#startGame" styleClass="button-primary" text="Play" />
|
||||
</children>
|
||||
</VBox>
|
||||
</center></BorderPane>
|
||||
<ProgressBar fx:id="progressBar" maxWidth="1.7976931348623157E308" prefHeight="16.0" progress="1.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
<ImageView fx:id="showRightPanel" fitHeight="24.0" fitWidth="24.0" onMouseClicked="#toggleRightPanel" pickOnBounds="true" preserveRatio="true" StackPane.alignment="CENTER_RIGHT">
|
||||
@@ -101,11 +112,31 @@
|
||||
</ImageView>
|
||||
</children>
|
||||
</StackPane>
|
||||
<VBox fx:id="rightPanel" prefHeight="200.0" prefWidth="100.0" spacing="4.0">
|
||||
<VBox fx:id="rightPanel" prefHeight="200.0" prefWidth="100.0" spacing="8.0">
|
||||
<styleClass>
|
||||
<String fx:value="menu" />
|
||||
<String fx:value="right-menu" />
|
||||
</styleClass>
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h2" text="Status" />
|
||||
<VBox spacing="4.0" styleClass="outline-section">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h3" text="Current score" />
|
||||
<Text fx:id="currentScoreField" strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h1" text="0" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox fx:id="currentColourContainer" spacing="8.0" styleClass="outline-section">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h3" text="Current colour" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox spacing="8.0" styleClass="outline-section">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" styleClass="h3" text="High scores" />
|
||||
<VBox fx:id="highScoresContainer" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</items>
|
||||
<stylesheets>
|
||||
|
||||
Reference in New Issue
Block a user