|
9 | 9 | <?import javafx.scene.control.ToolBar?>
|
10 | 10 | <?import javafx.scene.control.Tooltip?>
|
11 | 11 | <?import javafx.scene.layout.BorderPane?>
|
| 12 | +<?import javafx.scene.layout.HBox?> |
12 | 13 | <?import javafx.scene.layout.Pane?>
|
13 | 14 | <?import javafx.scene.layout.VBox?>
|
14 | 15 | <?import javafx.scene.shape.SVGPath?>
|
|
33 | 34 | <children>
|
34 | 35 | <TabPane fx:id="MainTabPane" side="LEFT" tabClosingPolicy="UNAVAILABLE" VBox.vgrow="ALWAYS">
|
35 | 36 | <tabs>
|
36 |
| - <Tab fx:id="KeyLedTab"> |
| 37 | + <Tab fx:id="KeyLedTab" closable="false"> |
37 | 38 | <content>
|
38 | 39 | <fx:include fx:id="KeysLeds" source="KeysLedsPane.fxml" VBox.vgrow="ALWAYS" />
|
39 | 40 | </content>
|
40 | 41 | <graphic>
|
41 | 42 | <SVGPath content="M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z" />
|
42 | 43 | </graphic>
|
43 | 44 | </Tab>
|
44 |
| - <Tab fx:id="EffectsTab"> |
| 45 | + <Tab fx:id="EffectsTab" closable="false"> |
45 | 46 | <content>
|
46 | 47 | <ScrollPane fitToWidth="true">
|
47 | 48 | <fx:include fx:id="Effects" source="EffectsPane.fxml" VBox.vgrow="ALWAYS" />
|
|
51 | 52 | <SVGPath content="M7.5,5.6L5,7L6.4,4.5L5,2L7.5,3.4L10,2L8.6,4.5L10,7L7.5,5.6M19.5,15.4L22,14L20.6,16.5L22,19L19.5,17.6L17,19L18.4,16.5L17,14L19.5,15.4M22,2L20.6,4.5L22,7L19.5,5.6L17,7L18.4,4.5L17,2L19.5,3.4L22,2M13.34,12.78L15.78,10.34L13.66,8.22L11.22,10.66L13.34,12.78M14.37,7.29L16.71,9.63C17.1,10 17.1,10.65 16.71,11.04L5.04,22.71C4.65,23.1 4,23.1 3.63,22.71L1.29,20.37C0.9,20 0.9,19.35 1.29,18.96L12.96,7.29C13.35,6.9 14,6.9 14.37,7.29Z" />
|
52 | 53 | </graphic>
|
53 | 54 | </Tab>
|
54 |
| - <Tab fx:id="GameModeTab"> |
| 55 | + <Tab fx:id="GameModeTab" closable="false"> |
55 | 56 | <content>
|
56 | 57 | <ScrollPane fitToWidth="true" prefHeight="200.0" prefWidth="200.0">
|
57 | 58 | <content>
|
|
71 | 72 | <top>
|
72 | 73 | <ToolBar styleClass="header" BorderPane.alignment="CENTER">
|
73 | 74 | <items>
|
74 |
| - <Button fx:id="applyBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
75 |
| - <tooltip> |
76 |
| - <Tooltip text="%btn_apply" /> |
77 |
| - </tooltip> |
78 |
| - <graphic> |
79 |
| - <SVGPath content="M14,10H2V12H14V10M14,6H2V8H14V6M2,16H10V14H2V16M21.5,11.5L23,13L16,20L11.5,15.5L13,14L16,17L21.5,11.5Z" /> |
80 |
| - </graphic> |
81 |
| - </Button> |
82 |
| - <Pane prefWidth="10.0" /> |
83 |
| - <Button fx:id="openBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
84 |
| - <graphic> |
85 |
| - <SVGPath content="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /> |
86 |
| - </graphic> |
87 |
| - <tooltip> |
88 |
| - <Tooltip text="%btn_open" /> |
89 |
| - </tooltip> |
90 |
| - </Button> |
91 |
| - <Button fx:id="saveBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
92 |
| - <graphic> |
93 |
| - <SVGPath content="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z" /> |
94 |
| - </graphic> |
95 |
| - <tooltip> |
96 |
| - <Tooltip text="%btn_save" /> |
97 |
| - </tooltip> |
98 |
| - </Button> |
99 |
| - <Button fx:id="saveAsBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
100 |
| - <graphic> |
101 |
| - <SVGPath content="M7 22H9V24H7V22M11 22H13V24H11V22M15 22H17V24H15V22M17 2H5C3.89 2 3 2.9 3 4V18C3 19.1 3.89 20 5 20H19C20.1 20 21 19.1 21 18V6L17 2M19 18H5V4H16.17L19 6.83V18M12 11C10.34 11 9 12.34 9 14S10.34 17 12 17 15 15.66 15 14 13.66 11 12 11M6 5H15V9H6V5Z" /> |
102 |
| - </graphic> |
103 |
| - <tooltip> |
104 |
| - <Tooltip text="%btn_save_as" /> |
105 |
| - </tooltip> |
106 |
| - </Button> |
107 |
| - <Pane prefWidth="10.0" /> |
108 |
| - <Button fx:id="settingsBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
109 |
| - <graphic> |
110 |
| - <SVGPath content="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z" /> |
111 |
| - </graphic> |
112 |
| - <tooltip> |
113 |
| - <Tooltip text="%btn_settings" /> |
114 |
| - </tooltip> |
115 |
| - </Button> |
116 |
| - <Pane prefWidth="10.0" /> |
117 |
| - <Button fx:id="aboutBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
118 |
| - <graphic> |
119 |
| - <SVGPath content="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z" /> |
120 |
| - </graphic> |
121 |
| - <tooltip> |
122 |
| - <Tooltip text="%menu_item_about" /> |
123 |
| - </tooltip> |
124 |
| - </Button> |
| 75 | + <HBox spacing="5.0" styleClass="header-box"> |
| 76 | + <children> |
| 77 | + <Button fx:id="applyBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
| 78 | + <tooltip> |
| 79 | + <Tooltip text="%btn_apply" /> |
| 80 | + </tooltip> |
| 81 | + <graphic> |
| 82 | + <SVGPath content="M14,10H2V12H14V10M14,6H2V8H14V6M2,16H10V14H2V16M21.5,11.5L23,13L16,20L11.5,15.5L13,14L16,17L21.5,11.5Z" /> |
| 83 | + </graphic> |
| 84 | + <HBox.margin> |
| 85 | + <Insets right="10.0" /> |
| 86 | + </HBox.margin> |
| 87 | + </Button> |
| 88 | + <Button fx:id="openBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
| 89 | + <graphic> |
| 90 | + <SVGPath content="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /> |
| 91 | + </graphic> |
| 92 | + <tooltip> |
| 93 | + <Tooltip text="%btn_open" /> |
| 94 | + </tooltip> |
| 95 | + </Button> |
| 96 | + <Button fx:id="saveBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
| 97 | + <graphic> |
| 98 | + <SVGPath content="M17 3H5C3.89 3 3 3.9 3 5V19C3 20.1 3.89 21 5 21H19C20.1 21 21 20.1 21 19V7L17 3M19 19H5V5H16.17L19 7.83V19M12 12C10.34 12 9 13.34 9 15S10.34 18 12 18 15 16.66 15 15 13.66 12 12 12M6 6H15V10H6V6Z" /> |
| 99 | + </graphic> |
| 100 | + <tooltip> |
| 101 | + <Tooltip text="%btn_save" /> |
| 102 | + </tooltip> |
| 103 | + </Button> |
| 104 | + <Button fx:id="saveAsBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
| 105 | + <graphic> |
| 106 | + <SVGPath content="M7 22H9V24H7V22M11 22H13V24H11V22M15 22H17V24H15V22M17 2H5C3.89 2 3 2.9 3 4V18C3 19.1 3.89 20 5 20H19C20.1 20 21 19.1 21 18V6L17 2M19 18H5V4H16.17L19 6.83V18M12 11C10.34 11 9 12.34 9 14S10.34 17 12 17 15 15.66 15 14 13.66 11 12 11M6 5H15V9H6V5Z" /> |
| 107 | + </graphic> |
| 108 | + <tooltip> |
| 109 | + <Tooltip text="%btn_save_as" /> |
| 110 | + </tooltip> |
| 111 | + </Button> |
| 112 | + <Button fx:id="settingsBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
| 113 | + <graphic> |
| 114 | + <SVGPath content="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z" /> |
| 115 | + </graphic> |
| 116 | + <tooltip> |
| 117 | + <Tooltip text="%btn_settings" /> |
| 118 | + </tooltip> |
| 119 | + <HBox.margin> |
| 120 | + <Insets left="10.0" right="10.0" /> |
| 121 | + </HBox.margin> |
| 122 | + </Button> |
| 123 | + <Button fx:id="aboutBtn" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" mnemonicParsing="false" prefHeight="36.0" prefWidth="42.0"> |
| 124 | + <graphic> |
| 125 | + <SVGPath content="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z" /> |
| 126 | + </graphic> |
| 127 | + <tooltip> |
| 128 | + <Tooltip text="%menu_item_about" /> |
| 129 | + </tooltip> |
| 130 | + </Button> |
| 131 | + </children> |
| 132 | + </HBox> |
125 | 133 | </items>
|
126 | 134 | </ToolBar>
|
127 | 135 | </top>
|
|
0 commit comments