mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
remove java WindowConfig (#434)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user