Blender V5.3
blender::TextViewDrawState Struct Reference

Public Attributes

int font_id
int char_width
int line_height
int lofs
int row_vpadding
int columns
const rcti * draw_rect
const rcti * draw_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 38 of file textview.cc.

Member Data Documentation

◆ char_width

int blender::TextViewDrawState::char_width

◆ columns

int blender::TextViewDrawState::columns

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

Definition at line 46 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ do_draw

bool blender::TextViewDrawState::do_draw

Definition at line 57 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ draw_rect

const rcti* blender::TextViewDrawState::draw_rect

For drawing text.

Definition at line 48 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ draw_rect_outer

const rcti* blender::TextViewDrawState::draw_rect_outer

For drawing backgrounds colors which may extend beyond text.

Definition at line 50 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ font_id

int blender::TextViewDrawState::font_id

Definition at line 39 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ line_height

int blender::TextViewDrawState::line_height

◆ lofs

int blender::TextViewDrawState::lofs

Text vertical offset per line.

Definition at line 43 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ mval

const int* blender::TextViewDrawState::mval

Definition at line 56 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ mval_pick_offset

int* blender::TextViewDrawState::mval_pick_offset

Definition at line 55 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ row_vpadding

int blender::TextViewDrawState::row_vpadding

Definition at line 44 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ scroll_ymax

int blender::TextViewDrawState::scroll_ymax

Definition at line 51 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().

◆ scroll_ymin

int blender::TextViewDrawState::scroll_ymin

Definition at line 51 of file textview.cc.

Referenced by blender::textview_draw().

◆ sel

int* blender::TextViewDrawState::sel

◆ xy

int* blender::TextViewDrawState::xy

Definition at line 52 of file textview.cc.

Referenced by blender::textview_draw(), and blender::textview_draw_string().


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