/* Class169_Sub1_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Canvas;
import java.awt.Dimension;

import jaggl.OpenGL;

public class Class169_Sub1_Sub1 extends Class169_Sub1
{
    boolean aBool10541 = false;
    Canvas aCanvas10542;
    OpenGL anOpenGL10543;
    long aLong10544;
    int anInt10545;
    Class87_Sub1 aClass87_Sub1_10546;
    int anInt10547;
    
    public void method37() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543.releaseSurface
	    (((Class169_Sub1_Sub1) this).aCanvas10542,
	     ((Class169_Sub1_Sub1) this).aLong10544);
	((Class169_Sub1_Sub1) this).aBool10541 = true;
    }
    
    Class169_Sub1_Sub1(Class87_Sub1 class87_sub1, Canvas canvas, long l) {
	((Class169_Sub1_Sub1) this).aClass87_Sub1_10546 = class87_sub1;
	((Class169_Sub1_Sub1) this).aCanvas10542 = canvas;
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    = ((Class87_Sub1) class87_sub1).anOpenGL8928;
	((Class169_Sub1_Sub1) this).aLong10544 = l;
	method16887();
    }
    
    public int method3826() {
	return ((Class169_Sub1_Sub1) this).anInt10545;
    }
    
    public int method3836() {
	return ((Class169_Sub1_Sub1) this).anInt10547;
    }
    
    void method15837(int i, int i_0_) {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .surfaceResized(((Class169_Sub1_Sub1) this).aLong10544);
	method16887();
	if (this == ((Class169_Sub1_Sub1) this).aClass87_Sub1_10546
			.method2164(208456111))
	    ((Class169_Sub1_Sub1) this).aClass87_Sub1_10546.method14977();
    }
    
    public int method15835(int i, int i_1_) {
	return 0;
    }
    
    public int method15840() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .swapBuffers(((Class169_Sub1_Sub1) this).aLong10544);
	return 0;
    }
    
    public int method15834() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .swapBuffers(((Class169_Sub1_Sub1) this).aLong10544);
	return 0;
    }
    
    public int method3835() {
	return ((Class169_Sub1_Sub1) this).anInt10547;
    }
    
    boolean method3828() {
	return true;
    }
    
    public int method15836(int i, int i_2_) {
	return 0;
    }
    
    public int method3829() {
	return ((Class169_Sub1_Sub1) this).anInt10545;
    }
    
    public int method3830() {
	return ((Class169_Sub1_Sub1) this).anInt10545;
    }
    
    public int method3827() {
	return ((Class169_Sub1_Sub1) this).anInt10547;
    }
    
    public int method3831() {
	return ((Class169_Sub1_Sub1) this).anInt10547;
    }
    
    public void method23() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543.releaseSurface
	    (((Class169_Sub1_Sub1) this).aCanvas10542,
	     ((Class169_Sub1_Sub1) this).aLong10544);
	((Class169_Sub1_Sub1) this).aBool10541 = true;
    }
    
    public int method15839(int i, int i_3_) {
	return 0;
    }
    
    boolean method3832() {
	return true;
    }
    
    boolean method3833() {
	return true;
    }
    
    boolean method3834() {
	return true;
    }
    
    public int method3825() {
	return ((Class169_Sub1_Sub1) this).anInt10547;
    }
    
    void method15838(int i, int i_4_) {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .surfaceResized(((Class169_Sub1_Sub1) this).aLong10544);
	method16887();
	if (this == ((Class169_Sub1_Sub1) this).aClass87_Sub1_10546
			.method2164(-401769637))
	    ((Class169_Sub1_Sub1) this).aClass87_Sub1_10546.method14977();
    }
    
    public void method173() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543.releaseSurface
	    (((Class169_Sub1_Sub1) this).aCanvas10542,
	     ((Class169_Sub1_Sub1) this).aLong10544);
	((Class169_Sub1_Sub1) this).aBool10541 = true;
    }
    
    void method16886() {
	Dimension dimension
	    = ((Class169_Sub1_Sub1) this).aCanvas10542.getSize();
	((Class169_Sub1_Sub1) this).anInt10547 = dimension.height;
	((Class169_Sub1_Sub1) this).anInt10545 = dimension.width;
    }
    
    boolean method172() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .setSurface(((Class169_Sub1_Sub1) this).aLong10544);
	((Class169_Sub1_Sub1) this).aClass87_Sub1_10546.method15072();
	return true;
    }
    
    Class169_Sub1_Sub1(Class87_Sub1 class87_sub1, Canvas canvas) {
	this(class87_sub1, canvas, ((Class87_Sub1) class87_sub1)
				       .anOpenGL8928.prepareSurface(canvas));
    }
    
    public void method170() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543.releaseSurface
	    (((Class169_Sub1_Sub1) this).aCanvas10542,
	     ((Class169_Sub1_Sub1) this).aLong10544);
	((Class169_Sub1_Sub1) this).aBool10541 = true;
    }
    
    void method16887() {
	Dimension dimension
	    = ((Class169_Sub1_Sub1) this).aCanvas10542.getSize();
	((Class169_Sub1_Sub1) this).anInt10547 = dimension.height;
	((Class169_Sub1_Sub1) this).anInt10545 = dimension.width;
    }
    
    void method16888() {
	Dimension dimension
	    = ((Class169_Sub1_Sub1) this).aCanvas10542.getSize();
	((Class169_Sub1_Sub1) this).anInt10547 = dimension.height;
	((Class169_Sub1_Sub1) this).anInt10545 = dimension.width;
    }
    
    public int method15841() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .swapBuffers(((Class169_Sub1_Sub1) this).aLong10544);
	return 0;
    }
    
    boolean method171() {
	if (((Class169_Sub1_Sub1) this).aBool10541)
	    throw new IllegalStateException();
	((Class169_Sub1_Sub1) this).anOpenGL10543
	    .setSurface(((Class169_Sub1_Sub1) this).aLong10544);
	((Class169_Sub1_Sub1) this).aClass87_Sub1_10546.method15072();
	return true;
    }
}
