aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (FACE_FROM_ID): Cast the arg ID to `unsigned'.Kenichi Handa1999-12-271-1/+1
|
* (struct glyph): Make face_id and padding_p the topKenichi Handa1999-12-271-53/+41
| | | | | | | | | | level members. Change members in union `u'. (GLYPH_EQUAL_P): Check also members face_id and padding_p. (GLYPH_CHAR_AND_FACE_EQUAL_P): New macro. (SET_CHAR_GLYPH): Adjusted for the change of struct glyph. (CHAR_GLYPH_PADDING_P): Likewise. (GLYPH_FROM_CHAR_GLYPH): Likewise. Always return -1 for multibyte characters.
* Changes for separate unspecified foreground and background colorsEli Zaretskii1999-12-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on character terminals: * dispextern.h (FACE_TTY_DEFAULT_FG_COLOR) (FACE_TTY_DEFAULT_BG_COLOR): New macros. * xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables. (syms_of_xfaces): Initialize and staticpro them. (tty_defined_color): If the color name is unspecified-fg or unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value. (tty_color_name): If the color pixel value is either FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg or Qunspecified_bg, respectively. (Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg and Qunspecified_bg for foreground and background colors. (realize_default_face): If the foreground and background colors are not specified, default to Qunspecified_fg and Qunspecified_bg. (realize_tty_face): By default, set the face colors to FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR. [MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined. Reverse the colors if the default colors were reversed. * dispnew.c (init_display): Initialize the frame pixels of the initial frame to FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR. * term.c (turn_on_face): If the default fore- and background colors are reversed, enter inverse video mode. Don't send color escape sequences for unspecified foreground and background colors. (turn_off_face): Handle unspecified-fg and unspecified-bg colors. * dosfns.c (unspecified_colors): New variable. (msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg color names, return FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR, respectively. (msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and Qunspecified_bg, respectively. * msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR as pixel values. * faces.el (face-read-integer, read-face-attribute) (color-defined-p, color-values): Allow color values unspecified-fg and unspecified-bg, handle them as unspecified.
* (enum glyph_type): New member COMPOSITE_GLYPH.Kenichi Handa1999-12-151-7/+31
| | | | | | | (struct glyph): Add new sub-structure cmp to the union `u'. (enum display_element_type): New member IT_COMPOSITION. (enum prop_idx): New member COMPOSITION_PROP_IDX. (struct it): New members cmp_id, cmp_len.
* Oops, forgot to commit the change in dispextern.h together with theEli Zaretskii1999-12-081-0/+1
| | | | rest of the changes for tty color support.
* (struct image): New member load_failed_p.Gerd Moellmann1999-10-091-0/+3
|
* (enum face_id): Add MENU_FACE_ID.Gerd Moellmann1999-10-061-2/+10
| | | | (toplevel): Include X11/Intrinsic.h.
* Add prototype for add_to_log.Gerd Moellmann1999-09-231-0/+1
|
* Add prototypes for gamma_correct andGerd Moellmann1999-09-141-1/+3
| | | | | | x_kill_gs_process. (xassert) [GLYPH_DEBUG]: Change definition to use do-while.
* Change prototype of resize_mini_window.Gerd Moellmann1999-09-121-1/+2
| | | | Add prototype for resize_echo_area_axactly.
* (SCROLL_BAR_FACE_ID, BORDER_FACE_ID,Gerd Moellmann1999-09-071-0/+6
| | | | CURSOR_FACE_ID, MOUSE_FACE_ID): New.
* ChangeGerd Moellmann1999-09-051-19/+19
| | | | | `top-line' and `top_line' to `header-line' and `header_line'. Likewise for similar spellings.
* Change spelling of `toolbar' to `tool_bar' or `tool-bar'.Gerd Moellmann1999-09-051-33/+33
| | | | Likewise for upper-case etc.
* [macintosh]: Include macterm.h to define substitute XRichard M. Stallman1999-09-031-0/+3
| | | | Window types and macros.
* Add function prototype for resize_mini_window.Gerd Moellmann1999-09-031-0/+1
|
* (struct it): Change the size of the member `ctl_chars'.Kenichi Handa1999-09-031-2/+5
|
* (WINDOW_DISPLAY_PIXEL_WIDTH): SubtractGerd Moellmann1999-08-301-2/+2
| | | | | | FRAME_FLAGS_AREA_COLS once. (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X): Add FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
* (struct glyph_matrix): Add buffer, begv, and zv.Gerd Moellmann1999-08-231-0/+6
|
* (NO_PROMPT_IN_BUFFER): Removed.Gerd Moellmann1999-08-211-21/+4
| | | | | | Change prototypes for do_pending_window_change and change_frame_size. Add function prototypes.
* (struct it): Remove memberGerd Moellmann1999-08-171-3/+1
| | | | show_trailing_whitespace_p.
* (struct glyph_row): Add overlapping_p.Gerd Moellmann1999-08-061-5/+38
| | | | | | | | | | | | | | (MATRIX_ROW_OVERLAPS_PRED_P): New. (MATRIX_ROW_OVERLAPS_SUCC_P): New. (struct glyph_row): Add flag overlapped_p. (MATRIX_ROW_OVERLAPPING_P): New. (struct redisplay_interface): Add fix_overlapping_area. (struct glyph): Add overlaps_vertically_p. (struct glyph_row): Add phys_ascent and phys_height. (struct it): Add phys_ascent, phys_descent, max_phys_ascent, max_phys_descent.
* (load_color, lookup_derived_face): DeclareEli Zaretskii1999-07-301-0/+3
| | | | prototypes.
* (struct glyph_row): Flag internal_border_p removed.Gerd Moellmann1999-07-271-4/+0
|
* Complete rewrite.Gerd Moellmann1999-07-211-147/+2098
|
* Add more prototypes.Andreas Schwab1998-04-141-2/+56
|
* (struct face): New members `non_ascii_gc' andKarl Heuer1997-02-201-3/+15
| | | | | `fontset'. [HAVE_FACES]: New macros FACE_NON_ASCII_GC and FACE_FONTSET.
* Use new name w32gui.hGeoff Voelker1997-01-201-1/+1
|
* Removed support for !MULTI_FRAME.Karl Heuer1996-09-011-2/+0
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* [HAVE_NTGUI]: Include win32.h.Geoff Voelker1995-11-071-2/+6
| | | | | HAVE_NTGUI] (struct frame_glyphs): Include pixel fields. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
* *** empty log message ***Morten Welinder1994-10-171-2/+14
|
* (struct face): Delete cached_index field.Richard M. Stallman1994-10-171-7/+0
|
* (struct face): Use EMACS_UINT.Richard M. Stallman1994-09-171-2/+2
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* Comment changes.Richard M. Stallman1994-04-031-4/+27
|
* (struct frame_glyphs): New fields charstarts and total_charstarts.Richard M. Stallman1994-03-291-0/+8
|
* Separate parameter faces (those created and modified by the user)Jim Blandy1993-06-221-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the computed faces (the combinations created by compute_char_face), so that we don't waste global face id's. * xterm.h (struct x_display): Replace the fields faces and n_faces with fields param_faces, n_param_faces, computed_faces, n_computed_faces, and size_computed_faces. (FRAME_FACES, FRAME_N_FACES): Replaced by... (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES, FRAME_N_PARAM_FACES): New macros. * xfaces.c: Doc fixes. (init_frame_faces): Call new_computed_face to create entries for the default and mode line faces. Use the FRAME...PARAM_FACES macros. (free_frame_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Don't use the copy flag; all parameter faces have real X resources, and all computed faces just have copies. Free both the parameter and computed face arrays. (new_computed_face): New function. (intern_computed_face): Renamed from intern_frame_face; callers changed. Call new_computed_face. (ensure_face_ready, compute_char_face, compute_glyph_face): Use the FRAME...PARAM_FACES macros. (recompute_basic_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Produce the computed faces by starting with the base faces and merging in the parameter faces. (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES macros. Just call recompute_basic_faces if the default or mode line faces have changed. * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros. * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros. * dispextern.h (struct face): Remove the copy member. This is no longer necessary; all computed faces are copies, and no parameter faces are.
* * dispextern.h (struct face): New field - `copy', to help us withJim Blandy1993-05-251-0/+9
| | | | | | | | | | | resource allocation. * xfaces.c (free_frame_faces): Do free the first two faces; don't free anything from a face that's a copy. (intern_frame_face): Mark every face we intern as a copy; its resources are actually a combination of the real faces. (Fset_face_attribute_internal): No need to check if we're trying to free one of the frame's GC's; they never enter into the picture.
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * dispextern.h (struct face): Add cached_index member.Jim Blandy1993-05-101-0/+7
| | | | | * xfaces.c (get_cached_face): Use it to avoid unnecessary searches of face_vector.
* (struct face): New fields pixmap_h, pixmap_w.Richard M. Stallman1993-03-281-15/+19
| | | | Field `font' is now a pointer.
* * frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked asJim Blandy1993-01-141-4/+0
| | | | | | | | | | | | | garbaged whenever it goes from invisible to visible. * dispextern.h (frame_garbaged): Move extern declaration from here... * frame.h (frame_garbaged): ... to here. The FRAME_SAMPLE_VISIBILITY macro uses it now, and this seems to be just as modular. Make a new page, just for this and message_buf_print. (struct frame): Doc fix for the `visible' field. * process.c: #include "frame.h" instead of "dispextern.h"; the only thing we care about from it is the frame_garbaged declaration. * ymakefile: Note dependency change.
* * dispextern.h (struct frame_glyphs): Doc fix.Jim Blandy1992-12-061-0/+1
|
* * dispextern.h (sit_for): Declare this extern.Jim Blandy1992-10-311-0/+1
|
* * dispextern.h: New element of frame structure `max_ascent'.Joseph Arceneaux1992-10-141-22/+60
| | | | | | | Removed elements `nruns' and `face_list'. LINE_HEIGHT and LINE_WIDTH macros removed. New struct face with associated typedef FACE declared, along with accessing macros.
* entered into RCSJim Blandy1992-07-131-13/+13
|
* *** empty log message ***Jim Blandy1992-06-301-9/+2
|
* *** empty log message ***Jim Blandy1992-01-131-9/+14
|
* *** empty log message ***Jim Blandy1991-07-131-0/+3
|
* Initial revisionJim Blandy1991-04-301-0/+94