public class SpaceText_Runtime extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD__cwidth_px
Field descriptor (offset) for struct member 'cwidth_px'.
|
static long[] |
__DNA__FIELD__drawcache
Field descriptor (offset) for struct member 'drawcache'.
|
static long[] |
__DNA__FIELD__lheight_px
Field descriptor (offset) for struct member 'lheight_px'.
|
static long[] |
__DNA__FIELD__line_number_display_digits
Field descriptor (offset) for struct member 'line_number_display_digits'.
|
static long[] |
__DNA__FIELD__scroll_ofs_px
Field descriptor (offset) for struct member 'scroll_ofs_px'.
|
static long[] |
__DNA__FIELD__scroll_px_per_line
Field descriptor (offset) for struct member 'scroll_px_per_line'.
|
static long[] |
__DNA__FIELD__scroll_region_handle
Field descriptor (offset) for struct member 'scroll_region_handle'.
|
static long[] |
__DNA__FIELD__scroll_region_select
Field descriptor (offset) for struct member 'scroll_region_select'.
|
static long[] |
__DNA__FIELD__viewlines
Field descriptor (offset) for struct member 'viewlines'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct SpaceText_Runtime.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
SpaceText_Runtime(long __address,
Block __block,
BlockTable __blockTable) |
protected |
SpaceText_Runtime(SpaceText_Runtime that) |
Modifier and Type | Method and Description |
---|---|
CPointer<SpaceText_Runtime> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad1()
Get method for struct member '_pad1'.
|
int |
getCwidth_px()
Get method for struct member 'cwidth_px'.
|
CPointer<java.lang.Object> |
getDrawcache()
Get method for struct member 'drawcache'.
|
int |
getLheight_px()
Get method for struct member 'lheight_px'.
|
int |
getLine_number_display_digits()
Get method for struct member 'line_number_display_digits'.
|
CArrayFacade<java.lang.Integer> |
getScroll_ofs_px()
Get method for struct member 'scroll_ofs_px'.
|
float |
getScroll_px_per_line()
Get method for struct member 'scroll_px_per_line'.
|
rcti |
getScroll_region_handle()
Get method for struct member 'scroll_region_handle'.
|
rcti |
getScroll_region_select()
Get method for struct member 'scroll_region_select'.
|
int |
getViewlines()
Get method for struct member 'viewlines'.
|
void |
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.
|
void |
setCwidth_px(int cwidth_px)
Set method for struct member 'cwidth_px'.
|
void |
setDrawcache(CPointer<java.lang.Object> drawcache)
Set method for struct member 'drawcache'.
|
void |
setLheight_px(int lheight_px)
Set method for struct member 'lheight_px'.
|
void |
setLine_number_display_digits(int line_number_display_digits)
Set method for struct member 'line_number_display_digits'.
|
void |
setScroll_ofs_px(CArrayFacade<java.lang.Integer> scroll_ofs_px)
Set method for struct member 'scroll_ofs_px'.
|
void |
setScroll_px_per_line(float scroll_px_per_line)
Set method for struct member 'scroll_px_per_line'.
|
void |
setScroll_region_handle(rcti scroll_region_handle)
Set method for struct member 'scroll_region_handle'.
|
void |
setScroll_region_select(rcti scroll_region_select)
Set method for struct member 'scroll_region_select'.
|
void |
setViewlines(int viewlines)
Set method for struct member 'viewlines'.
|
__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 SpaceText_Runtime.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__lheight_px
Actual line height, scaled by dpi.
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__lheight_px); CPointer<Integer> p_lheight_px = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__cwidth_px
Runtime computed, character width.
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__cwidth_px); CPointer<Integer> p_cwidth_px = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__scroll_region_handle
The handle of the scroll-bar which can be clicked and dragged.
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__scroll_region_handle); CPointer<rcti> p_scroll_region_handle = p.cast(new Class[]{rcti.class});
public static final long[] __DNA__FIELD__scroll_region_select
The region for selected text to show in the scrolling area.
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__scroll_region_select); CPointer<rcti> p_scroll_region_select = p.cast(new Class[]{rcti.class});
public static final long[] __DNA__FIELD__line_number_display_digits
Number of digits to show in the line numbers column (when enabled).
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__line_number_display_digits); CPointer<Integer> p_line_number_display_digits = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__viewlines
Number of lines this window can display (even when they aren't used).
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__viewlines); CPointer<Integer> p_viewlines = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__scroll_px_per_line
Use for drawing scroll-bar & calculating scroll operator motion scaling.
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__scroll_px_per_line); CPointer<Float> p_scroll_px_per_line = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__scroll_ofs_px
Run-time for scroll increments smaller than a line (smooth scroll). Values must be between zero and the line, column width: (cwidth, TXT_LINE_HEIGHT(st)).
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__scroll_ofs_px); CPointer<CArrayFacade<Integer>> p_scroll_ofs_px = p.cast(new Class[]{CArrayFacade.class, Integer.class});
public static final long[] __DNA__FIELD___pad1
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__drawcache
Cache for faster drawing.
This is how you get a reference on the corresponding field in the struct:
SpaceText_Runtime spacetext_runtime = ...; CPointer<Object> p = spacetext_runtime.__dna__addressof(SpaceText_Runtime.__DNA__FIELD__drawcache); CPointer<CPointer<Object>> p_drawcache = p.cast(new Class[]{CPointer.class, Object.class});
public SpaceText_Runtime(long __address, Block __block, BlockTable __blockTable)
protected SpaceText_Runtime(SpaceText_Runtime that)
public int getLheight_px() throws java.io.IOException
Actual line height, scaled by dpi.
java.io.IOException
__DNA__FIELD__lheight_px
public void setLheight_px(int lheight_px) throws java.io.IOException
Actual line height, scaled by dpi.
java.io.IOException
__DNA__FIELD__lheight_px
public int getCwidth_px() throws java.io.IOException
Runtime computed, character width.
java.io.IOException
__DNA__FIELD__cwidth_px
public void setCwidth_px(int cwidth_px) throws java.io.IOException
Runtime computed, character width.
java.io.IOException
__DNA__FIELD__cwidth_px
public rcti getScroll_region_handle() throws java.io.IOException
The handle of the scroll-bar which can be clicked and dragged.
java.io.IOException
__DNA__FIELD__scroll_region_handle
public void setScroll_region_handle(rcti scroll_region_handle) throws java.io.IOException
The handle of the scroll-bar which can be clicked and dragged.
java.io.IOException
__DNA__FIELD__scroll_region_handle
public rcti getScroll_region_select() throws java.io.IOException
The region for selected text to show in the scrolling area.
java.io.IOException
__DNA__FIELD__scroll_region_select
public void setScroll_region_select(rcti scroll_region_select) throws java.io.IOException
The region for selected text to show in the scrolling area.
java.io.IOException
__DNA__FIELD__scroll_region_select
public int getLine_number_display_digits() throws java.io.IOException
Number of digits to show in the line numbers column (when enabled).
java.io.IOException
__DNA__FIELD__line_number_display_digits
public void setLine_number_display_digits(int line_number_display_digits) throws java.io.IOException
Number of digits to show in the line numbers column (when enabled).
java.io.IOException
__DNA__FIELD__line_number_display_digits
public int getViewlines() throws java.io.IOException
Number of lines this window can display (even when they aren't used).
java.io.IOException
__DNA__FIELD__viewlines
public void setViewlines(int viewlines) throws java.io.IOException
Number of lines this window can display (even when they aren't used).
java.io.IOException
__DNA__FIELD__viewlines
public float getScroll_px_per_line() throws java.io.IOException
Use for drawing scroll-bar & calculating scroll operator motion scaling.
java.io.IOException
__DNA__FIELD__scroll_px_per_line
public void setScroll_px_per_line(float scroll_px_per_line) throws java.io.IOException
Use for drawing scroll-bar & calculating scroll operator motion scaling.
java.io.IOException
__DNA__FIELD__scroll_px_per_line
public CArrayFacade<java.lang.Integer> getScroll_ofs_px() throws java.io.IOException
Run-time for scroll increments smaller than a line (smooth scroll). Values must be between zero and the line, column width: (cwidth, TXT_LINE_HEIGHT(st)).
java.io.IOException
__DNA__FIELD__scroll_ofs_px
public void setScroll_ofs_px(CArrayFacade<java.lang.Integer> scroll_ofs_px) throws java.io.IOException
Run-time for scroll increments smaller than a line (smooth scroll). Values must be between zero and the line, column width: (cwidth, TXT_LINE_HEIGHT(st)).
java.io.IOException
__DNA__FIELD__scroll_ofs_px
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public CPointer<java.lang.Object> getDrawcache() throws java.io.IOException
Cache for faster drawing.
java.io.IOException
__DNA__FIELD__drawcache
public void setDrawcache(CPointer<java.lang.Object> drawcache) throws java.io.IOException
Cache for faster drawing.
java.io.IOException
__DNA__FIELD__drawcache
public CPointer<SpaceText_Runtime> __io__addressof()