Atrinik Client  4.0
Data Fields
text_info_struct Struct Reference

#include <text.h>

Data Fields

const char * anchor_tag
char anchor_action [HUGE_BUF]
SDL_Color outline_color
uint8_t outline_show
uint8_t in_book_title
uint8_t used_alpha
uint8_t in_bold
uint8_t in_italic
uint8_t in_underline
uint8_t in_strikethrough
uint8_t obscured
uint8_t calc_bold
int hcenter_y
int height
int start_x
int start_y
uint8_t highlight
uint8_t flip
SDL_Rect highlight_rect
SDL_Color highlight_color
char tooltip_text [MAX_BUF *2]
uint32_t tooltip_delay
int tooltip_width

Detailed Description

Structure that holds information about markup and other things when drawing.

Definition at line 145 of file text.h.

Field Documentation

char text_info_struct::anchor_action[HUGE_BUF]

Action anchor tag should execute.

Definition at line 150 of file text.h.

const char* text_info_struct::anchor_tag

Anchor tag position.

Definition at line 147 of file text.h.

uint8_t text_info_struct::calc_bold

Whether bold width is being calculated.

Definition at line 183 of file text.h.

font_struct* text_info_struct::calc_font

Whether font width (font changed using a tag) is being calculated.

Definition at line 189 of file text.h.

int text_info_struct::hcenter_y

Used for calculations by the 'hcenter' tag.

Definition at line 194 of file text.h.

uint8_t text_info_struct::in_bold

Whether we are in bold tag.

Definition at line 165 of file text.h.

uint8_t text_info_struct::in_book_title

Whether we are in old-style book title.

Definition at line 159 of file text.h.

uint8_t text_info_struct::in_italic

Whether we are in italic tag.

Definition at line 168 of file text.h.

uint8_t text_info_struct::in_strikethrough

Whether we are in strikethrough tag.

Definition at line 174 of file text.h.

uint8_t text_info_struct::in_underline

Whether we are in underline tag.

Definition at line 171 of file text.h.

uint8_t text_info_struct::obscured

If 1, the character is not being drawn due to line skip (due to scroll value for example).

Definition at line 180 of file text.h.

SDL_Color text_info_struct::outline_color

Outline tag color.

Definition at line 153 of file text.h.

uint8_t text_info_struct::outline_show

Whether to show an outline.

Definition at line 156 of file text.h.

uint8_t text_info_struct::used_alpha


Definition at line 162 of file text.h.

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