diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-14 18:26:43 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-14 18:26:43 +0200 |
commit | 61e0d9d098bcfc6e8b324d4696318f5ceb89e666 (patch) | |
tree | f5f70c4e8b6d9c1c9d20bec8d83da657a70317ec /src/text.h | |
parent | fa31942c023fd34faf4ec5282a08a5f0726c2b33 (diff) |
unicode: move kmscon_symbol* to tsm_symbol*
All the unicode helpers are move to TSM so move the symbols, too.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/text.h')
-rw-r--r-- | src/text.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -87,7 +87,7 @@ struct kmscon_font_ops { int (*init) (struct kmscon_font *out, const struct kmscon_font_attr *attr); void (*destroy) (struct kmscon_font *font); - int (*render) (struct kmscon_font *font, kmscon_symbol_t sym, + int (*render) (struct kmscon_font *font, tsm_symbol_t sym, const struct kmscon_glyph **out); int (*render_empty) (struct kmscon_font *font, const struct kmscon_glyph **out); @@ -104,7 +104,7 @@ int kmscon_font_find(struct kmscon_font **out, void kmscon_font_ref(struct kmscon_font *font); void kmscon_font_unref(struct kmscon_font *font); -int kmscon_font_render(struct kmscon_font *font, kmscon_symbol_t sym, +int kmscon_font_render(struct kmscon_font *font, tsm_symbol_t sym, const struct kmscon_glyph **out); int kmscon_font_render_empty(struct kmscon_font *font, const struct kmscon_glyph **out); @@ -135,7 +135,7 @@ struct kmscon_text_ops { int (*set) (struct kmscon_text *txt); void (*unset) (struct kmscon_text *txt); int (*prepare) (struct kmscon_text *txt); - int (*draw) (struct kmscon_text *txt, kmscon_symbol_t ch, + int (*draw) (struct kmscon_text *txt, tsm_symbol_t ch, unsigned int posx, unsigned int posy, const struct kmscon_console_attr *attr); int (*render) (struct kmscon_text *txt); @@ -157,14 +157,14 @@ unsigned int kmscon_text_get_cols(struct kmscon_text *txt); unsigned int kmscon_text_get_rows(struct kmscon_text *txt); int kmscon_text_prepare(struct kmscon_text *txt); -int kmscon_text_draw(struct kmscon_text *txt, kmscon_symbol_t ch, +int kmscon_text_draw(struct kmscon_text *txt, tsm_symbol_t ch, unsigned int posx, unsigned int posy, const struct kmscon_console_attr *attr); int kmscon_text_render(struct kmscon_text *txt); void kmscon_text_abort(struct kmscon_text *txt); int kmscon_text_prepare_cb(struct kmscon_console *con, void *data); -int kmscon_text_draw_cb(struct kmscon_console *con, kmscon_symbol_t ch, +int kmscon_text_draw_cb(struct kmscon_console *con, tsm_symbol_t ch, unsigned int posx, unsigned int posy, const struct kmscon_console_attr *attr, void *data); int kmscon_text_render_cb(struct kmscon_console *con, void *data); |