Blender V5.0
DrawCache Struct Reference

Public Attributes

int * line_height
int total_lines
int nlines
int winx
int wordwrap
int showlinenrs
int tabnumber
short lheight
char cwidth_px
char text_id [MAX_ID_NAME - 2]
bool update
int valid_head
int valid_tail

Detailed Description

Definition at line 587 of file text_draw.cc.

Member Data Documentation

◆ cwidth_px

char DrawCache::cwidth_px

Definition at line 594 of file text_draw.cc.

Referenced by space_text_update_drawcache().

◆ lheight

short DrawCache::lheight

Definition at line 593 of file text_draw.cc.

Referenced by space_text_update_drawcache().

◆ line_height

int* DrawCache::line_height

◆ nlines

int DrawCache::nlines

◆ showlinenrs

int DrawCache::showlinenrs

Definition at line 592 of file text_draw.cc.

Referenced by space_text_update_drawcache().

◆ tabnumber

int DrawCache::tabnumber

Definition at line 592 of file text_draw.cc.

Referenced by space_text_update_drawcache().

◆ text_id

char DrawCache::text_id[MAX_ID_NAME - 2]

Definition at line 595 of file text_draw.cc.

Referenced by space_text_drawcache_init(), and space_text_update_drawcache().

◆ total_lines

int DrawCache::total_lines

Definition at line 589 of file text_draw.cc.

Referenced by space_text_get_total_lines(), and space_text_update_drawcache().

◆ update

bool DrawCache::update

For partial lines recalculation.

Definition at line 598 of file text_draw.cc.

Referenced by space_text_drawcache_tag_update(), and space_text_update_drawcache().

◆ valid_head

int DrawCache::valid_head

Definition at line 599 of file text_draw.cc.

Referenced by space_text_drawcache_tag_update(), and space_text_update_drawcache().

◆ valid_tail

int DrawCache::valid_tail

Definition at line 599 of file text_draw.cc.

Referenced by space_text_drawcache_tag_update(), and space_text_update_drawcache().

◆ winx

int DrawCache::winx

Definition at line 592 of file text_draw.cc.

Referenced by space_text_drawcache_init(), and space_text_update_drawcache().

◆ wordwrap

int DrawCache::wordwrap

Definition at line 592 of file text_draw.cc.

Referenced by space_text_update_drawcache().


The documentation for this struct was generated from the following file: