aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispextern.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (start_hourglass, cancel_hourglass)Gerd Moellmann2001-02-211-3/+3
| | | | (display_hourglass_p): Renamed from *busy_cursor*.
* (line_bottom_y): Add prototype.Gerd Moellmann2001-02-191-0/+1
|
* (struct face): Add comment for how to handle a negative value inKenichi Handa2001-02-091-1/+5
| | | | box_line_width.
* (enum lface_attribute_index): AddGerd Moellmann2001-02-051-0/+1
| | | | LFACE_AVGWIDTH_INDEX (invisible from Lisp).
* (Vtool_bar_button_margin:): Declare extern.Gerd Moellmann2001-01-301-2/+10
| | | | | (DEFAULT_TOOL_BAR_BUTTON_MARGIN, DEFAULT_TOOL_BAR_BUTTON_RELIEF) (DEFAULT_TOOL_BAR_IMAGE_HEIGHT): New defines.
* (redisplay_preserve_echo_area): Change prototype.Gerd Moellmann2001-01-161-1/+1
|
* (struct image): Replace member `margin' withGerd Moellmann2001-01-121-2/+2
| | | | `hmargin' and `vmargin'.
* (move_it_vertically_backward): Declare.Dave Love2001-01-041-0/+1
|
* (move_it_past_eol): Add prototype.Gerd Moellmann2001-01-031-0/+1
|
* (GLYPH_EQUAL_P): Also compare pixel widths,Gerd Moellmann2000-12-211-1/+2
| | | | otherwise tabs of different size compare equal.
* (ensure_frame_matrix): Function declaration removed.Gerd Moellmann2000-12-211-1/+0
|
* (ensure_frame_matrix): Add prototype.Gerd Moellmann2000-12-201-0/+1
|
* (cursor_in_non_selected_windows): Declare extern.Gerd Moellmann2000-12-121-0/+1
|
* Change external declaration of tip_frame.Gerd Moellmann2000-12-111-1/+1
|
* (struct glyph_matrix): Add member window_left_x.Gerd Moellmann2000-12-061-5/+7
|
* (struct it): Add face_before_selective_p.Gerd Moellmann2000-12-051-3/+6
|
* (CURRENT_MODE_LINE_HEIGHT)Gerd Moellmann2000-11-141-14/+23
| | | | | | | (CURRENT_HEADER_LINE_HEIGHT): Look at current_mode_line_height and current_header_line_height first. (current_mode_line_height, current_header_line_height): Declare extern.
* Initial check-in: changes for building Emacs under Mac OS.Andrew Choi2000-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 Andrew Choi <akochoi@i-cable.com> * dispextern.h [macintosh]: Include macgui.h instead of macterm.h. * dispnew.c [macintosh]: Include macterm.h. (init_display) [macintosh]: initialization for window system. * emacs.c (main) [macintosh]: Call syms_of_textprop, syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm, syms_of_search, x_term_init, and init_keyboard before calling init_window_once. Also, call syms_of_xmenu. * fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of default fontset to Monaco. * frame.c [macintosh]: Include macterm.h. Remove declarations of NewMacWindow and DisposeMacWindow. (make_terminal_frame) [macintosh]: Call make_mac_terminal_frame instead of calling NewMacWindow and setting fields of f->output_data.mac directly. Call init_frame_faces. (Fdelete_frame) [macintosh]: Remove unused code. (Fmodify_frame_parameters) [macintosh]: Call x_set_frame_parameters instead of mac_set_frame_parameters. * frame.h [macintosh]: Define menu_bar_lines field in struct frame. Define FRAME_EXTERNAL_MENU_BAR macro. * keyboard.c [macintosh]: Include macterm.h. (kbd_buffer_get_event) [macintosh]: Generate delete_window_event and menu_bar_activate_event type events as for X and NT. (make_lispy_event) [macintosh]: Construct lisp events of type MENU_BAR_EVENT as for X and NT. * sysdep.c [macintosh]: Remove declaration for sys_signal. Include stdlib.h. Remove definition of Vx_bitmap_file_path. (sys_subshell) [macintosh]: Remove definition entirely. (init_sys_modes) [macintosh]: Do not initialize Vwindow_system and Vwindow_system_version here. Remove initialization of Vx_bitmap_file_path. (read_input_waiting): Correct the number of parameters passed to read_socket_hook. Move all Macintosh functions to mac/mac.c. * term.c [macintosh]: Include macterm.h. * window.c [macintosh]: Include macterm.h. * xdisp.c [macintosh]: Include macterm.h. Declare set_frame_menubar and pending_menu_activation. (echo_area_display) [macintosh]: Do not return if terminal frame is the selected frame. (update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f). Allow only the selected frame to set menu bar. (redisplay_window) [macintosh]: Obtain menu bar to redisplay by calling FRAME_EXTERNAL_MENU_BAR (f). (display_menu_bar) [macintosh]: Check FRAME_MAC_P (f). * xfaces.c [macintosh]: Include macterm.h. Define x_display_info and check_x. Declare XCreateGC. Define x_create_gc and x_free_gc. Initialize font_sort_order. (x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT, but call x_list_fonts instead of w32_list_fonts. (Finternal_face_x_get_resource) [macintosh]: Do not call display_x_get_resource. (prepare_face_for_display) [macintosh]: Set xgcv.font. (realize_x_face) [macintosh]: Load the font if it is specified in ATTRS. (syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed to Qt. * cus-edit.el (custom-button-face): Use 3D look for mac. (custom-button-pressed-face): Likewise. * faces.el (set-face-attributes-from-resources): Handle mac frames in the same way as x and w32 frames. (face-valid-attribute-values): Likewise. (read-face-attribute): Likewise. (defined-colors): Likewise. (color-defined-p): Likewise. (color-values): Likewise. (display-grayscale-p): Likewise. (face-set-after-frame-default): Likewise. (mode-line): Same default face as for x and w32. (tool-bar): Likewise. * frame.el: Remove call to frame-notice-user-settings at end of the file. * info.el (Info-fontify-node): make underlines invisible for mac as for x, pc, and w32 frame types. * term/mac-win.el: New file.
* (unspecified_fg, unspecified_bg): Declare.Eli Zaretskii2000-10-161-0/+1
|
* (struct it): Remove member add_overlay_start.Gerd Moellmann2000-10-131-6/+2
| | | | (set_iterator_to_next): Change prototype.
* (updating_frame): Declare extern.Gerd Moellmann2000-09-291-0/+4
|
* (help_echo_showing_p): Declare extern.Gerd Moellmann2000-09-251-0/+1
|
* (enum lface_attribute_index): Add LFACE_INHERIT_INDEX.Miles Bader2000-08-261-0/+1
|
* (Qredisplay_dont_pause): Declare extern.Gerd Moellmann2000-08-091-0/+1
|
* (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bitsGerd Moellmann2000-07-261-3/+3
| | | | for the character code.
* Correct a typo in a comment.Eli Zaretskii2000-07-201-1/+1
|
* (Fx_show_tip): Adjust number of parametersGerd Moellmann2000-07-141-1/+1
| | | | in prototype.
* (struct redisplay_interface): Add parameterGerd Moellmann2000-07-121-2/+9
| | | | | MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. (clear_mouse_face): New function pointer member.
* (struct glyph_row): Add flag mouse_face_p.Gerd Moellmann2000-07-111-0/+3
|
* Add some comments.Gerd Moellmann2000-07-051-2/+8
|
* (struct it): Add member add_overlay_start.Gerd Moellmann2000-06-221-0/+4
|
* (display_prop_intangible_p): Add prototype.Gerd Moellmann2000-06-201-0/+1
|
* (struct it): Add starts_in_middle_of_char_p.Gerd Moellmann2000-06-061-2/+19
| | | | | | | | (struct glyph_row): Add starts_in_middle_of_char_p and ends_in_middle_of_char_p. (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's ends_in_middle_of_char_p flag. (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise.
* (struct glyph) [WINDOWSNT]: Add w32_font_type member.Jason Rumney2000-05-301-0/+8
|
* (Vimage_types): Add extern declaration.Gerd Moellmann2000-05-191-0/+1
|
* (DEFAULT_IMAGE_HEIGHT): New macro.Gerd Moellmann2000-05-021-6/+4
| | | | (IMAGE_ASCENT): Removed.
* Change names of renamed functions from dispnew.c in prototypes.Gerd Moellmann2000-04-251-3/+3
|
* (struct it): Remove member prompt_width, add extra_line_spacing.Gerd Moellmann2000-04-241-4/+3
|
* * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):Ken Raeburn2000-03-301-0/+2
| | | | | | | | | | | | | | | | | | Verify correct object type before returning pointer, using eassert. * frame.h (XFRAME): Likewise. * buffer.c (Frename_buffer, Fset_buffer_multibyte, swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong type. * data.c (set_internal): Likewise. * dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise. * fileio.c (auto_save_1): Likewise. * insdel.c (check_markers): Likewise. * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. * undo.c (record_insert): Likewise. * vmsproc.c (child_sig): Likewise. * window.c (unshow_buffer, window_loop): Likewise. * xterm.c (x_erase_phys_cursor): Likewise.
* (INC_TEXT_POS, DEC_TEXT_POS): Add parameter MULTIBYTE_P.Gerd Moellmann2000-03-271-4/+10
|
* [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P,Kenichi Handa2000-03-221-2/+7
| | | | | FACE_FOR_CHAR): Define them differently for the configuration of --without-x.
* (struct glyph): New member glyph_not_available_p.Kenichi Handa2000-03-211-33/+29
| | | | | | | | | | | Use 22 bits for face_id. (enum lface_attribute_index): Add LFACE_FONT_INDEX. (struct face): Delete member registry, new member ascii_face. (FACE_SUITABLE_FOR_CHAR_P): Renamed from FACE_SUITABLE_FOR_CHARSET_P. Caller changed. (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. (struct it): Delete member charset, new member glyph_not_available_p.
* (x_free_colors): Add prototype.Gerd Moellmann2000-03-021-0/+3
|
* (Fx_show_busy_cursor, Fx_hide_busy_cursor):Gerd Moellmann2000-02-251-3/+2
| | | | | Remove prototyoes. (start_busy_cursor, cancel_busy_cursor): Add prototypes.
* Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,Andrew Innes2000-02-061-5/+11
| | | | | around image definitions and prototypes. (gamma_correct) [WINDOWSNT]: New prototype.
* (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.