Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<p align="center">
<img src="doc/owlplug-logo.png">
<img src="doc/owlplug-title-bg.png">
</p>
<p align="center">
<sup>
Expand Down
Binary file removed doc/owlplug-logo.png
Binary file not shown.
Binary file added doc/owlplug-title-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion owlplug-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<artifactId>owlplug-host</artifactId>
<version>1.33.1</version>
</dependency>
<dependency>
<groupId>com.owlplug</groupId>
<artifactId>owlplug-theme</artifactId>
<version>1.33.1</version>
</dependency>
<dependency>
<groupId>com.owlplug</groupId>
<artifactId>owlplug-controls</artifactId>
Expand Down Expand Up @@ -124,7 +129,7 @@
<dependency>
<groupId>io.github.mkpaz</groupId>
<artifactId>atlantafx-base</artifactId>
<version>2.1.0</version>
<version>${atlantafx.version}</version>
</dependency>
<dependency>
<groupId>org.kordamp.ikonli</groupId>
Expand Down
4 changes: 2 additions & 2 deletions owlplug-client/src/main/java/com/owlplug/OwlPlug.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

package com.owlplug;

import atlantafx.base.theme.PrimerDark;
import com.owlplug.theme.OwlPlugDarkTheme;
import com.owlplug.controls.OwlPlugControlsResources;
import com.owlplug.core.components.ApplicationDefaults;
import com.owlplug.core.controllers.MainController;
Expand Down Expand Up @@ -120,7 +120,7 @@ public void start(Stage primaryStage) throws Exception {
double width = 1050;
double height = 800;

Application.setUserAgentStylesheet(new PrimerDark().getUserAgentStylesheet());
Application.setUserAgentStylesheet(new OwlPlugDarkTheme().getUserAgentStylesheet());


Scene scene = new Scene(rootNode, width, height);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

package com.owlplug;

import atlantafx.base.theme.PrimerDark;
import com.owlplug.theme.OwlPlugDarkTheme;
import com.owlplug.core.components.ApplicationDefaults;
import javafx.application.Application;
import javafx.application.Preloader;
Expand All @@ -42,7 +42,7 @@ public void start(Stage primaryStage) throws Exception {
FXMLLoader loader = new FXMLLoader(getClass().getResource("/fxml/Preloader.fxml"));
Parent root = loader.load();

Application.setUserAgentStylesheet(new PrimerDark().getUserAgentStylesheet());
Application.setUserAgentStylesheet(new OwlPlugDarkTheme().getUserAgentStylesheet());

Scene scene = new Scene(root);
String owlplugCss = OwlPlugPreloader.class.getResource("/owlplug.css").toExternalForm();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ public class MainController extends BaseController {
private Button downloadUpdateButton;

public static int PLUGINS_TAB_INDEX = 1;
public static int EXPLORE_TAB_INDEX = 2;
public static int PROJECTS_TAB_INDEX = 3;
public static int OPTIONS_TAB_INDEX = 4;

/**
* FXML initialize method.
Expand Down Expand Up @@ -204,7 +207,7 @@ public void dispatchPostInitialize() {

}

public void selectMainTab(int index) {
public void navigateToMainTab(int index) {
this.tabPaneHeader.getSelectionModel().select(index);
}

Expand Down
Loading
Loading