Add: Casono Website and VS Code dev buttons in TaskbarController
This commit is contained in:
+30
@@ -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. */
|
/** Opens the integrated Casono Web Browser. */
|
||||||
@FXML
|
@FXML
|
||||||
private void onBrowserButtonClickWiki() {
|
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. */
|
/** Opens the tips notebook if it's currently closed. */
|
||||||
@FXML
|
@FXML
|
||||||
private void onShowTipsButtonClick() {
|
private void onShowTipsButtonClick() {
|
||||||
|
|||||||
Reference in New Issue
Block a user