Blender  V3.3
Public Attributes | List of all members
TextViewDrawState Struct Reference

Public Attributes

int font_id
 
int cwidth
 
int lheight
 
int lofs
 
int row_vpadding
 
int columns
 
const rctidraw_rect
 
const rctidraw_rect_outer
 
int scroll_ymin
 
int scroll_ymax
 
int * xy
 
int * sel
 
int * mval_pick_offset
 
const int * mval
 
bool do_draw
 

Detailed Description

Definition at line 31 of file textview.c.

Member Data Documentation

◆ columns

int TextViewDrawState::columns

Number of characters that fit into the width of the console (fixed width).

Definition at line 39 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ cwidth

int TextViewDrawState::cwidth

Definition at line 33 of file textview.c.

Referenced by textview_draw(), textview_draw_sel(), and textview_draw_string().

◆ do_draw

bool TextViewDrawState::do_draw

Definition at line 50 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ draw_rect

const rcti* TextViewDrawState::draw_rect

For drawing text.

Definition at line 41 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ draw_rect_outer

const rcti* TextViewDrawState::draw_rect_outer

For drawing backgrounds colors which may extend beyond text.

Definition at line 43 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ font_id

int TextViewDrawState::font_id

Definition at line 32 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ lheight

int TextViewDrawState::lheight

Definition at line 34 of file textview.c.

Referenced by textview_draw(), textview_draw_sel(), and textview_draw_string().

◆ lofs

int TextViewDrawState::lofs

Text vertical offset per line.

Definition at line 36 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ mval

const int* TextViewDrawState::mval

Definition at line 49 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ mval_pick_offset

int* TextViewDrawState::mval_pick_offset

Definition at line 48 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ row_vpadding

int TextViewDrawState::row_vpadding

Definition at line 37 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ scroll_ymax

int TextViewDrawState::scroll_ymax

Definition at line 44 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().

◆ scroll_ymin

int TextViewDrawState::scroll_ymin

Definition at line 44 of file textview.c.

Referenced by textview_draw().

◆ sel

int* TextViewDrawState::sel

◆ xy

int* TextViewDrawState::xy

Definition at line 45 of file textview.c.

Referenced by textview_draw(), and textview_draw_string().


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