Package org.robovm.apple.coregraphics

Examples of org.robovm.apple.coregraphics.CGRect


  @Override
  public void setOnscreenKeyboardVisible(boolean visible) {
    if (textfield == null) {
      //Making simple textField
      textfield = new UITextField(new CGRect(10, 10, 100, 50));
      //Setting parameters
      textfield.setKeyboardType(UIKeyboardType.Default);
      textfield.setReturnKeyType(UIReturnKeyType.Done);
      textfield.setAutocapitalizationType(UITextAutocapitalizationType.None);
      textfield.setAutocorrectionType(UITextAutocorrectionType.No);
View Full Code Here


    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Method(selector = "touchesBegan:withEvent:")
      public void touchesBegan (@Pointer long touches, UIEvent event) {
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Method(selector = "touchesBegan:withEvent:")
      public void touchesBegan (@Pointer long touches, UIEvent event) {
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

  @Override
  public void setOnscreenKeyboardVisible(boolean visible) {
    if (textfield == null) {
      //Making simple textField
      textfield = new UITextField(new CGRect(10, 10, 100, 50));
      //Setting parameters
      textfield.setKeyboardType(UIKeyboardType.Default);
      textfield.setReturnKeyType(UIReturnKeyType.Done);
      textfield.setAutocapitalizationType(UITextAutocapitalizationType.None);
      textfield.setAutocorrectionType(UITextAutocorrectionType.No);
View Full Code Here

    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Method(selector = "touchesBegan:withEvent:")
      public void touchesBegan (@Pointer long touches, UIEvent event) {
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

  @Override
  public void setOnscreenKeyboardVisible(boolean visible) {
    if (textfield == null) {
      //Making simple textField
      textfield = new UITextField(new CGRect(10, 10, 100, 50));
      //Setting parameters
      textfield.setKeyboardType(UIKeyboardType.Default);
      textfield.setReturnKeyType(UIReturnKeyType.Done);
      textfield.setAutocapitalizationType(UITextAutocapitalizationType.None);
      textfield.setAutocorrectionType(UITextAutocorrectionType.No);
View Full Code Here

  @Override
  public void setOnscreenKeyboardVisible(boolean visible) {
    if (textfield == null) {
      //Making simple textField
      textfield = new UITextField(new CGRect(10, 10, 100, 50));
      //Setting parameters
      textfield.setKeyboardType(UIKeyboardType.Default);
      textfield.setReturnKeyType(UIReturnKeyType.Done);
      textfield.setAutocapitalizationType(UITextAutocapitalizationType.None);
      textfield.setAutocorrectionType(UITextAutocorrectionType.No);
View Full Code Here

    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Override
      public void touchesBegan (NSSet<UITouch> touches, UIEvent event) {
        super.touchesBegan(touches, event);
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

TOP

Related Classes of org.robovm.apple.coregraphics.CGRect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.