001    package org.bridj.cpp.com;
002    import org.bridj.CRuntime;
003    import org.bridj.Pointer;
004    import org.bridj.StructObject;
005    import org.bridj.ann.CLong;
006    import org.bridj.ann.Runtime;
007    import org.bridj.ann.Field;
008    import org.bridj.ann.Library;
009    /**
010     * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
011     * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
012     * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> or <a href="http://bridj.googlecode.com/">BridJ</a> .
013     */
014    @Runtime(CRuntime.class) 
015    public class RECT extends StructObject {
016            @CLong 
017            @Field(0) 
018            public long left() {
019                    return this.io.getCLongField(this, 0);
020            }
021            @CLong 
022            @Field(0) 
023            public RECT left(long left) {
024                    this.io.setCLongField(this, 0, left);
025                    return this;
026            }
027            public final long left_$eq(long left) {
028                    left(left);
029                    return left;
030            }
031            @CLong 
032            @Field(1) 
033            public long top() {
034                    return this.io.getCLongField(this, 1);
035            }
036            @CLong 
037            @Field(1) 
038            public RECT top(long top) {
039                    this.io.setCLongField(this, 1, top);
040                    return this;
041            }
042            public final long top_$eq(long top) {
043                    top(top);
044                    return top;
045            }
046            @CLong 
047            @Field(2) 
048            public long right() {
049                    return this.io.getCLongField(this, 2);
050            }
051            @CLong 
052            @Field(2) 
053            public RECT right(long right) {
054                    this.io.setCLongField(this, 2, right);
055                    return this;
056            }
057            public final long right_$eq(long right) {
058                    right(right);
059                    return right;
060            }
061            @CLong 
062            @Field(3) 
063            public long bottom() {
064                    return this.io.getCLongField(this, 3);
065            }
066            @CLong 
067            @Field(3) 
068            public RECT bottom(long bottom) {
069                    this.io.setCLongField(this, 3, bottom);
070                    return this;
071            }
072            public final long bottom_$eq(long bottom) {
073                    bottom(bottom);
074                    return bottom;
075            }
076    }
077