Add wrapped AWT for headless platform
This commit is contained in:
1 parent
05a09dd437
commit
d038e80c04
21 files changed
+264
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package jdpi.awt;
|
||||
|
||||
import org.lwjgl.glfw.GLFW;
|
||||
|
||||
public class Component {
|
||||
//setPreferredSize
|
||||
|
||||
public int getWidth() {
|
||||
return GLFW.mGLFWWindowWidth;
|
||||
}
|
||||
|
||||
public int getHeight() {
|
||||
return GLFW.mGLFWWindowHeight;
|
||||
}
|
||||
|
||||
public void setVisible(boolean visible) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user