MCPcopy Create free account
hub / github.com/agateau/pixelwheels / isDesktop

Method isDesktop

core/src/com/agateau/utils/PlatformUtils.java:54–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 public static boolean isDesktop() {
55 switch (Gdx.app.getType()) {
56 case Desktop:
57 case HeadlessDesktop:
58 case Applet:
59 case WebGL:
60 return true;
61 default:
62 return false;
63 }
64 }
65
66 /** An implementation of Gdx.net.openURI which works on Linux */
67 public static void openURI(String uri) {

Callers 8

initMethod · 0.95
getUserWritableFileMethod · 0.95
setFullscreenMethod · 0.95
updateZoomMethod · 0.95
setupUiMethod · 0.95
addControlsTabMethod · 0.95
addAudioVideoTabMethod · 0.95
createUiInstanceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected