Browse Source

Changed UI

EyeXion 9 months ago
parent
commit
377cf7af11
24 changed files with 31 additions and 34 deletions
  1. 11
    0
      Clavardage.iml
  2. BIN
      build/classes/java/main/app/insa/clav/Core/Model$TimerTaskResponseWait.class
  3. BIN
      build/classes/java/main/app/insa/clav/Core/Model.class
  4. BIN
      build/classes/java/main/app/insa/clav/Core/Utilisateurs.class
  5. BIN
      build/classes/java/main/app/insa/clav/Main.class
  6. BIN
      build/classes/java/main/app/insa/clav/Messages/Message.class
  7. BIN
      build/classes/java/main/app/insa/clav/Messages/MessagePseudo.class
  8. BIN
      build/classes/java/main/app/insa/clav/UIControllers/MainDrawerController$1.class
  9. BIN
      build/classes/java/main/app/insa/clav/UIControllers/MainDrawerController.class
  10. BIN
      build/classes/java/main/app/insa/clav/UIControllers/MainWindowController$1.class
  11. BIN
      build/classes/java/main/app/insa/clav/UIControllers/MainWindowController$2.class
  12. BIN
      build/classes/java/main/app/insa/clav/UIControllers/MainWindowController.class
  13. BIN
      build/classes/java/main/app/insa/clav/UIControllers/PseudoWindowController$1.class
  14. BIN
      build/classes/java/main/app/insa/clav/UIControllers/PseudoWindowController.class
  15. BIN
      build/classes/java/main/app/insa/clav/UIControllers/SplashScreenController.class
  16. BIN
      build/classes/java/main/app/insa/clav/UISubStages/PseudoStage.class
  17. BIN
      build/classes/java/main/app/insa/clav/reseau/UDPInput.class
  18. BIN
      build/classes/java/main/app/insa/clav/reseau/UDPOutput.class
  19. 5
    17
      build/resources/main/fxml/mainWindow.fxml
  20. BIN
      build/resources/main/stylesheets/bgMain.jpg
  21. 5
    0
      build/resources/main/stylesheets/mainWindowStyle.css
  22. 5
    17
      src/main/resources/fxml/mainWindow.fxml
  23. BIN
      src/main/resources/stylesheets/bgMain.jpg
  24. 5
    0
      src/main/resources/stylesheets/mainWindowStyle.css

+ 11
- 0
Clavardage.iml View File

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+  </component>
11
+</module>

BIN
build/classes/java/main/app/insa/clav/Core/Model$TimerTaskResponseWait.class View File


BIN
build/classes/java/main/app/insa/clav/Core/Model.class View File


BIN
build/classes/java/main/app/insa/clav/Core/Utilisateurs.class View File


BIN
build/classes/java/main/app/insa/clav/Main.class View File


BIN
build/classes/java/main/app/insa/clav/Messages/Message.class View File


BIN
build/classes/java/main/app/insa/clav/Messages/MessagePseudo.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/MainDrawerController$1.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/MainDrawerController.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/MainWindowController$1.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/MainWindowController$2.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/MainWindowController.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/PseudoWindowController$1.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/PseudoWindowController.class View File


BIN
build/classes/java/main/app/insa/clav/UIControllers/SplashScreenController.class View File


BIN
build/classes/java/main/app/insa/clav/UISubStages/PseudoStage.class View File


BIN
build/classes/java/main/app/insa/clav/reseau/UDPInput.class View File


BIN
build/classes/java/main/app/insa/clav/reseau/UDPOutput.class View File


+ 5
- 17
build/resources/main/fxml/mainWindow.fxml View File

@@ -6,31 +6,19 @@
6 6
 <?import javafx.scene.control.Label?>
7 7
 <?import javafx.scene.effect.Shadow?>
8 8
 <?import javafx.scene.layout.AnchorPane?>
9
-<?import javafx.scene.paint.LinearGradient?>
10
-<?import javafx.scene.paint.Stop?>
11 9
 <?import javafx.scene.text.Font?>
12 10
 
13
-<AnchorPane fx:id="rootPane" maxHeight="400.0" maxWidth="600.0" minHeight="400.0" minWidth="600.0" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.insa.clav.UIControllers.MainWindowController">
11
+<AnchorPane id="rootPane" fx:id="rootPane" maxHeight="400.0" maxWidth="600.0" minHeight="400.0" minWidth="600.0" prefHeight="400.0" prefWidth="600.0" stylesheets="@../stylesheets/mainWindowStyle.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.insa.clav.UIControllers.MainWindowController">
14 12
    <children>
15 13
       <JFXHamburger fx:id="mainHamburger" layoutX="14.0" layoutY="21.0" onMouseClicked="#clickMainHamburgerHandler">
16 14
          <effect>
17 15
             <Shadow color="#b103ff" height="0.0" radius="0.0" width="0.0" />
18 16
          </effect></JFXHamburger>
19 17
       <JFXDrawer fx:id="mainDrawer" defaultDrawerSize="120.0" direction="RIGHT" layoutX="460.0" prefHeight="400.0" prefWidth="150.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="460.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
20
-      <JFXListView fx:id="userListView" layoutX="40.0" layoutY="96.0" prefHeight="304.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="40.0" AnchorPane.rightAnchor="360.0" AnchorPane.topAnchor="96.0" />
21
-      <Label fx:id="mainLabel" layoutX="74.0" layoutY="16.0" prefHeight="30.0" prefWidth="240.0" text="Welcome, please choose a pseudo" textAlignment="CENTER" wrapText="true">
18
+      <JFXListView fx:id="userListView" depth="10" layoutX="40.0" layoutY="96.0" prefHeight="304.0" prefWidth="200.0" style="-fx-background-color: a1c3f7;" verticalGap="1.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="40.0" AnchorPane.rightAnchor="360.0" AnchorPane.topAnchor="96.0" />
19
+      <Label fx:id="mainLabel" layoutX="74.0" layoutY="16.0" prefHeight="30.0" prefWidth="302.0" style="-fx-font-weight: bold;" text="Welcome, please choose a pseudo" textAlignment="CENTER" textFill="#ed0e7f" wrapText="true">
22 20
          <font>
23
-            <Font name="Ubuntu" size="13.0" />
24
-         </font>
25
-         <textFill>
26
-            <LinearGradient endX="1.0" endY="1.0">
27
-               <stops>
28
-                  <Stop color="BLACK" />
29
-                  <Stop color="BLACK" offset="0.24444444444444446" />
30
-                  <Stop color="#b22e6c" offset="0.7925925925925926" />
31
-                  <Stop color="#b22e6c" offset="1.0" />
32
-               </stops>
33
-            </LinearGradient>
34
-         </textFill></Label>
21
+            <Font name="Ubuntu" size="17.0" />
22
+         </font></Label>
35 23
    </children>
36 24
 </AnchorPane>

BIN
build/resources/main/stylesheets/bgMain.jpg View File


+ 5
- 0
build/resources/main/stylesheets/mainWindowStyle.css View File

@@ -0,0 +1,5 @@
1
+#rootPane{
2
+    -fx-background-image: url("bgMain.jpg");
3
+    -fx-background-repeat : stretch;
4
+    -fx-background-size : 600 400;
5
+}

+ 5
- 17
src/main/resources/fxml/mainWindow.fxml View File

@@ -6,31 +6,19 @@
6 6
 <?import javafx.scene.control.Label?>
7 7
 <?import javafx.scene.effect.Shadow?>
8 8
 <?import javafx.scene.layout.AnchorPane?>
9
-<?import javafx.scene.paint.LinearGradient?>
10
-<?import javafx.scene.paint.Stop?>
11 9
 <?import javafx.scene.text.Font?>
12 10
 
13
-<AnchorPane fx:id="rootPane" maxHeight="400.0" maxWidth="600.0" minHeight="400.0" minWidth="600.0" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.insa.clav.UIControllers.MainWindowController">
11
+<AnchorPane id="rootPane" fx:id="rootPane" maxHeight="400.0" maxWidth="600.0" minHeight="400.0" minWidth="600.0" prefHeight="400.0" prefWidth="600.0" stylesheets="@../stylesheets/mainWindowStyle.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.insa.clav.UIControllers.MainWindowController">
14 12
    <children>
15 13
       <JFXHamburger fx:id="mainHamburger" layoutX="14.0" layoutY="21.0" onMouseClicked="#clickMainHamburgerHandler">
16 14
          <effect>
17 15
             <Shadow color="#b103ff" height="0.0" radius="0.0" width="0.0" />
18 16
          </effect></JFXHamburger>
19 17
       <JFXDrawer fx:id="mainDrawer" defaultDrawerSize="120.0" direction="RIGHT" layoutX="460.0" prefHeight="400.0" prefWidth="150.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="460.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
20
-      <JFXListView fx:id="userListView" layoutX="40.0" layoutY="96.0" prefHeight="304.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="40.0" AnchorPane.rightAnchor="360.0" AnchorPane.topAnchor="96.0" />
21
-      <Label fx:id="mainLabel" layoutX="74.0" layoutY="16.0" prefHeight="30.0" prefWidth="240.0" text="Welcome, please choose a pseudo" textAlignment="CENTER" wrapText="true">
18
+      <JFXListView fx:id="userListView" depth="10" layoutX="40.0" layoutY="96.0" prefHeight="304.0" prefWidth="200.0" style="-fx-background-color: a1c3f7;" verticalGap="1.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="40.0" AnchorPane.rightAnchor="360.0" AnchorPane.topAnchor="96.0" />
19
+      <Label fx:id="mainLabel" layoutX="74.0" layoutY="16.0" prefHeight="30.0" prefWidth="302.0" style="-fx-font-weight: bold;" text="Welcome, please choose a pseudo" textAlignment="CENTER" textFill="#ed0e7f" wrapText="true">
22 20
          <font>
23
-            <Font name="Ubuntu" size="13.0" />
24
-         </font>
25
-         <textFill>
26
-            <LinearGradient endX="1.0" endY="1.0">
27
-               <stops>
28
-                  <Stop color="BLACK" />
29
-                  <Stop color="BLACK" offset="0.24444444444444446" />
30
-                  <Stop color="#b22e6c" offset="0.7925925925925926" />
31
-                  <Stop color="#b22e6c" offset="1.0" />
32
-               </stops>
33
-            </LinearGradient>
34
-         </textFill></Label>
21
+            <Font name="Ubuntu" size="17.0" />
22
+         </font></Label>
35 23
    </children>
36 24
 </AnchorPane>

BIN
src/main/resources/stylesheets/bgMain.jpg View File


+ 5
- 0
src/main/resources/stylesheets/mainWindowStyle.css View File

@@ -0,0 +1,5 @@
1
+#rootPane{
2
+    -fx-background-image: url("bgMain.jpg");
3
+    -fx-background-repeat : stretch;
4
+    -fx-background-size : 600 400;
5
+}

Loading…
Cancel
Save