com.badlogic.gdx.backends.iosrobovm.bindings.metalangle.MGLKViewController Maven / Gradle / Ivy
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.badlogic.gdx.backends.iosrobovm.bindings.metalangle;
/**/
import org.robovm.apple.coregraphics.CGRect;
import org.robovm.apple.uikit.UIViewController;
import org.robovm.objc.ObjCRuntime;
import org.robovm.objc.annotation.Method;
import org.robovm.objc.annotation.NativeClass;
import org.robovm.objc.annotation.Property;
import org.robovm.rt.bro.annotation.ByVal;
import org.robovm.rt.bro.annotation.MachineSizedSInt;
import org.robovm.rt.bro.ptr.Ptr;
/* */
/**/
/* */
/**/@NativeClass
/* */
/* */public/* */ class /* */ MGLKViewController/* */
extends /* */UIViewController/* */
/* */ implements MGLKViewDelegate/* */ {
/* */public static class MGLKViewControllerPtr extends Ptr {
}
/* */
/* */static {
ObjCRuntime.bind(MGLKViewController.class);
}/* */
/* *//* */
/* */
protected MGLKViewController () {
}
protected MGLKViewController (Handle h, long handle) {
super(h, handle);
}
protected MGLKViewController (SkipInit skipInit) {
super(skipInit);
}
/* */
/* */
@Property(selector = "delegate")
public native MGLKViewControllerDelegate getDelegate ();
@Property(selector = "setDelegate:", strongRef = true)
public native void setDelegate (MGLKViewControllerDelegate v);
@Property(selector = "preferredFramesPerSecond")
public native @MachineSizedSInt long getPreferredFramesPerSecond ();
@Property(selector = "setPreferredFramesPerSecond:")
public native void setPreferredFramesPerSecond (@MachineSizedSInt long v);
@Property(selector = "framesDisplayed")
public native @MachineSizedSInt long getFramesDisplayed ();
@Property(selector = "timeSinceLastUpdate")
public native double getTimeSinceLastUpdate ();
@Property(selector = "isPaused")
public native boolean isPaused ();
@Property(selector = "setPaused:")
public native void setPaused (boolean v);
@Property(selector = "pauseOnWillResignActive")
public native boolean isPauseOnWillResignActive ();
@Property(selector = "setPauseOnWillResignActive:")
public native void setPauseOnWillResignActive (boolean v);
@Property(selector = "resumeOnDidBecomeActive")
public native boolean isResumeOnDidBecomeActive ();
@Property(selector = "setResumeOnDidBecomeActive:")
public native void setResumeOnDidBecomeActive (boolean v);
@Property(selector = "glView")
public native MGLKView getGlView ();
/* */
/* *//* */
/* */
@Method(selector = "mglkView:drawInRect:")
public native void draw (MGLKView view, @ByVal CGRect rect);
/* */
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy