Add: Casono Website and VS Code dev buttons in TaskbarController

This commit is contained in:
Julian Kropff
2026-05-14 19:58:11 +02:00
parent bfef83f7e7
commit baccb15c17
@@ -1827,6 +1827,24 @@ public class TaskbarController {
}
}
/**
* Opens the integrated Casono web browser.
*
* <p>once the content for strategies and support is available.
*/
@FXML
private void onBrowserButtonClickCasono() {
SoundManager.getInstance().playButtonClick();
try {
Path path = Paths.get(System.getProperty("user.dir"), "outreach", "index.html");
CasinoBrowserController.open(path.toUri().toString());
} catch (Exception e) {
e.printStackTrace();
}
}
/** Opens the integrated Casono Web Browser. */
@FXML
private void onBrowserButtonClickWiki() {
@@ -1851,6 +1869,18 @@ public class TaskbarController {
}
}
/** Opens the integrated Casono Web Browser. */
@FXML
private void onBrowserButtonClickVSCode() {
try {
CasinoBrowserController.open("https://vscode.dev/");
} catch (Exception e) {
e.printStackTrace();
}
}
/** Opens the tips notebook if it's currently closed. */
@FXML
private void onShowTipsButtonClick() {