Mercurial > emacs
annotate lwlib/lwlib-Xlw.h @ 97833:6e54941ad0d7
Include font.h.
(it_props): Delete the entry for Qauto_composed.
(init_iterator): Initialize it->cmp_it.id to -1.
(compute_stop_pos): Call composition_compute_stop_pos.
(face_before_or_after_it_pos): Adjusted for the change of struct
it.
(handle_auto_composed_prop): Delete it.
(handle_composition_prop): Handle only static composition.
(next_overlay_string): Remove it->method == GET_FROM_COMPOSITION
from xassert. Initialize it->cmp_it.stop_pos.
(push_it): Adjusted for the change of struct it.
(pop_it): Likewise.
(get_next_element): Delete next_element_from_composition.
(CHAR_COMPOSED_P): New macro.
(get_next_display_element): For automatic composition, get a face
from the font in the glyph-string.
(set_iterator_to_next): For GET_FROM_BUFFER and GET_FROM_STRING,
check composition by it->cmp_it.id. Delete GET_FROM_COMPOSITION
case.
(next_element_from_string): Check if the character at the current
position is composed by CHAR_COMPOSED_P.
(next_element_from_buffer): Likewise.
(next_element_from_composition): Adjusted for the change of struct
it. Update it->cmp_it.
(dump_glyph): Adjusted for the change of struct glyph.
(fill_composite_glyph_string): Adjusted for the change of struct
it and struct glyph. Don't handle automatic composition here.
(fill_gstring_glyph_string): New function.
(x_get_glyph_overhangs): Handle automatic composition.
(BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the change of struct
glyph.
(BUILD_GSTRING_GLYPH_STRING): New macro.
(BUILD_GLYPH_STRINGS): Call BUILD_GSTRING_GLYPH_STRING for
automatic composition.
(append_composite_glyph): Adjusted for the change of struct it and
struct glyph.
(x_produce_glyphs): Adjusted for the change of struct it.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 29 Aug 2008 07:58:08 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 e16f43875a48 |
rev | line source |
---|---|
5626 | 1 #ifndef LWLIB_XLW_H |
2 #define LWLIB_XLW_H | |
3 | |
5627
7ff2d6076466
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
4 #include "lwlib-int.h" |
5626 | 5 |
6 extern widget_creation_entry xlw_creation_table []; | |
7 extern widget_creation_function xlw_create_dialog; | |
8 | |
9 Boolean | |
29466 | 10 lw_lucid_widget_p __P ((Widget widget)); |
5626 | 11 |
12 void | |
29466 | 13 xlw_update_one_widget __P ((widget_instance* instance, Widget widget, |
14 widget_value* val, Boolean deep_p)); | |
5626 | 15 |
16 void | |
29466 | 17 xlw_update_one_value __P ((widget_instance* instance, Widget widget, |
18 widget_value* val)); | |
5626 | 19 |
20 void | |
29466 | 21 xlw_destroy_instance __P ((widget_instance* instance)); |
5626 | 22 |
23 void | |
29466 | 24 xlw_pop_instance __P ((widget_instance* instance, Boolean up)); |
5626 | 25 |
26 void | |
29466 | 27 xlw_popup_menu __P ((Widget widget, XEvent * event)); |
5626 | 28 |
29 #endif /* LWLIB_XLW_H */ | |
52401 | 30 |
31 /* arch-tag: e5b1511d-8992-4dad-b947-a2440d8f10a2 | |
32 (do not change this comment) */ |