lib/ewl_text_context.c File Reference
#include "ewl_base.h"
#include "ewl_text_context.h"
#include "ewl_private.h"
#include "ewl_macros.h"
#include "ewl_debug.h"
Include dependency graph for ewl_text_context.c:

Defines | |
#define | COLOR_HASH(c) (c.r << 24 | c.g << 16 | c.b << 8 | c.a) |
#define | KEY_BUILD(c) (c.r | c.g | c.b | c.a) |
#define | KEY_COMPARE(k1, k2) if (k1 > k2) goto CTX1_LARGER; else if (k2 > k1) goto CTX2_LARGER; |
Functions | |
void | ewl_text_context_acquire (Ewl_Text_Context *tx) |
Ewl_Text_Context * | ewl_text_context_find (Ewl_Text_Context *tx, unsigned int context_mask, Ewl_Text_Context *tx_change) |
void | ewl_text_context_format_string_create (Ewl_Text_Context *ctx) |
int | ewl_text_context_init (void) |
Ewl_Text_Context * | ewl_text_context_new (void) |
void | ewl_text_context_print (Ewl_Text_Context *tx, const char *indent) |
int | ewl_text_context_release (Ewl_Text_Context *tx) |
void | ewl_text_context_shutdown (void) |
Define Documentation
#define COLOR_HASH | ( | c | ) | (c.r << 24 | c.g << 16 | c.b << 8 | c.a) |
#define KEY_BUILD | ( | c | ) | (c.r | c.g | c.b | c.a) |
#define KEY_COMPARE | ( | k1, | |||
k2 | ) | if (k1 > k2) goto CTX1_LARGER; else if (k2 > k1) goto CTX2_LARGER; |