Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.50 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import com.jfoenix.controls.JFXButton?>
  4. <?import com.jfoenix.controls.JFXListView?>
  5. <?import com.jfoenix.controls.JFXToggleButton?>
  6. <?import javafx.geometry.Insets?>
  7. <?import javafx.geometry.Rectangle2D?>
  8. <?import javafx.scene.control.Label?>
  9. <?import javafx.scene.control.ScrollPane?>
  10. <?import javafx.scene.control.Separator?>
  11. <?import javafx.scene.image.Image?>
  12. <?import javafx.scene.image.ImageView?>
  13. <?import javafx.scene.layout.AnchorPane?>
  14. <?import javafx.scene.layout.ColumnConstraints?>
  15. <?import javafx.scene.layout.GridPane?>
  16. <?import javafx.scene.layout.RowConstraints?>
  17. <?import javafx.scene.text.Font?>
  18.  
  19. <AnchorPane id="AnchorPane" fx:id="mainPane" prefHeight="470.0" prefWidth="480.0" style="-fx-background-color: transparent;" xmlns="http://javafx.com/javafx/10.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.stirante.RuneChanger.gui.SettingsController">
  20. <ImageView fitHeight="444.0" fitWidth="480.0" layoutY="86.0" preserveRatio="true">
  21. <Image url="@images/blueBackground.png" />
  22. <viewport>
  23. <Rectangle2D height="362.0" minX="450.0" minY="350.0" width="450.0" />
  24. </viewport>
  25. </ImageView>
  26. <AnchorPane fx:id="toolbarPane" prefHeight="73.0" prefWidth="480.0">
  27. <ImageView fitHeight="75.0" fitWidth="494.0" layoutX="-14.0">
  28. <Image url="@images/topbar.png" />
  29. </ImageView>
  30. <ImageView fx:id="btn_settings" fitHeight="31.0" fitWidth="42.0" layoutX="78.0" layoutY="23.0" onMouseReleased="#handleMenuSelection" pickOnBounds="true" preserveRatio="true">
  31. <Image url="@images/settings.png" />
  32. </ImageView>
  33. <ImageView fx:id="btn_runebook" fitHeight="31.0" fitWidth="31.0" layoutX="173.0" layoutY="23.0" onMouseReleased="#handleMenuSelection" pickOnBounds="true" preserveRatio="true">
  34. <Image url="@images/icons8_Book_24px_1.png" />
  35. </ImageView>
  36. <ImageView fx:id="btn_credits" fitHeight="31.0" fitWidth="31.0" layoutX="278.0" layoutY="23.0" onMouseReleased="#handleMenuSelection" pickOnBounds="true" preserveRatio="true">
  37. <Image url="@images/user.png" />
  38. </ImageView>
  39. <ImageView fx:id="btn_exit" fitHeight="25.0" fitWidth="31.0" layoutX="380.0" layoutY="25.0" onMouseReleased="#handleMenuSelection" pickOnBounds="true" preserveRatio="true">
  40. <Image url="@images/shutdown.png" />
  41. </ImageView>
  42. </AnchorPane>
  43. <AnchorPane fx:id="settingsPane" layoutY="86.0" prefHeight="381.0" prefWidth="380.0">
  44. <ImageView layoutX="84.0" layoutY="-28.0" pickOnBounds="true" preserveRatio="true">
  45. <Image url="@images/up.png" />
  46. </ImageView>
  47. <ScrollPane fx:id="settingsScrollPane" hbarPolicy="NEVER" pickOnBounds="false" prefWidth="480.0" stylesheets="@style.css" vvalue="1.0" AnchorPane.bottomAnchor="0.0" AnchorPane.topAnchor="0.0">
  48. <content>
  49. <GridPane hgap="10.0" maxHeight="-Infinity" prefWidth="480.0">
  50. <columnConstraints>
  51. <ColumnConstraints halignment="LEFT" hgrow="SOMETIMES" minWidth="10.0" prefWidth="270.0" />
  52. <ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0" prefWidth="270.0" />
  53. </columnConstraints>
  54. <rowConstraints>
  55. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" />
  56. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  57. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  58. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  59. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  60. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  61. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  62. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  63. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  64. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  65. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  66. <RowConstraints maxHeight="-Infinity" minHeight="35.0" prefHeight="30.0" vgrow="SOMETIMES" />
  67. </rowConstraints>
  68. <padding>
  69. <Insets bottom="20.0" left="30.0" right="30.0" top="20.0" />
  70. </padding>
  71. <Label text="%no_away" textFill="WHITE" GridPane.valignment="BOTTOM">
  72. <font>
  73. <Font size="16.0" />
  74. </font>
  75. </Label>
  76. <Label alignment="TOP_LEFT" text="%no_away_message" textFill="#f2efef" wrapText="true" GridPane.rowIndex="1" GridPane.valignment="TOP">
  77. <font>
  78. <Font size="13.0" />
  79. </font>
  80. </Label>
  81. <Label text="%auto_queue" textFill="WHITE" GridPane.rowIndex="2" GridPane.valignment="BOTTOM">
  82. <font>
  83. <Font size="16.0" />
  84. </font>
  85. </Label>
  86. <Label text="%auto_queue_message" textFill="#f2efef" wrapText="true" GridPane.rowIndex="3" GridPane.valignment="TOP">
  87. <font>
  88. <Font size="13.0" />
  89. </font>
  90. </Label>
  91. <Label text="%quick_replies" textFill="WHITE" GridPane.rowIndex="4" GridPane.valignment="BOTTOM">
  92. <font>
  93. <Font size="16.0" />
  94. </font>
  95. </Label>
  96. <Label text="%quick_replies_message" textFill="#f2efef" wrapText="true" GridPane.rowIndex="5" GridPane.valignment="TOP">
  97. <font>
  98. <Font size="13.0" />
  99. </font>
  100. </Label>
  101. <Separator opacity="0.33" prefHeight="1.0" prefWidth="307.0" GridPane.columnSpan="2" GridPane.rowIndex="10" />
  102. <JFXButton fx:id="craftKeyBtn" maxWidth="1.7976931348623157E308" onAction="#handleSettingsButtonPressed" prefHeight="31.0" prefWidth="180.0" style="-fx-background-color: #1e2328; -fx-border-color: d9ae50;" text="%craft_all_keys" textFill="#d9ae50" GridPane.halignment="CENTER" GridPane.hgrow="ALWAYS" GridPane.rowIndex="11" GridPane.valignment="CENTER">
  103. <font>
  104. <Font name="System Bold" size="11.0" />
  105. </font>
  106. </JFXButton>
  107. <JFXButton fx:id="disenchantBtn" maxWidth="1.7976931348623157E308" onAction="#handleSettingsButtonPressed" prefHeight="31.0" prefWidth="180.0" ripplerFill="#1986b1" style="-fx-background-color: #1e2328; -fx-border-color: d9ae50;" text="%disenchant_champions" textFill="#d9ae50" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="11" GridPane.valignment="CENTER">
  108. <font>
  109. <Font name="System Bold" size="11.0" />
  110. </font>
  111. </JFXButton>
  112. <JFXToggleButton fx:id="noAwayBtn" onAction="#handleToggleButtonPressed" prefHeight="60.0" prefWidth="120.0" size="11.0" text="On" textFill="#eda678" toggleColor="#eda678" toggleLineColor="#eba478e2" GridPane.columnIndex="1" GridPane.rowIndex="0" GridPane.rowSpan="2">
  113. <font>
  114. <Font size="13.0" />
  115. </font>
  116. </JFXToggleButton>
  117. <JFXToggleButton fx:id="autoQueueBtn" onAction="#handleToggleButtonPressed" prefHeight="60.0" prefWidth="120.0" size="11.0" text="On" textFill="#eda678" toggleColor="#eda678" toggleLineColor="#eba478e2" GridPane.columnIndex="1" GridPane.rowIndex="2" GridPane.rowSpan="2">
  118. <font>
  119. <Font size="13.0" />
  120. </font>
  121. </JFXToggleButton>
  122. <JFXToggleButton fx:id="quickReplyBtn" onAction="#handleToggleButtonPressed" prefHeight="60.0" prefWidth="120.0" size="11.0" text="On" textFill="#eda678" toggleColor="#eda678" toggleLineColor="#eba478e2" GridPane.columnIndex="1" GridPane.rowIndex="4" GridPane.rowSpan="2">
  123. <font>
  124. <Font size="13.0" />
  125. </font>
  126. </JFXToggleButton>
  127. <Label text="%autoupdate_state" textFill="WHITE" GridPane.rowIndex="6" GridPane.valignment="BOTTOM">
  128. <font>
  129. <Font size="16.0" />
  130. </font>
  131. </Label>
  132. <Label text="%autoupdate_message" textFill="#f2efef" wrapText="true" GridPane.rowIndex="7" GridPane.valignment="TOP">
  133. <font>
  134. <Font size="13.0" />
  135. </font>
  136. </Label>
  137. <JFXToggleButton fx:id="autoUpdateBtn" onAction="#handleToggleButtonPressed" prefHeight="60.0" prefWidth="120.0" size="11.0" text="On" textFill="#eda678" toggleColor="#eda678" toggleLineColor="#eba478e2" GridPane.columnIndex="1" GridPane.rowIndex="6" GridPane.rowSpan="2">
  138. <font>
  139. <Font size="13.0" />
  140. </font>
  141. </JFXToggleButton>
  142. <Label text="%force_english" textFill="WHITE" GridPane.rowIndex="8" GridPane.valignment="BOTTOM">
  143. <font>
  144. <Font size="16.0" />
  145. </font>
  146. </Label>
  147. <Label text="%force_english_message" textFill="#f2efef" wrapText="true" GridPane.rowIndex="9" GridPane.valignment="TOP">
  148. <font>
  149. <Font size="13.0" />
  150. </font>
  151. </Label>
  152. <JFXToggleButton fx:id="force_english_btn" onAction="#handleToggleButtonPressed" prefHeight="60.0" prefWidth="120.0" size="11.0" text="On" textFill="#eda678" toggleColor="#eda678" toggleLineColor="#eba478e2" GridPane.columnIndex="1" GridPane.rowIndex="8" GridPane.rowSpan="2">
  153. <font>
  154. <Font size="13.0" />
  155. </font>
  156. </JFXToggleButton>
  157. </GridPane>
  158. </content>
  159. </ScrollPane>
  160. </AnchorPane>
  161. <AnchorPane fx:id="creditsPane" layoutY="87.0" prefHeight="385.0" prefWidth="480.0" visible="false">
  162. <Label layoutX="163.0" layoutY="163.0" text="%credits_core" textFill="WHITE">
  163. <font>
  164. <Font name="System Bold" size="12.0" />
  165. </font>
  166. </Label>
  167. <Label layoutX="171.0" layoutY="185.0" text="%credits_gui" textFill="WHITE">
  168. <font>
  169. <Font size="11.0" />
  170. </font>
  171. </Label>
  172. <ImageView layoutX="283.0" layoutY="-29.0" pickOnBounds="true" preserveRatio="true">
  173. <Image url="@images/up.png" />
  174. </ImageView>
  175. </AnchorPane>
  176. <AnchorPane fx:id="runebookPane" layoutY="86.0" prefHeight="381.0" prefWidth="380.0" visible="false">
  177. <ImageView layoutX="177.0" layoutY="-29.0" pickOnBounds="true" preserveRatio="true">
  178. <Image url="@images/up.png" />
  179. </ImageView>
  180. <JFXListView fx:id="localRunes" layoutX="14.0" layoutY="14.0" onKeyPressed="#onListViewKeyPressed" opacity="0.65" prefHeight="357.0" prefWidth="199.0" style="-fx-background-color: #122121; -fx-border-color: #9a9557;" />
  181. <JFXButton fx:id="addBtn" layoutX="219.0" layoutY="170.0" onAction="#handleRunebookButtonPressed" prefHeight="42.0" prefWidth="42.0" style="-fx-background-color: #1e2328; -fx-border-color: d9ae50;" text="←" textFill="#d9ae50">
  182. <font>
  183. <Font name="Beaufort for LOL Bold" size="14.0" />
  184. </font>
  185. </JFXButton>
  186. <JFXButton fx:id="removeBtn" layoutX="219.0" layoutY="328.0" onAction="#handleRunebookButtonPressed" prefHeight="42.0" prefWidth="42.0" ripplerFill="#1986b1" style="-fx-background-color: #1e2328; -fx-border-color: d9ae50;" text="X" textFill="#d9ae50">
  187. <font>
  188. <Font name="Beaufort for LOL Bold" size="14.0" />
  189. </font>
  190. </JFXButton>
  191. <JFXListView fx:id="clientRunes" layoutX="267.0" layoutY="14.0" opacity="0.65" prefHeight="357.0" prefWidth="199.0" style="-fx-background-color: #122121; -fx-border-color: #9a9557;" />
  192. <ImageView fx:id="syncButton" fitHeight="31.0" fitWidth="32.0" layoutX="225.0" layoutY="14.0" onMouseReleased="#handleSyncBtn" pickOnBounds="true" preserveRatio="true">
  193. <Image url="@images/icons8_Synchronize_48px.png" />
  194. </ImageView>
  195. <JFXButton fx:id="loadBtn" layoutX="219.0" layoutY="216.0" onAction="#handleRunebookButtonPressed" prefHeight="42.0" prefWidth="42.0" style="-fx-background-color: #1e2328; -fx-border-color: d9ae50;" text="→" textFill="#d9ae50">
  196. <font>
  197. <Font name="Beaufort for LOL Bold" size="14.0" />
  198. </font>
  199. </JFXButton>
  200. </AnchorPane>
  201. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement