Add showSoftKeyboard(boolean show) to JmeSystem.
Includes empty implementations for now. Android to be implemented in next commit.
This commit is contained in:
parent
c5775ec30d
commit
d42a777909
@ -230,4 +230,8 @@ public class JmeAndroidSystem extends JmeSystemDelegate {
|
|||||||
public static String getAudioRendererType() {
|
public static String getAudioRendererType() {
|
||||||
return audioRendererType;
|
return audioRendererType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void showSoftKeyboard(boolean show) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,6 +103,11 @@ public class JmeSystem {
|
|||||||
systemDelegate.setSoftTextDialogInput(input);
|
systemDelegate.setSoftTextDialogInput(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void showSoftKeyboard(boolean show) {
|
||||||
|
checkDelegate();
|
||||||
|
systemDelegate.showSoftKeyboard(show);
|
||||||
|
}
|
||||||
|
|
||||||
public static SoftTextDialogInput getSoftTextDialogInput() {
|
public static SoftTextDialogInput getSoftTextDialogInput() {
|
||||||
checkDelegate();
|
checkDelegate();
|
||||||
return systemDelegate.getSoftTextDialogInput();
|
return systemDelegate.getSoftTextDialogInput();
|
||||||
|
@ -179,4 +179,6 @@ public abstract class JmeSystemDelegate {
|
|||||||
public abstract void initialize(AppSettings settings);
|
public abstract void initialize(AppSettings settings);
|
||||||
|
|
||||||
public abstract ImageRaster createImageRaster(Image image, int slice);
|
public abstract ImageRaster createImageRaster(Image image, int slice);
|
||||||
|
|
||||||
|
public abstract void showSoftKeyboard(boolean show);
|
||||||
}
|
}
|
||||||
|
@ -328,4 +328,8 @@ public class JmeDesktopSystem extends JmeSystemDelegate {
|
|||||||
}
|
}
|
||||||
logger.log(Level.INFO, "Running on {0}", getFullName());
|
logger.log(Level.INFO, "Running on {0}", getFullName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void showSoftKeyboard(boolean show) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -110,4 +110,9 @@ public class JmeIosSystem extends JmeSystemDelegate {
|
|||||||
public ImageRaster createImageRaster(Image image, int slice) {
|
public ImageRaster createImageRaster(Image image, int slice) {
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void showSoftKeyboard(boolean show) {
|
||||||
|
throw new UnsupportedOperationException("Not supported yet.");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user