Blender V5.3
textview.cc File Reference
#include <algorithm>
#include "MEM_guardedalloc.h"
#include "BLF_api.hh"
#include "BLI_math_color_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string_utf8.hh"
#include "BLI_utildefines.hh"
#include "GPU_immediate.hh"
#include "GPU_state.hh"
#include "DNA_userdef_types.h"
#include "UI_interface.hh"
#include "UI_interface_icons.hh"
#include "textview.hh"

Go to the source code of this file.

Classes

struct  blender::TextViewDrawState

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::textview_font_begin (const int font_id, const int line_height)
BLI_INLINE void blender::textview_step_sel (TextViewDrawState *tds, const int step)
static void blender::textview_draw_sel (const char *str, const int xy[2], const int str_len_draw, TextViewDrawState *tds, const uchar bg_sel[4])
int blender::textview_wrap_offsets (const char *str, const int str_len, const int width, int *r_lines, int **r_offsets)
static bool blender::textview_draw_string (TextViewDrawState *tds, const char *str, int str_len, const uchar fg[4], const uchar bg[4], int icon, const uchar icon_fg[4], const uchar icon_bg[4], const uchar bg_sel[4])
int blender::textview_draw (TextViewContext *tvc, const bool do_draw, const int mval_init[2], void **r_mval_pick_item, int *r_mval_pick_offset)