Mercurial > emacs
view src/m/news-risc.h @ 53333:c23cf5520cd9
(Qarrow, Qhand, Qtext, Qpointer): New variables for
pointer types.
(Qrelative_width, Qalign_to): Remove unused variables.
(Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void.
(QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for
image maps.
(x_y_to_hpos_vpos): Return glyph relative coordinates through
new dx and dy args.
Remove buffer_only_p arg (always 0). Simplify code accordingly.
(get_glyph_string_clip_rect): Draw cursor using glyph's rather
than row's ascent and height, to get sensible height on tall rows.
(build_desired_tool_bar_string): Remove Qimage extern.
(get_tool_bar_item): Fix call to x_y_to_hpos_vpos.
(produce_image_glyph): Adjust it.ascent to minimum row ascent if
image glyph is alone on the last line.
(append_glyph, append_composite_glyph, produce_image_glyph)
(append_stretch_glyph): Set glyph's ascent and descent.
(on_hot_spot_p): New function to check if position is inside an
rectangular, circular, or polygon-shaped image hot-spot,
(find_hot_spot): New function to search for image hot-spot.
(Flookup_image_map): New defun to search for image hot-spot.
(define_frame_cursor1): New aux function to determine frame pointer.
(note_mode_line_or_margin_highlight, note_mouse_highlight):
Handle `pointer' text property and :pointer image property to
control frame pointer shape. Detect image hot-spots for pointer
and help_echo properties. Use define_frame_cursor1.
(note_mouse_highlight): Use Vvoid_text_area_pointer.
(syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables.
DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 28 Dec 2003 00:12:27 +0000 |
parents | 695cf19ef79e |
children | e032dd450ea7 375f2633d815 |
line wrap: on
line source
/* news-risc.h is for the "RISC News". */ #include "mips.h" #ifdef NEWSOS5 /* NEWS-OS 5.0.2 */ #define LIBS_MACHINE -lmld #ifdef __GNUC__ #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 #else #define C_DEBUG_SWITCH -g3 #define C_OPTIMIZE_SWITCH -g3 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared #endif #else /* not NEWSOS5 */ /* The following line tells the configuration script what sort of operating system this machine is likely to run. USUAL-OPSYS="bsd4-3" */ #define COFF #undef LD_SWITCH_MACHINE #ifdef __GNUC__ #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000 #else #define LD_SWITCH_MACHINE -x -D 800000 #endif /* #define C_OPTIMIZE_SWITCH -O2 */ #define C_OPTIMIZE_SWITCH -O #ifndef __GNUC__ #define C_DEBUG_SWITCH -g3 #endif #undef TERMINFO /* We have no mode_t. */ #define NO_MODE_T /* Don't use the definitions in m/mips.h. */ #undef LINKER #define LINKER $(CC) -nostdlib #undef LIBS_MACHINE #define LIBS_MACHINE -lmld #undef KERNEL_FILE #define KERNEL_FILE "/vmunix" /* System's malloc, realloc, calloc and so on have bad prototypes, using char * instead of void *, so tell gmalloc not to use the prototypes. */ #define BROKEN_PROTOTYPES #endif /* not NEWSOS5 */ /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662 (do not change this comment) */