Ewl_Text_Context Struct Reference
[Ewl_Text_Context: A text formatting context]
#include <ewl_text_context.h>

Detailed Description
Stores context information for the different formatting nodes.Data Fields | |
unsigned int | align |
Ewl_Color_Set | color |
const char * | font |
const char * | font_source |
const char * | format |
unsigned int | ref_count |
char | size |
struct { | |
Ewl_Color_Set bg | |
Ewl_Color_Set double_underline | |
Ewl_Color_Set glow | |
Ewl_Color_Set outline | |
Ewl_Color_Set shadow | |
Ewl_Color_Set strikethrough | |
Ewl_Color_Set underline | |
} | style_colors |
unsigned int | styles |
Ewl_Text_Wrap | wrap |
Field Documentation
unsigned int Ewl_Text_Context::align |
Text alignment
Referenced by ewl_text_align_apply(), ewl_text_align_get(), ewl_text_align_set(), ewl_text_context_find(), ewl_text_context_format_string_create(), and ewl_text_context_print().
Background colour
Referenced by ewl_text_bg_color_apply(), ewl_text_bg_color_get(), ewl_text_bg_color_set(), ewl_text_context_find(), and ewl_text_context_format_string_create().
Font colour
Referenced by ewl_text_color_apply(), ewl_text_color_get(), ewl_text_color_set(), ewl_text_context_find(), ewl_text_context_format_string_create(), and ewl_text_context_print().
Double underline colour
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_double_underline_color_apply(), ewl_text_double_underline_color_get(), and ewl_text_double_underline_color_set().
const char* Ewl_Text_Context::font |
const char* Ewl_Text_Context::font_source |
const char* Ewl_Text_Context::format |
This context's format string
Referenced by ewl_text_cb_reveal(), ewl_text_context_find(), ewl_text_context_format_string_create(), and ewl_text_context_release().
Glow colour
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_glow_color_apply(), ewl_text_glow_color_get(), and ewl_text_glow_color_set().
unsigned int Ewl_Text_Context::ref_count |
Number of references to this context
Referenced by ewl_text_context_acquire(), ewl_text_context_new(), and ewl_text_context_release().
Shadow colour
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_shadow_color_apply(), ewl_text_shadow_color_get(), and ewl_text_shadow_color_set().
Strikethrough colour
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_strikethrough_color_apply(), ewl_text_strikethrough_color_get(), and ewl_text_strikethrough_color_set().
struct { ... } Ewl_Text_Context::style_colors |
Colour information
Referenced by ewl_text_bg_color_apply(), ewl_text_bg_color_get(), ewl_text_bg_color_set(), ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_double_underline_color_apply(), ewl_text_double_underline_color_get(), ewl_text_double_underline_color_set(), ewl_text_glow_color_apply(), ewl_text_glow_color_get(), ewl_text_glow_color_set(), ewl_text_outline_color_apply(), ewl_text_outline_color_get(), ewl_text_outline_color_set(), ewl_text_shadow_color_apply(), ewl_text_shadow_color_get(), ewl_text_shadow_color_set(), ewl_text_strikethrough_color_apply(), ewl_text_strikethrough_color_get(), ewl_text_strikethrough_color_set(), ewl_text_underline_color_apply(), ewl_text_underline_color_get(), and ewl_text_underline_color_set().
unsigned int Ewl_Text_Context::styles |
Styles set in this node
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_context_print(), ewl_text_style_add(), ewl_text_style_del(), ewl_text_style_has(), ewl_text_style_invert(), ewl_text_styles_apply(), ewl_text_styles_get(), and ewl_text_styles_set().
Underline colour
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_underline_color_apply(), and ewl_text_underline_color_set().
Text wrap setting
Referenced by ewl_text_context_find(), ewl_text_context_format_string_create(), ewl_text_context_print(), ewl_text_wrap_apply(), ewl_text_wrap_get(), and ewl_text_wrap_set().
The documentation for this struct was generated from the following file: