-
-
Notifications
You must be signed in to change notification settings - Fork 139
Expand file tree
/
Copy pathConfiguration.java
More file actions
67 lines (56 loc) · 1.38 KB
/
Configuration.java
File metadata and controls
67 lines (56 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package imgui.app;
/**
* Data class to provide basic information about the window. Like, the title name etc.
*/
public class Configuration {
/**
* Application title.
*/
private String title = "ImGui Java Application";
/**
* Application window width.
*/
private int width = 1280;
/**
* Application window height.
*/
private int height = 768;
/**
* When true, application will be maximized by default.
*/
private boolean fullScreen = false;
/**
* Backend rendering API to use for ImGUI
*/
private BackendType backendType = BackendType.OPENGL;
public String getTitle() {
return title;
}
public void setTitle(final String title) {
this.title = title;
}
public int getWidth() {
return width;
}
public void setWidth(final int width) {
this.width = width;
}
public int getHeight() {
return height;
}
public void setHeight(final int height) {
this.height = height;
}
public boolean isFullScreen() {
return fullScreen;
}
public void setFullScreen(final boolean fullScreen) {
this.fullScreen = fullScreen;
}
public BackendType getBackendType() {
return backendType;
}
public void setBackendType(final BackendType backendType) {
this.backendType = backendType;
}
}