public class ScrGlobalAreaData extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__align
Field descriptor (offset) for struct member 'align'.
|
static long[] |
__DNA__FIELD__cur_fixed_height
Field descriptor (offset) for struct member 'cur_fixed_height'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__size_max
Field descriptor (offset) for struct member 'size_max'.
|
static long[] |
__DNA__FIELD__size_min
Field descriptor (offset) for struct member 'size_min'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct ScrGlobalAreaData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
ScrGlobalAreaData(long __address,
Block __block,
BlockTable __blockTable) |
protected |
ScrGlobalAreaData(ScrGlobalAreaData that) |
Modifier and Type | Method and Description |
---|---|
CPointer<ScrGlobalAreaData> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
short |
getAlign()
Get method for struct member 'align'.
|
short |
getCur_fixed_height()
Get method for struct member 'cur_fixed_height'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
short |
getSize_max()
Get method for struct member 'size_max'.
|
short |
getSize_min()
Get method for struct member 'size_min'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAlign(short align)
Set method for struct member 'align'.
|
void |
setCur_fixed_height(short cur_fixed_height)
Set method for struct member 'cur_fixed_height'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setSize_max(short size_max)
Set method for struct member 'size_max'.
|
void |
setSize_min(short size_min)
Set method for struct member 'size_min'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for ScrGlobalAreaData.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__cur_fixed_height
Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't)
This is how you get a reference on the corresponding field in the struct:
ScrGlobalAreaData scrglobalareadata = ...; CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__cur_fixed_height); CPointer<Short> p_cur_fixed_height = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__size_min
For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.
This is how you get a reference on the corresponding field in the struct:
ScrGlobalAreaData scrglobalareadata = ...; CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__size_min); CPointer<Short> p_size_min = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__size_max
This is how you get a reference on the corresponding field in the struct:
ScrGlobalAreaData scrglobalareadata = ...; CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__size_max); CPointer<Short> p_size_max = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__align
GlobalAreaAlign.
This is how you get a reference on the corresponding field in the struct:
ScrGlobalAreaData scrglobalareadata = ...; CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__align); CPointer<Short> p_align = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
GlobalAreaFlag.
This is how you get a reference on the corresponding field in the struct:
ScrGlobalAreaData scrglobalareadata = ...; CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
ScrGlobalAreaData scrglobalareadata = ...; CPointer<Object> p = scrglobalareadata.__dna__addressof(ScrGlobalAreaData.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public ScrGlobalAreaData(long __address, Block __block, BlockTable __blockTable)
protected ScrGlobalAreaData(ScrGlobalAreaData that)
public short getCur_fixed_height() throws java.io.IOException
Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't)
java.io.IOException
__DNA__FIELD__cur_fixed_height
public void setCur_fixed_height(short cur_fixed_height) throws java.io.IOException
Global areas have a non-dynamic size. That means, changing the window size doesn't affect their size at all. However, they can still be 'collapsed', by changing this value. Ignores DPI (ED_area_global_size_y and winx/winy don't)
java.io.IOException
__DNA__FIELD__cur_fixed_height
public short getSize_min() throws java.io.IOException
For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.
java.io.IOException
__DNA__FIELD__size_min
public void setSize_min(short size_min) throws java.io.IOException
For global areas, this is the min and max size they can use depending on if they are 'collapsed' or not.
java.io.IOException
__DNA__FIELD__size_min
public short getSize_max() throws java.io.IOException
java.io.IOException
__DNA__FIELD__size_max
public void setSize_max(short size_max) throws java.io.IOException
java.io.IOException
__DNA__FIELD__size_max
public short getAlign() throws java.io.IOException
GlobalAreaAlign.
java.io.IOException
__DNA__FIELD__align
public void setAlign(short align) throws java.io.IOException
GlobalAreaAlign.
java.io.IOException
__DNA__FIELD__align
public short getFlag() throws java.io.IOException
GlobalAreaFlag.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
GlobalAreaFlag.
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CPointer<ScrGlobalAreaData> __io__addressof()