Blender
V3.3
|
#include <DNA_space_types.h>
Public Attributes | |
int | lheight_px |
int | cwidth_px |
struct rcti | scroll_region_handle |
struct rcti | scroll_region_select |
int | line_number_display_digits |
int | viewlines |
float | scroll_px_per_line |
int | scroll_ofs_px [2] |
char | _pad1 [4] |
void * | drawcache |
Definition at line 1345 of file DNA_space_types.h.
char SpaceText_Runtime::_pad1[4] |
Definition at line 1373 of file DNA_space_types.h.
int SpaceText_Runtime::cwidth_px |
Runtime computed, character width.
Definition at line 1351 of file DNA_space_types.h.
void* SpaceText_Runtime::drawcache |
Cache for faster drawing.
Definition at line 1376 of file DNA_space_types.h.
Referenced by text_duplicate().
int SpaceText_Runtime::lheight_px |
Actual line height, scaled by DPI.
Definition at line 1348 of file DNA_space_types.h.
int SpaceText_Runtime::line_number_display_digits |
Number of digits to show in the line numbers column (when enabled).
Definition at line 1359 of file DNA_space_types.h.
int SpaceText_Runtime::scroll_ofs_px[2] |
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)).
Definition at line 1371 of file DNA_space_types.h.
float SpaceText_Runtime::scroll_px_per_line |
Use for drawing scroll-bar & calculating scroll operator motion scaling.
Definition at line 1365 of file DNA_space_types.h.
struct rcti SpaceText_Runtime::scroll_region_handle |
The handle of the scroll-bar which can be clicked and dragged.
Definition at line 1351 of file DNA_space_types.h.
struct rcti SpaceText_Runtime::scroll_region_select |
The region for selected text to show in the scrolling area.
Definition at line 1351 of file DNA_space_types.h.
int SpaceText_Runtime::viewlines |
Number of lines this window can display (even when they aren't used).
Definition at line 1362 of file DNA_space_types.h.