forked from j62/ctbrec
Replace patreon button with Ko-fi
This commit is contained in:
parent
bd92c315fb
commit
e04b528edd
|
@ -40,7 +40,7 @@ public class DonateTabFx extends Tab {
|
||||||
ImageView coffeeImage = new ImageView(getClass().getResource("/buymeacoffee-round.png").toString());
|
ImageView coffeeImage = new ImageView(getClass().getResource("/buymeacoffee-round.png").toString());
|
||||||
Button coffeeButton = new Button("Buy me a coffee");
|
Button coffeeButton = new Button("Buy me a coffee");
|
||||||
coffeeButton.setPadding(new Insets(5));
|
coffeeButton.setPadding(new Insets(5));
|
||||||
coffeeButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.buymeacoffee.com/0xboobface"); });
|
coffeeButton.setOnMouseClicked(e -> DesktopIntegration.open("https://www.buymeacoffee.com/0xboobface"));
|
||||||
VBox buyCoffeeBox = new VBox(5);
|
VBox buyCoffeeBox = new VBox(5);
|
||||||
buyCoffeeBox.setAlignment(Pos.TOP_CENTER);
|
buyCoffeeBox.setAlignment(Pos.TOP_CENTER);
|
||||||
buyCoffeeBox.getChildren().addAll(coffeeImage, coffeeButton);
|
buyCoffeeBox.getChildren().addAll(coffeeImage, coffeeButton);
|
||||||
|
@ -48,18 +48,18 @@ public class DonateTabFx extends Tab {
|
||||||
ImageView paypalImage = new ImageView(getClass().getResource("/paypal-round.png").toString());
|
ImageView paypalImage = new ImageView(getClass().getResource("/paypal-round.png").toString());
|
||||||
Button paypalButton = new Button("PayPal");
|
Button paypalButton = new Button("PayPal");
|
||||||
paypalButton.setPadding(new Insets(5));
|
paypalButton.setPadding(new Insets(5));
|
||||||
paypalButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.paypal.me/0xb00bface"); });
|
paypalButton.setOnMouseClicked(e -> DesktopIntegration.open("https://www.paypal.me/0xb00bface"));
|
||||||
VBox paypalBox = new VBox(5);
|
VBox paypalBox = new VBox(5);
|
||||||
paypalBox.setAlignment(Pos.TOP_CENTER);
|
paypalBox.setAlignment(Pos.TOP_CENTER);
|
||||||
paypalBox.getChildren().addAll(paypalImage, paypalButton);
|
paypalBox.getChildren().addAll(paypalImage, paypalButton);
|
||||||
|
|
||||||
ImageView patreonImage = new ImageView(getClass().getResource("/patreon-round.png").toString());
|
ImageView kofiImage = new ImageView(getClass().getResource("/kofi-round.png").toString());
|
||||||
Button patreonButton = new Button("Become a Patron");
|
Button kofiButton = new Button("Ko-fi");
|
||||||
patreonButton.setPadding(new Insets(5));
|
kofiButton.setPadding(new Insets(5));
|
||||||
patreonButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.patreon.com/0xb00bface"); });
|
kofiButton.setOnMouseClicked(e -> DesktopIntegration.open("https://ko-fi.com/0xb00bface"));
|
||||||
VBox patreonBox = new VBox(5);
|
VBox patreonBox = new VBox(5);
|
||||||
patreonBox.setAlignment(Pos.TOP_CENTER);
|
patreonBox.setAlignment(Pos.TOP_CENTER);
|
||||||
patreonBox.getChildren().addAll(patreonImage, patreonButton);
|
patreonBox.getChildren().addAll(kofiImage, kofiButton);
|
||||||
|
|
||||||
int prefWidth = 360;
|
int prefWidth = 360;
|
||||||
TextField bitcoinAddress = new TextField("15sLWZon8diPqAX4UdPQU1DcaPuvZs2GgA");
|
TextField bitcoinAddress = new TextField("15sLWZon8diPqAX4UdPQU1DcaPuvZs2GgA");
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue