Ewl_Text Struct Reference
[Ewl_Text: A text layout widget]
#include <ewl_text.h>

Detailed Description
Inherits from the Ewl_Container class and extends it to provide text layout and formatting.Data Fields | |
Ecore_List * | areas_cache |
Ewl_Container | container |
unsigned int | cursor_position |
unsigned char | delete_count |
unsigned char | dirty |
struct { | |
void * nodes | |
void * tx | |
} | formatting |
unsigned char | in_select |
struct { | |
unsigned int bytes | |
unsigned int chars | |
unsigned int max_chars | |
} | length |
char * | obscure |
struct { | |
int x | |
int y | |
} | offset |
unsigned char | selectable |
Ewl_Widget * | selection |
char * | text |
void * | textblock |
unsigned int | total_size |
Ecore_List * | triggers |
Field Documentation
Ecore_List* Ewl_Text::areas_cache |
unused areas
unsigned int Ewl_Text::bytes |
Number of bytes in the text
Referenced by ewl_text_text_delete().
unsigned int Ewl_Text::chars |
Number of characters in the text
Referenced by ewl_text_all_select(), ewl_text_clear(), ewl_text_cursor_position_set(), ewl_text_index_geometry_map(), ewl_text_length_get(), ewl_text_select(), ewl_text_text_append(), ewl_text_text_delete(), ewl_text_text_insert(), and ewl_text_text_prepend().
Inherit from Ewl_Container
unsigned int Ewl_Text::cursor_position |
The cursor position
Referenced by ewl_text_align_apply(), ewl_text_bg_color_apply(), ewl_text_color_apply(), ewl_text_cursor_position_get(), ewl_text_cursor_position_line_down_get(), ewl_text_cursor_position_line_up_get(), ewl_text_cursor_position_set(), ewl_text_double_underline_color_apply(), ewl_text_font_size_apply(), ewl_text_font_source_apply(), ewl_text_glow_color_apply(), ewl_text_outline_color_apply(), ewl_text_shadow_color_apply(), ewl_text_strikethrough_color_apply(), ewl_text_style_add(), ewl_text_style_del(), ewl_text_style_invert(), ewl_text_styles_apply(), ewl_text_text_delete(), ewl_text_underline_color_apply(), and ewl_text_wrap_apply().
unsigned char Ewl_Text::delete_count |
Number of deletes
unsigned char Ewl_Text::dirty |
Does the text need layout?
Referenced by ewl_text_align_apply(), ewl_text_bg_color_apply(), ewl_text_cb_configure(), ewl_text_clear(), ewl_text_color_apply(), ewl_text_coord_index_map(), ewl_text_double_underline_color_apply(), ewl_text_font_size_apply(), ewl_text_font_source_apply(), ewl_text_glow_color_apply(), ewl_text_index_geometry_map(), ewl_text_init(), ewl_text_obscure_set(), ewl_text_outline_color_apply(), ewl_text_shadow_color_apply(), ewl_text_strikethrough_color_apply(), ewl_text_styles_apply(), ewl_text_text_append(), ewl_text_text_delete(), ewl_text_text_insert(), ewl_text_text_prepend(), ewl_text_underline_color_apply(), and ewl_text_wrap_apply().
struct { ... } Ewl_Text::formatting |
Holds the formatting information
Referenced by ewl_text_align_apply(), ewl_text_align_get(), ewl_text_bg_color_apply(), ewl_text_bg_color_get(), ewl_text_cb_destroy(), ewl_text_clear(), ewl_text_color_apply(), ewl_text_color_get(), ewl_text_cursor_position_line_down_get(), ewl_text_cursor_position_set(), ewl_text_double_underline_color_apply(), ewl_text_double_underline_color_get(), ewl_text_font_get(), ewl_text_font_size_apply(), ewl_text_font_size_get(), ewl_text_font_source_apply(), ewl_text_font_source_get(), ewl_text_glow_color_apply(), ewl_text_glow_color_get(), ewl_text_init(), ewl_text_outline_color_apply(), ewl_text_outline_color_get(), ewl_text_selection_text_get(), ewl_text_shadow_color_apply(), ewl_text_shadow_color_get(), ewl_text_strikethrough_color_apply(), ewl_text_strikethrough_color_get(), ewl_text_style_add(), ewl_text_style_del(), ewl_text_style_has(), ewl_text_style_invert(), ewl_text_styles_apply(), ewl_text_styles_get(), ewl_text_text_append(), ewl_text_text_delete(), ewl_text_text_insert(), ewl_text_text_prepend(), ewl_text_underline_color_apply(), ewl_text_underline_color_get(), ewl_text_wrap_apply(), and ewl_text_wrap_get().
unsigned char Ewl_Text::in_select |
Are we in select mode?
Referenced by ewl_text_cb_mouse_down(), ewl_text_cb_mouse_move(), and ewl_text_cb_mouse_up().
struct { ... } Ewl_Text::length |
Different text lengths
Referenced by ewl_text_all_select(), ewl_text_clear(), ewl_text_cursor_position_set(), ewl_text_index_geometry_map(), ewl_text_length_get(), ewl_text_length_maximum_get(), ewl_text_length_maximum_set(), ewl_text_select(), ewl_text_text_append(), ewl_text_text_delete(), ewl_text_text_insert(), and ewl_text_text_prepend().
unsigned int Ewl_Text::max_chars |
Maximal number of characters in the text
Referenced by ewl_text_length_maximum_get(), ewl_text_length_maximum_set(), ewl_text_text_append(), ewl_text_text_insert(), and ewl_text_text_prepend().
void* Ewl_Text::nodes |
The formatting nodes
Referenced by ewl_text_align_apply(), ewl_text_align_get(), ewl_text_bg_color_apply(), ewl_text_bg_color_get(), ewl_text_cb_destroy(), ewl_text_clear(), ewl_text_color_apply(), ewl_text_color_get(), ewl_text_cursor_position_line_down_get(), ewl_text_cursor_position_set(), ewl_text_double_underline_color_apply(), ewl_text_double_underline_color_get(), ewl_text_font_get(), ewl_text_font_size_apply(), ewl_text_font_size_get(), ewl_text_font_source_apply(), ewl_text_font_source_get(), ewl_text_glow_color_apply(), ewl_text_glow_color_get(), ewl_text_init(), ewl_text_outline_color_apply(), ewl_text_outline_color_get(), ewl_text_selection_text_get(), ewl_text_shadow_color_apply(), ewl_text_shadow_color_get(), ewl_text_strikethrough_color_apply(), ewl_text_strikethrough_color_get(), ewl_text_style_add(), ewl_text_style_del(), ewl_text_style_has(), ewl_text_style_invert(), ewl_text_styles_apply(), ewl_text_styles_get(), ewl_text_text_append(), ewl_text_text_delete(), ewl_text_text_insert(), ewl_text_text_prepend(), ewl_text_underline_color_apply(), ewl_text_underline_color_get(), ewl_text_wrap_apply(), and ewl_text_wrap_get().
char* Ewl_Text::obscure |
The utf8 character to be displayed instead of the real text
Referenced by ewl_text_cb_destroy(), ewl_text_obscure_get(), and ewl_text_obscure_set().
struct { ... } Ewl_Text::offset |
Layout offset values
Referenced by ewl_text_offsets_get(), and ewl_text_offsets_set().
unsigned char Ewl_Text::selectable |
Is the text selectable?
Referenced by ewl_text_selectable_get(), and ewl_text_selectable_set().
The current selection
Referenced by ewl_text_cb_configure(), ewl_text_cb_destroy(), ewl_text_cb_mouse_down(), ewl_text_cb_mouse_move(), ewl_text_cb_mouse_up(), ewl_text_select(), ewl_text_selection_get(), ewl_text_selection_text_get(), and ewl_text_text_delete().
char* Ewl_Text::text |
void* Ewl_Text::textblock |
The Evas_Object_Textblock
Referenced by ewl_text_cb_configure(), ewl_text_cb_hide(), ewl_text_cb_obscure(), ewl_text_cb_reveal(), ewl_text_cb_show(), ewl_text_coord_index_map(), ewl_text_cursor_position_line_down_get(), ewl_text_cursor_position_line_up_get(), and ewl_text_index_geometry_map().
unsigned int Ewl_Text::total_size |
The total size we've alloc'd for text
Referenced by ewl_text_text_delete().
Ecore_List* Ewl_Text::triggers |
The list of triggers
Referenced by ewl_text_cb_destroy().
void* Ewl_Text::tx |
The current formatting context
Referenced by ewl_text_cb_destroy(), ewl_text_clear(), ewl_text_cursor_position_set(), ewl_text_init(), ewl_text_text_append(), ewl_text_text_delete(), ewl_text_text_insert(), and ewl_text_text_prepend().
int Ewl_Text::x |
X offset for layout
Referenced by ewl_text_offsets_get(), and ewl_text_offsets_set().
int Ewl_Text::y |
Y offset for layout
Referenced by ewl_text_offsets_get(), and ewl_text_offsets_set().
The documentation for this struct was generated from the following file:
- lib/ewl_text.h