Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_info/info_draw.c
| Show First 20 Lines • Show All 241 Lines • ▼ Show 20 Lines | static int info_textview_main__internal(struct SpaceInfo *sinfo, ARegion *ar, ReportList *reports, | ||||
| TextViewContext tvc = {0}; | TextViewContext tvc = {0}; | ||||
| tvc.begin = report_textview_begin; | tvc.begin = report_textview_begin; | ||||
| tvc.end = report_textview_end; | tvc.end = report_textview_end; | ||||
| tvc.step = report_textview_step; | tvc.step = report_textview_step; | ||||
| tvc.line_get = report_textview_line_get; | tvc.line_get = report_textview_line_get; | ||||
| tvc.line_color = report_textview_line_color; | tvc.line_color = report_textview_line_color; | ||||
| tvc.const_colors = NULL; | tvc.const_colors = NULL; | ||||
| tvc.cursor_coords = NULL; | |||||
| tvc.arg1 = sinfo; | tvc.arg1 = sinfo; | ||||
| tvc.arg2 = reports; | tvc.arg2 = reports; | ||||
| /* view */ | /* view */ | ||||
| tvc.sel_start = 0; | tvc.sel_start = 0; | ||||
| tvc.sel_end = 0; | tvc.sel_end = 0; | ||||
| tvc.lheight = 14 * UI_DPI_FAC; //sc->lheight; | tvc.lheight = 14 * UI_DPI_FAC; //sc->lheight; | ||||
| Show All 33 Lines | |||||