Class SpaceText_Runtime
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.SpaceText_Runtime
-
public class SpaceText_Runtime extends CFacade
Generated facet for DNA struct type 'SpaceText_Runtime'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description SpaceText_Runtime(long __address, Block __block, BlockTable __blockTable)
protected
SpaceText_Runtime(SpaceText_Runtime that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct SpaceText_Runtime.It is required when allocating a new block to store data for SpaceText_Runtime.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__lheight_px
public static final long[] __DNA__FIELD__lheight_px
Field descriptor (offset) for struct member 'lheight_px'.Field Documentation
Blender Source Code
Actual line height, scaled by DPI.
Pointer Arithmetics
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});
Metadata
- Field: 'lheight_px'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cwidth_px
public static final long[] __DNA__FIELD__cwidth_px
Field descriptor (offset) for struct member 'cwidth_px'.Field Documentation
Blender Source Code
Runtime computed, character width.
Pointer Arithmetics
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});
Metadata
- Field: 'cwidth_px'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__scroll_region_handle
public static final long[] __DNA__FIELD__scroll_region_handle
Field descriptor (offset) for struct member 'scroll_region_handle'.Field Documentation
Blender Source Code
The handle of the scroll-bar which can be clicked and dragged.
Pointer Arithmetics
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});
Metadata
- Field: 'scroll_region_handle'
- Signature: 'rcti'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__scroll_region_select
public static final long[] __DNA__FIELD__scroll_region_select
Field descriptor (offset) for struct member 'scroll_region_select'.Field Documentation
Blender Source Code
The region for selected text to show in the scrolling area.
Pointer Arithmetics
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});
Metadata
- Field: 'scroll_region_select'
- Signature: 'rcti'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__line_number_display_digits
public static final long[] __DNA__FIELD__line_number_display_digits
Field descriptor (offset) for struct member 'line_number_display_digits'.Field Documentation
Blender Source Code
Number of digits to show in the line numbers column (when enabled).
Pointer Arithmetics
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});
Metadata
- Field: 'line_number_display_digits'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__viewlines
public static final long[] __DNA__FIELD__viewlines
Field descriptor (offset) for struct member 'viewlines'.Field Documentation
Blender Source Code
Number of lines this window can display (even when they aren't used).
Pointer Arithmetics
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});
Metadata
- Field: 'viewlines'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__scroll_px_per_line
public static final long[] __DNA__FIELD__scroll_px_per_line
Field descriptor (offset) for struct member 'scroll_px_per_line'.Field Documentation
Blender Source Code
Use for drawing scroll-bar & calculating scroll operator motion scaling.
Pointer Arithmetics
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});
Metadata
- Field: 'scroll_px_per_line'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__scroll_ofs_px
public static final long[] __DNA__FIELD__scroll_ofs_px
Field descriptor (offset) for struct member 'scroll_ofs_px'.Field Documentation
Blender Source Code
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)).
Pointer Arithmetics
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});
Metadata
- Field: 'scroll_ofs_px'
- Signature: 'int[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
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});
Metadata
- Field: '_pad1'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__drawcache
public static final long[] __DNA__FIELD__drawcache
Field descriptor (offset) for struct member 'drawcache'.Field Documentation
Blender Source Code
Cache for faster drawing.
Pointer Arithmetics
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});
Metadata
- Field: 'drawcache'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
SpaceText_Runtime
public SpaceText_Runtime(long __address, Block __block, BlockTable __blockTable)
-
SpaceText_Runtime
protected SpaceText_Runtime(SpaceText_Runtime that)
-
-
Method Detail
-
getLheight_px
public int getLheight_px() throws java.io.IOException
Get method for struct member 'lheight_px'.Field Documentation
Blender Source Code
Actual line height, scaled by DPI.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lheight_px
-
setLheight_px
public void setLheight_px(int lheight_px) throws java.io.IOException
Set method for struct member 'lheight_px'.Field Documentation
Blender Source Code
Actual line height, scaled by DPI.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lheight_px
-
getCwidth_px
public int getCwidth_px() throws java.io.IOException
Get method for struct member 'cwidth_px'.Field Documentation
Blender Source Code
Runtime computed, character width.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cwidth_px
-
setCwidth_px
public void setCwidth_px(int cwidth_px) throws java.io.IOException
Set method for struct member 'cwidth_px'.Field Documentation
Blender Source Code
Runtime computed, character width.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cwidth_px
-
getScroll_region_handle
public rcti getScroll_region_handle() throws java.io.IOException
Get method for struct member 'scroll_region_handle'.Field Documentation
Blender Source Code
The handle of the scroll-bar which can be clicked and dragged.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_region_handle
-
setScroll_region_handle
public void setScroll_region_handle(rcti scroll_region_handle) throws java.io.IOException
Set method for struct member 'scroll_region_handle'.Field Documentation
Blender Source Code
The handle of the scroll-bar which can be clicked and dragged.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_region_handle
-
getScroll_region_select
public rcti getScroll_region_select() throws java.io.IOException
Get method for struct member 'scroll_region_select'.Field Documentation
Blender Source Code
The region for selected text to show in the scrolling area.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_region_select
-
setScroll_region_select
public void setScroll_region_select(rcti scroll_region_select) throws java.io.IOException
Set method for struct member 'scroll_region_select'.Field Documentation
Blender Source Code
The region for selected text to show in the scrolling area.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_region_select
-
getLine_number_display_digits
public int getLine_number_display_digits() throws java.io.IOException
Get method for struct member 'line_number_display_digits'.Field Documentation
Blender Source Code
Number of digits to show in the line numbers column (when enabled).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__line_number_display_digits
-
setLine_number_display_digits
public void setLine_number_display_digits(int line_number_display_digits) throws java.io.IOException
Set method for struct member 'line_number_display_digits'.Field Documentation
Blender Source Code
Number of digits to show in the line numbers column (when enabled).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__line_number_display_digits
-
getViewlines
public int getViewlines() throws java.io.IOException
Get method for struct member 'viewlines'.Field Documentation
Blender Source Code
Number of lines this window can display (even when they aren't used).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__viewlines
-
setViewlines
public void setViewlines(int viewlines) throws java.io.IOException
Set method for struct member 'viewlines'.Field Documentation
Blender Source Code
Number of lines this window can display (even when they aren't used).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__viewlines
-
getScroll_px_per_line
public float getScroll_px_per_line() throws java.io.IOException
Get method for struct member 'scroll_px_per_line'.Field Documentation
Blender Source Code
Use for drawing scroll-bar & calculating scroll operator motion scaling.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_px_per_line
-
setScroll_px_per_line
public void setScroll_px_per_line(float scroll_px_per_line) throws java.io.IOException
Set method for struct member 'scroll_px_per_line'.Field Documentation
Blender Source Code
Use for drawing scroll-bar & calculating scroll operator motion scaling.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_px_per_line
-
getScroll_ofs_px
public CArrayFacade<java.lang.Integer> getScroll_ofs_px() throws java.io.IOException
Get method for struct member 'scroll_ofs_px'.Field Documentation
Blender Source Code
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)).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_ofs_px
-
setScroll_ofs_px
public void setScroll_ofs_px(CArrayFacade<java.lang.Integer> scroll_ofs_px) throws java.io.IOException
Set method for struct member 'scroll_ofs_px'.Field Documentation
Blender Source Code
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)).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scroll_ofs_px
-
get_pad1
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
getDrawcache
public CPointer<java.lang.Object> getDrawcache() throws java.io.IOException
Get method for struct member 'drawcache'.Field Documentation
Blender Source Code
Cache for faster drawing.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__drawcache
-
setDrawcache
public void setDrawcache(CPointer<java.lang.Object> drawcache) throws java.io.IOException
Set method for struct member 'drawcache'.Field Documentation
Blender Source Code
Cache for faster drawing.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__drawcache
-
__io__addressof
public CPointer<SpaceText_Runtime> __io__addressof()
Instantiates a pointer on this instance.
-
-