Skip to content

Commit bb2fb9e

Browse files
committed
v2.2
1 parent df1b792 commit bb2fb9e

24 files changed

+569
-343
lines changed

src/.data/img/edit.png

222 Bytes
Loading

src/.data/img/folder.png

-83 Bytes
Loading

src/.data/img/ok.png

293 Bytes
Loading

src/.data/img/run.png

295 Bytes
Loading

src/.data/img/wine.png

-110 Bytes
Loading

src/app/forms/MainForm.behaviour

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,21 @@
77
<behaviour color="#1a1a1ac0" offsetX="0" offsetY="0" radius="10" spread="0" type="behaviour\custom\DropShadowEffectBehaviour" when="ALWAYS"/>
88
</target>
99
<target id="background">
10-
<behaviour radius="63" type="behaviour\custom\GaussianBlurEffectBehaviour" when="ALWAYS"/>
10+
<behaviour radius="40" type="behaviour\custom\GaussianBlurEffectBehaviour" when="ALWAYS"/>
1111
</target>
1212
<target id="donate">
1313
<behaviour brightness="0.05" contrast="0" hue="0" saturation="0" type="behaviour\custom\ColorAdjustEffectBehaviour" when="HOVER"/>
1414
</target>
1515
<target id="about">
1616
<behaviour brightness="0.05" contrast="0" hue="0" saturation="0" type="behaviour\custom\ColorAdjustEffectBehaviour" when="HOVER"/>
1717
</target>
18+
<target id="winetricksButton">
19+
<behaviour brightness="0.05" contrast="0" hue="0" saturation="0" type="behaviour\custom\ColorAdjustEffectBehaviour" when="HOVER"/>
20+
</target>
21+
<target id="gameFolderButton">
22+
<behaviour brightness="0.05" contrast="0" hue="0" saturation="0" type="behaviour\custom\ColorAdjustEffectBehaviour" when="HOVER"/>
23+
</target>
24+
<target id="runInPrefixButton">
25+
<behaviour brightness="0.05" contrast="0" hue="0" saturation="0" type="behaviour\custom\ColorAdjustEffectBehaviour" when="HOVER"/>
26+
</target>
1827
</behaviours>

src/app/forms/MainForm.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#Wed Jun 04 21:54:24 MSK 2025
1+
#Wed Jun 11 20:00:25 MSK 2025
22
form.style=DECORATED
33
modules=
4-
form.title=OnlineFix Linux Launcher
54
form.backgroundColor=\#222226
5+
form.title=OnlineFix Linux Launcher
66
title=MainForm
77
form.icon=.data/img/oflogo.png

src/app/forms/MainForm.fxml

Lines changed: 106 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</font>
2727
</com.jfoenix.controls.JFXButton>
2828
<Data cursor="HAND" enabled="1" graphic=".data/img/add.png" id="data-addGame" visible="1"/>
29-
<Data cursor="DEFAULT" enabled="1" id="data-background" visible="1"/>
29+
<Data cursor="DEFAULT" enabled="1" id="data-background" image="" visible="1"/>
3030
<Data cursor="DEFAULT" enabled="1" id="data-gamePanel" visible=""/>
3131
<Panel AnchorPane.bottomAnchor="0" AnchorPane.rightAnchor="0" AnchorPane.topAnchor="0" backgroundColor="#333337db" borderColor="#c0c0c0" borderRadius="0" borderStyle="NONE" borderWidth="0" focusTraversable="false" id="gamePanel" layoutX="504" layoutY="0" maxHeight="-1" maxWidth="-1" minHeight="-1" minWidth="-1" prefHeight="496" prefWidth="312" styleClass="" titleColor="#333333" titleOffset="15" titlePosition="TOP_LEFT">
3232
<children>
@@ -36,73 +36,7 @@
3636
</font>
3737
</ImageViewEx>
3838
<Data cursor="DEFAULT" enabled="1" id="data-gameHeader" image="" visible="1"/>
39-
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameDebugButton" layoutX="24" layoutY="200" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Отладка" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
40-
<font>
41-
<Font name="System Regular" size="12"/>
42-
</font>
43-
<styleClass xmlns:fx="http://javafx.com/fxml">
44-
<String fx:value="button"/>
45-
<String fx:value="jfx-button"/>
46-
<String fx:value="jfx-menu-button"/>
47-
</styleClass>
48-
</com.jfoenix.controls.JFXButton>
49-
<Data cursor="HAND" enabled="1" graphic=".data/img/debug.png" id="data-gameDebugButton" tooltipText="Запуск с отладкой" visible="1"/>
50-
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameSettingsButton" layoutX="116" layoutY="200" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Настройки" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
51-
<font>
52-
<Font name="System Regular" size="12"/>
53-
</font>
54-
<styleClass xmlns:fx="http://javafx.com/fxml">
55-
<String fx:value="button"/>
56-
<String fx:value="jfx-button"/>
57-
<String fx:value="jfx-menu-button"/>
58-
</styleClass>
59-
</com.jfoenix.controls.JFXButton>
60-
<Data cursor="HAND" enabled="1" graphic=".data/img/settings.png" id="data-gameSettingsButton" visible="1"/>
61-
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameDeleteButton" layoutX="208" layoutY="200" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Удалить" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
62-
<font>
63-
<Font name="System Regular" size="12"/>
64-
</font>
65-
<styleClass xmlns:fx="http://javafx.com/fxml">
66-
<String fx:value="button"/>
67-
<String fx:value="jfx-button"/>
68-
<String fx:value="jfx-menu-button"/>
69-
</styleClass>
70-
</com.jfoenix.controls.JFXButton>
71-
<Data cursor="HAND" enabled="1" graphic=".data/img/remove.png" id="data-gameDeleteButton" visible="1"/>
72-
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="protonDBButton" layoutX="24" layoutY="260" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="ProtonDB" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
73-
<font>
74-
<Font name="System Regular" size="12"/>
75-
</font>
76-
<styleClass xmlns:fx="http://javafx.com/fxml">
77-
<String fx:value="button"/>
78-
<String fx:value="jfx-button"/>
79-
<String fx:value="jfx-menu-button"/>
80-
</styleClass>
81-
</com.jfoenix.controls.JFXButton>
82-
<Data cursor="HAND" enabled="1" graphic=".data/img/protondb.png" id="data-protonDBButton" visible="1"/>
83-
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="steamButton" layoutX="116" layoutY="260" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Steam" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
84-
<font>
85-
<Font name="System Regular" size="12"/>
86-
</font>
87-
<styleClass xmlns:fx="http://javafx.com/fxml">
88-
<String fx:value="button"/>
89-
<String fx:value="jfx-button"/>
90-
<String fx:value="jfx-menu-button"/>
91-
</styleClass>
92-
</com.jfoenix.controls.JFXButton>
93-
<Data cursor="HAND" enabled="1" graphic=".data/img/steam.png" id="data-steamButton" visible="1"/>
94-
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="steamDBButton" layoutX="208" layoutY="260" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="SteamDB" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
95-
<font>
96-
<Font name="System Regular" size="12"/>
97-
</font>
98-
<styleClass xmlns:fx="http://javafx.com/fxml">
99-
<String fx:value="button"/>
100-
<String fx:value="jfx-button"/>
101-
<String fx:value="jfx-menu-button"/>
102-
</styleClass>
103-
</com.jfoenix.controls.JFXButton>
104-
<Data cursor="HAND" enabled="1" graphic=".data/img/db.png" id="data-steamDBButton" visible="1"/>
105-
<Panel backgroundColor="#4d4d4d99" borderColor="#c0c0c0" borderRadius="7" borderStyle="NONE" borderWidth="0" focusTraversable="false" id="panel3" layoutX="24" layoutY="328" maxHeight="-1" maxWidth="-1" minHeight="-1" minWidth="-1" prefHeight="75" prefWidth="264" styleClass="" titleColor="#333333" titleOffset="15" titlePosition="TOP_LEFT">
39+
<Panel backgroundColor="#4d4d4d99" borderColor="#c0c0c0" borderRadius="7" borderStyle="NONE" borderWidth="0" focusTraversable="false" id="panel3" layoutX="24" layoutY="386" maxHeight="-1" maxWidth="-1" minHeight="-1" minWidth="-1" prefHeight="75" prefWidth="264" styleClass="" titleColor="#333333" titleOffset="15" titlePosition="TOP_LEFT">
10640
<children>
10741
<org.controlsfx.control.ToggleSwitch alignment="CENTER_LEFT" contentDisplay="LEFT" ellipsisString="..." focusTraversable="true" graphicTextGap="4" id="desktopIcon" layoutX="28" layoutY="16" prefHeight="18" prefWidth="208" selected="false" styleClass="toggle-switch " text="Ярлык на рабочем столе" textAlignment="LEFT" underline="false" wrapText="false">
10842
<font>
@@ -140,6 +74,110 @@
14074
</font>
14175
</LabelEx>
14276
<Data cursor="DEFAULT" enabled="1" id="data-timeLabel" visible="1"/>
77+
<FlowPane alignment="TOP_LEFT" columnHalignment="LEFT" focusTraversable="false" hgap="12" id="flowPane" layoutX="24" layoutY="200" maxHeight="-1" maxWidth="-1" minHeight="-1" minWidth="-1" orientation="HORIZONTAL" prefHeight="168" prefWidth="264" rowValignment="CENTER" styleClass="" vgap="12">
78+
<children>
79+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameDebugButton" layoutX="0" layoutY="0" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Отладка" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
80+
<font>
81+
<Font name="System Regular" size="12"/>
82+
</font>
83+
<styleClass xmlns:fx="http://javafx.com/fxml">
84+
<String fx:value="button"/>
85+
<String fx:value="jfx-button"/>
86+
<String fx:value="jfx-menu-button"/>
87+
</styleClass>
88+
</com.jfoenix.controls.JFXButton>
89+
<Data cursor="HAND" enabled="1" graphic=".data/img/debug.png" id="data-gameDebugButton" tooltipText="Запуск с отладкой" visible="1"/>
90+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameSettingsButton" layoutX="92" layoutY="0" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Настройки" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
91+
<font>
92+
<Font name="System Regular" size="12"/>
93+
</font>
94+
<styleClass xmlns:fx="http://javafx.com/fxml">
95+
<String fx:value="button"/>
96+
<String fx:value="jfx-button"/>
97+
<String fx:value="jfx-menu-button"/>
98+
</styleClass>
99+
</com.jfoenix.controls.JFXButton>
100+
<Data cursor="HAND" enabled="1" graphic=".data/img/settings.png" id="data-gameSettingsButton" visible="1"/>
101+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameDeleteButton" layoutX="184" layoutY="0" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Удалить" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
102+
<font>
103+
<Font name="System Regular" size="12"/>
104+
</font>
105+
<styleClass xmlns:fx="http://javafx.com/fxml">
106+
<String fx:value="button"/>
107+
<String fx:value="jfx-button"/>
108+
<String fx:value="jfx-menu-button"/>
109+
</styleClass>
110+
</com.jfoenix.controls.JFXButton>
111+
<Data cursor="HAND" enabled="1" graphic=".data/img/remove.png" id="data-gameDeleteButton" visible="1"/>
112+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="winetricksButton" layoutX="0" layoutY="60" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Winetricks" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
113+
<font>
114+
<Font name="System Regular" size="12"/>
115+
</font>
116+
<styleClass xmlns:fx="http://javafx.com/fxml">
117+
<String fx:value="button"/>
118+
<String fx:value="jfx-button"/>
119+
<String fx:value="jfx-menu-button"/>
120+
</styleClass>
121+
</com.jfoenix.controls.JFXButton>
122+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="runInPrefixButton" layoutX="92" layoutY="60" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Выполнить" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="true">
123+
<font>
124+
<Font name="System Regular" size="11"/>
125+
</font>
126+
<styleClass xmlns:fx="http://javafx.com/fxml">
127+
<String fx:value="button"/>
128+
<String fx:value="jfx-button"/>
129+
<String fx:value="jfx-menu-button"/>
130+
</styleClass>
131+
</com.jfoenix.controls.JFXButton>
132+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="gameFolderButton" layoutX="184" layoutY="60" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Папки" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
133+
<font>
134+
<Font name="System Regular" size="12"/>
135+
</font>
136+
<styleClass xmlns:fx="http://javafx.com/fxml">
137+
<String fx:value="button"/>
138+
<String fx:value="jfx-button"/>
139+
<String fx:value="jfx-menu-button"/>
140+
</styleClass>
141+
</com.jfoenix.controls.JFXButton>
142+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="steamDBButton" layoutX="0" layoutY="120" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="SteamDB" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
143+
<font>
144+
<Font name="System Regular" size="12"/>
145+
</font>
146+
<styleClass xmlns:fx="http://javafx.com/fxml">
147+
<String fx:value="button"/>
148+
<String fx:value="jfx-button"/>
149+
<String fx:value="jfx-menu-button"/>
150+
</styleClass>
151+
</com.jfoenix.controls.JFXButton>
152+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="protonDBButton" layoutX="92" layoutY="120" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="ProtonDB" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
153+
<font>
154+
<Font name="System Regular" size="12"/>
155+
</font>
156+
<styleClass xmlns:fx="http://javafx.com/fxml">
157+
<String fx:value="button"/>
158+
<String fx:value="jfx-button"/>
159+
<String fx:value="jfx-menu-button"/>
160+
</styleClass>
161+
</com.jfoenix.controls.JFXButton>
162+
<com.jfoenix.controls.JFXButton alignment="CENTER" buttonType="RAISED" contentDisplay="TOP" ellipsisString="..." focusTraversable="false" graphicTextGap="0" id="steamButton" layoutX="184" layoutY="120" prefHeight="48" prefWidth="80" ripplerFill="#f2f2f2" text="Steam" textAlignment="LEFT" textFill="#ffffff" underline="false" wrapText="false">
163+
<font>
164+
<Font name="System Regular" size="12"/>
165+
</font>
166+
<styleClass xmlns:fx="http://javafx.com/fxml">
167+
<String fx:value="button"/>
168+
<String fx:value="jfx-button"/>
169+
<String fx:value="jfx-menu-button"/>
170+
</styleClass>
171+
</com.jfoenix.controls.JFXButton>
172+
<Data cursor="HAND" enabled="1" graphic=".data/img/wine.png" id="data-winetricksButton" visible="1"/>
173+
<Data cursor="HAND" enabled="1" graphic=".data/img/protondb.png" id="data-protonDBButton" visible="1"/>
174+
<Data cursor="HAND" enabled="1" graphic=".data/img/steam.png" id="data-steamButton" visible="1"/>
175+
<Data cursor="HAND" enabled="1" graphic=".data/img/db.png" id="data-steamDBButton" visible="1"/>
176+
<Data cursor="HAND" enabled="1" graphic=".data/img/folder.png" id="data-gameFolderButton" visible="1"/>
177+
<Data cursor="HAND" enabled="1" graphic=".data/img/run.png" id="data-runInPrefixButton" tooltipText="Запустить сторонний .exe в префиксе игры" visible="1"/>
178+
</children>
179+
</FlowPane>
180+
<Data cursor="DEFAULT" enabled="1" id="data-flowPane" visible="1"/>
143181
</children>
144182
<titleFont>
145183
<Font name="System Regular" size="12"/>

0 commit comments

Comments
 (0)