-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFXMLDocument.fxml
More file actions
136 lines (134 loc) · 11.6 KB
/
FXMLDocument.fxml
File metadata and controls
136 lines (134 loc) · 11.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollPane?>
<?import javafx.scene.control.Slider?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.text.Font?>
<AnchorPane id="an1" prefHeight="624.0" prefWidth="1179.0" stylesheets="@style.css" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="slide_pics.FXMLDocumentController">
<children>
<Button id="btn_plus_moins" fx:id="plus_brightness" layoutX="1060.0" layoutY="39.0" mnemonicParsing="false" onAction="#brightness_plus" stylesheets="@style.css" text="+" />
<Label layoutX="1063.0" layoutY="14.0" prefHeight="17.0" prefWidth="70.0" text="luminosité" textFill="#fffdfd">
<font>
<Font name="System Bold" size="12.0" />
</font></Label>
<Button id="btn_plus_moins" fx:id="moins_brightness" layoutX="1098.0" layoutY="39.0" mnemonicParsing="false" onAction="#brightness_moins" prefHeight="31.0" prefWidth="31.0" stylesheets="@style.css" text="-" />
<Button id="btn_plus_moins" fx:id="plus_contrast" layoutX="1060.0" layoutY="97.0" mnemonicParsing="false" onAction="#contrast_plus" stylesheets="@style.css" text="+" />
<Label layoutX="1065.0" layoutY="76.0" text="Contraste" textFill="WHITE">
<font>
<Font name="System Bold" size="12.0" />
</font></Label>
<Button id="btn_plus_moins" fx:id="moins_contrast" layoutX="1098.0" layoutY="97.0" mnemonicParsing="false" onAction="#contrast_moins" prefHeight="31.0" prefWidth="31.0" stylesheets="@style.css" text="-" />
<Button id="btn_plus_moins" fx:id="plus_saturation" layoutX="1060.0" layoutY="153.0" mnemonicParsing="false" onAction="#saturation_plus" stylesheets="@style.css" text="+" />
<Label layoutX="1065.0" layoutY="133.0" text="Saturation" textFill="WHITE">
<font>
<Font name="System Bold" size="12.0" />
</font></Label>
<Button id="btn_plus_moins" fx:id="moins_saturation" layoutX="1098.0" layoutY="153.0" mnemonicParsing="false" onAction="#saturation_moins" prefHeight="31.0" prefWidth="31.0" stylesheets="@style.css" text="-" />
<ChoiceBox id="choicebox" fx:id="choiceBox" layoutX="985.0" layoutY="219.0" prefWidth="150.0" stylesheets="@style.css" />
<Label layoutX="985.0" layoutY="198.0" text="Effects" textFill="WHITE" />
<SplitPane dividerPositions="0.6705685618729097" layoutX="-1.0" layoutY="-2.0" orientation="VERTICAL" prefHeight="655.0" prefWidth="926.0">
<items>
<AnchorPane id="an2" minHeight="0.0" minWidth="0.0" prefHeight="390.0" prefWidth="884.0" style="-fx-effect: innershadow(THREE_PASS_BOX, 0,0,0,30);;" stylesheets="@style.css">
<children>
<ImageView fitHeight="30.0" fitWidth="30.0" layoutX="145.0" layoutY="179.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../img/save_icon.png" />
</image>
</ImageView>
<ImageView fitHeight="31.0" fitWidth="30.0" layoutX="143.0" layoutY="87.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../img/add_icons.png" />
</image>
</ImageView>
<Button id="importer" fx:id="save_image" layoutX="15.0" layoutY="173.0" onAction="#SauvegarderIMG" prefHeight="40.0" prefWidth="130.0" stylesheets="@style.css" text="Sauvegarder" />
<Button id="zoom_plus" fx:id="zom_plus" layoutX="6.0" layoutY="270.0" onAction="#zoom_plus" prefHeight="72.0" prefWidth="71.0" style="-fx-background-color: transparent; -fx-alignment: left; -fx-background-image: url('img/zoom_plus.png');;" stylesheets="@style.css" />
<Button id="importer" layoutX="15.0" layoutY="82.0" mnemonicParsing="false" onAction="#ouvrir_plusieurs_image" prefHeight="40.0" prefWidth="130.0" text="Importer ++" />
<Button id="zoom_moins" fx:id="zoom_moins" layoutX="84.0" layoutY="270.0" onAction="#zoom_moins" prefHeight="72.0" prefWidth="71.0" style="-fx-background-image: url('img/zoom_moins.png'); -fx-alignment: left; -fx-background-color: transparent;" stylesheets="@style.css" />
<AnchorPane layoutX="256.0" layoutY="62.0" minHeight="0.0" minWidth="0.0" prefHeight="327.0" prefWidth="619.0" style="-fx-background-color: #1D6363;">
<children>
<ScrollPane id="scroll" layoutX="-6.0" layoutY="-1.0" prefHeight="342.0" prefWidth="642.0" style="-fx-background-color: #1D6363;" stylesheets="@style.css">
<content>
<ImageView fx:id="img_v" fitHeight="347.0" fitWidth="630.0" pickOnBounds="true" preserveRatio="true" />
</content>
</ScrollPane>
</children>
</AnchorPane>
<Label id="logo" layoutX="7.0" layoutY="-16.0" prefHeight="88.0" prefWidth="188.0" stylesheets="@style.css" text="HMFx">
<font>
<Font name="Aharoni Bold" size="34.0" />
</font>
</Label>
<Label layoutX="205.0" layoutY="34.0" text="Slide Show + Éditeur Photo" textFill="#78b5ad">
<font>
<Font name="Arial" size="12.0" />
</font>
</Label>
<Button id="zoom" fx:id="zoom_moins1" layoutY="362.0" onAction="#zoom_moins" prefHeight="72.0" prefWidth="188.0" style="-fx-background-image: url('img/arrow_shalk.png'); -fx-alignment: left; -fx-background-color: transparent;" stylesheets="@style.css" />
<Button layoutX="7.0" layoutY="46.0" mnemonicParsing="false" prefHeight="30.0" prefWidth="130.0" style="-fx-background-image: url(img/brush_icon.png);; -fx-background-color: transparent;;" />
<ImageView fitHeight="31.0" fitWidth="30.0" layoutX="143.0" layoutY="133.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../img/add_icons.png" />
</image>
</ImageView>
<Button id="importer" layoutX="15.0" layoutY="128.0" mnemonicParsing="false" onAction="#ajouter_image" prefHeight="40.0" prefWidth="130.0" text="Importer" />
<ImageView fitHeight="21.0" fitWidth="21.0" layoutX="163.0" layoutY="77.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../img/add_icons.png" />
</image>
</ImageView>
<TextField fx:id="largeur" layoutX="643.0" layoutY="19.0" prefHeight="31.0" prefWidth="70.0" promptText="largeur" />
<TextField fx:id="hauteur" layoutX="722.0" layoutY="19.0" prefHeight="31.0" prefWidth="70.0" promptText="hauteur" />
<Button id="btn_redimensionner" fx:id="plus_brightness1" layoutX="802.0" layoutY="18.0" mnemonicParsing="false" onAction="#redimensionner" prefHeight="33.0" prefWidth="89.0" stylesheets="@style.css" text="couper" />
<TextField fx:id="echellY" layoutX="565.0" layoutY="19.0" prefHeight="31.0" prefWidth="70.0" promptText="ÉchellY" />
<TextField fx:id="echellX" layoutX="487.0" layoutY="19.0" prefHeight="31.0" prefWidth="70.0" promptText="ÉchellX" />
</children>
</AnchorPane>
<AnchorPane id="an3" minHeight="0.0" minWidth="0.0" prefHeight="168.0" prefWidth="924.0" stylesheets="@style.css">
<children>
<ScrollPane id="scroll" prefHeight="189.0" prefWidth="924.0" stylesheets="@style.css">
<content>
<HBox id="an3" fx:id="hbox" prefHeight="189.0" prefWidth="906.0" style="-fx-border-color: 6099AB; -fx-background-color: 6099AB;" stylesheets="@style.css">
<opaqueInsets>
<Insets />
</opaqueInsets>
</HBox>
</content>
</ScrollPane>
</children></AnchorPane>
</items>
</SplitPane>
<Slider fx:id="opacity" layoutX="968.0" layoutY="351.0" max="1.0" value="1.0" />
<Slider fx:id="sepia" layoutX="968.0" layoutY="388.0" max="1.0" value="1.0" />
<Label layoutX="1016.0" layoutY="335.0" text="Opacity" textFill="WHITE" />
<Label layoutX="1020.0" layoutY="373.0" text="Sepia" textFill="WHITE" />
<Label fx:id="opacityValue" layoutX="1122.0" layoutY="350.0" prefHeight="21.0" prefWidth="31.0" text="1" textFill="WHITE" />
<Label fx:id="sepiaValue" layoutX="1122.0" layoutY="387.0" prefHeight="21.0" prefWidth="31.0" text="1" textFill="WHITE" />
<Button id="btn_play" layoutX="1037.0" layoutY="541.0" mnemonicParsing="false" onAction="#Start_Slide_Show" prefHeight="50.0" prefWidth="50.0" style="-fx-background-image: url('img/fx_play.png'); -fx-background-color: transparent;" stylesheets="@style.css" />
<Slider fx:id="time_between_pics" layoutX="997.0" layoutY="621.0" max="10.0" min="1.0" value="1.0" />
<Label layoutX="991.0" layoutY="597.0" text="Interval de temps" textFill="WHITE" />
<Label fx:id="time" layoutX="971.0" layoutY="618.0" prefHeight="21.0" prefWidth="31.0" text="1" textFill="WHITE" />
<Button id="btn_stop" layoutX="1037.0" layoutY="475.0" mnemonicParsing="false" onAction="#stop_timer" prefHeight="50.0" prefWidth="50.0" style="-fx-background-image: url('img/fx_stop.png');; -fx-background-color: transparent;" stylesheets="@style.css" />
<Button id="btn_next" layoutX="1101.0" layoutY="508.0" mnemonicParsing="false" onAction="#Next_Image" prefHeight="50.0" prefWidth="50.0" style="-fx-background-image: url('img/fx_next.png');; -fx-background-color: transparent;" stylesheets="@style.css" />
<Button id="btn_prev" layoutX="972.0" layoutY="508.0" mnemonicParsing="false" onAction="#Last_Image" prefHeight="50.0" prefWidth="50.0" style="-fx-background-image: url('img/fx_back.png');; -fx-background-color: transparent;" stylesheets="@style.css" />
<Button id="rotate_left" layoutX="962.0" layoutY="40.0" mnemonicParsing="false" onAction="#rotate_left" prefHeight="70.0" prefWidth="70.0" style="-fx-background-image: url(img/rotate_left.png);; -fx-background-color: transparent;;" stylesheets="@style.css" />
<Button id="rotate_right" layoutX="962.0" layoutY="115.0" mnemonicParsing="false" onAction="#rotate_right" prefHeight="70.0" prefWidth="70.0" style="-fx-background-image: url(img/rotate_right.png);; -fx-background-color: transparent;;" stylesheets="@style.css" />
<Label layoutX="983.0" layoutY="14.0" text="Rotation" textFill="#fffdfd">
<font>
<Font name="System Bold" size="12.0" />
</font>
</Label>
<ChoiceBox id="choicebox" fx:id="choiceBox2" layoutX="986.0" layoutY="282.0" prefWidth="150.0" stylesheets="@style.css" />
<Label layoutX="986.0" layoutY="261.0" text="Filters" textFill="WHITE" />
<Label layoutX="981.0" layoutY="408.0" text="Transition" textFill="WHITE" />
<ComboBox fx:id="comboBox" layoutX="985.0" layoutY="429.0" prefWidth="150.0" promptText="rien" />
</children>
</AnchorPane>