Blender
V3.3
|
#include <textview.h>
Public Attributes | |
int | lheight |
int | sel_start |
int | sel_end |
int | row_vpadding |
rcti | draw_rect |
rcti | draw_rect_outer |
int | scroll_ymin |
int | scroll_ymax |
int(* | begin )(struct TextViewContext *tvc) |
void(* | end )(struct TextViewContext *tvc) |
const void * | arg1 |
const void * | arg2 |
int(* | step )(struct TextViewContext *tvc) |
void(* | line_get )(struct TextViewContext *tvc, const char **r_line, int *r_len) |
enum eTextViewContext_LineFlag(* | line_data )(struct TextViewContext *tvc, uchar fg[4], uchar bg[4], int *r_icon, uchar r_icon_fg[4], uchar r_icon_bg[4]) |
void(* | draw_cursor )(struct TextViewContext *tvc, int cwidth, int columns) |
void(* | const_colors )(struct TextViewContext *tvc, unsigned char bg_sel[4]) |
const void * | iter |
int | iter_index |
int | iter_char_begin |
int | iter_char_end |
int | iter_tmp |
Definition at line 17 of file textview.h.
const void* TextViewContext::arg1 |
Definition at line 36 of file textview.h.
Referenced by console_textview_begin(), console_textview_draw_cursor(), console_textview_end(), console_textview_main__internal(), info_textview_main__internal(), and report_textview_skip__internal().
const void* TextViewContext::arg2 |
Definition at line 37 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and report_textview_begin().
int(* TextViewContext::begin) (struct TextViewContext *tvc) |
Definition at line 34 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
void(* TextViewContext::const_colors) (struct TextViewContext *tvc, unsigned char bg_sel[4]) |
Definition at line 50 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
void(* TextViewContext::draw_cursor) (struct TextViewContext *tvc, int cwidth, int columns) |
Definition at line 48 of file textview.h.
Referenced by console_textview_main__internal(), and textview_draw().
rcti TextViewContext::draw_rect |
Area to draw text: (0, 0, winx, winy) with a margin applied and scroll-bar subtracted.
Definition at line 26 of file textview.h.
Referenced by console_textview_draw_cursor(), console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
rcti TextViewContext::draw_rect_outer |
Area to draw text background colors (extending beyond text in some cases).
Definition at line 28 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
void(* TextViewContext::end) (struct TextViewContext *tvc) |
Definition at line 35 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
const void* TextViewContext::iter |
Definition at line 51 of file textview.h.
Referenced by console_line_data(), console_textview_begin(), console_textview_line_get(), console_textview_step(), report_line_data(), report_textview_begin(), report_textview_init__internal(), report_textview_line_get(), report_textview_skip__internal(), report_textview_step(), and textview_draw().
int TextViewContext::iter_char_begin |
Used for internal multi-line iteration.
Definition at line 54 of file textview.h.
Referenced by report_line_data(), report_textview_init__internal(), report_textview_line_get(), and report_textview_step().
int TextViewContext::iter_char_end |
The last character (not inclusive).
Definition at line 56 of file textview.h.
Referenced by report_textview_begin(), report_textview_init__internal(), report_textview_line_get(), and report_textview_step().
int TextViewContext::iter_index |
Definition at line 52 of file textview.h.
int TextViewContext::iter_tmp |
Internal iterator use.
Definition at line 58 of file textview.h.
Referenced by report_line_data(), report_textview_begin(), and report_textview_step().
int TextViewContext::lheight |
Font size scaled by the interface size.
Definition at line 19 of file textview.h.
Referenced by console_textview_draw_cursor(), console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
enum eTextViewContext_LineFlag(* TextViewContext::line_data) (struct TextViewContext *tvc, uchar fg[4], uchar bg[4], int *r_icon, uchar r_icon_fg[4], uchar r_icon_bg[4]) |
Definition at line 41 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
void(* TextViewContext::line_get) (struct TextViewContext *tvc, const char **r_line, int *r_len) |
Definition at line 41 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
int TextViewContext::row_vpadding |
Definition at line 23 of file textview.h.
Referenced by info_textview_main__internal(), and textview_draw().
int TextViewContext::scroll_ymax |
Definition at line 31 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
int TextViewContext::scroll_ymin |
Scroll offset in pixels.
Definition at line 31 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().
int TextViewContext::sel_end |
Definition at line 21 of file textview.h.
Referenced by console_textview_begin(), console_textview_main__internal(), info_textview_main__internal(), report_textview_begin(), and textview_draw().
int TextViewContext::sel_start |
Text selection, when a selection range is in use.
Definition at line 21 of file textview.h.
Referenced by console_textview_begin(), console_textview_main__internal(), info_textview_main__internal(), report_textview_begin(), and textview_draw().
int(* TextViewContext::step) (struct TextViewContext *tvc) |
Definition at line 40 of file textview.h.
Referenced by console_textview_main__internal(), info_textview_main__internal(), and textview_draw().