From 003bb61dfbbb523f5af30e240835b21225ccddac Mon Sep 17 00:00:00 2001 From: Erimel Date: Tue, 3 Jan 2023 11:12:35 -0500 Subject: [PATCH] remove java WindowConfig (#434) --- .../java/dev/slimevr/config/VRConfig.java | 6 -- .../java/dev/slimevr/config/WindowConfig.java | 61 ------------------- 2 files changed, 67 deletions(-) delete mode 100644 server/src/main/java/dev/slimevr/config/WindowConfig.java diff --git a/server/src/main/java/dev/slimevr/config/VRConfig.java b/server/src/main/java/dev/slimevr/config/VRConfig.java index 0f1632387..a782416f7 100644 --- a/server/src/main/java/dev/slimevr/config/VRConfig.java +++ b/server/src/main/java/dev/slimevr/config/VRConfig.java @@ -20,8 +20,6 @@ public class VRConfig { private final ServerConfig server = new ServerConfig(); - private final WindowConfig window = new WindowConfig(); - private final FiltersConfig filters = new FiltersConfig(); private final OSCConfig oscRouter = new OSCConfig(); @@ -79,10 +77,6 @@ public class VRConfig { return server; } - public WindowConfig getWindow() { - return window; - } - public FiltersConfig getFilters() { return filters; } diff --git a/server/src/main/java/dev/slimevr/config/WindowConfig.java b/server/src/main/java/dev/slimevr/config/WindowConfig.java deleted file mode 100644 index 8c93f6bdd..000000000 --- a/server/src/main/java/dev/slimevr/config/WindowConfig.java +++ /dev/null @@ -1,61 +0,0 @@ -package dev.slimevr.config; - - -public class WindowConfig { - - public static final float INITAL_ZOOM = 1.5f; - - private float zoom = INITAL_ZOOM; - - private int width = 800; - - private int height = 800; - - private int posx = -1; - private int posy = -1; - - public WindowConfig() { - } - - public float getZoom() { - return zoom; - } - - public void setZoom(float zoom) { - this.zoom = zoom; - } - - public int getWidth() { - return width; - } - - public void setWidth(int width) { - this.width = width; - } - - public int getHeight() { - return height; - } - - public void setHeight(int height) { - this.height = height; - } - - public int getPosx() { - return posx; - } - - public void setPosx(int posx) { - this.posx = posx; - } - - public int getPosy() { - return posy; - } - - public void setPosy(int posy) { - this.posy = posy; - } - - -}