Mercurial > emacs
view src/m/news-risc.h @ 29321:8e2be36bb1c6
Format and doc changes to bring closer to xterm.c.
(w32_char_font_type): New enum.
(Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c.
(w32_per_char_metric): Use w32_char_font_type instead of unicode_p.
(w32_encode_char): New function.
(x_encode_char): Removed.
(x_get_glyph_and_face_encoding): Use w32_encode_char in place of
x_encode_char and w32_font_is_double_byte.
(x_produce_image_glyph): Use image_ascent.
(x_produce_glyphs): Use new version of w32_per_char_metric and
handle NULL return value. Allow extra line spacing.
(W32_TEXTOUT): Distinguish between Unicode and DBCS text.
(w32_get_glyph_overhangs): Remove unicode_p param. Use
w32_font_type member of glyph instead.
(x_draw_glyph_string): Draw underline and strike-out for BDF fonts.
(fast_find_position): Make sure not to consider rows not visible
in the window.
(w32_read_socket) [WM_MENUSELECT]: Cannot call
w32_menu_display_help with input blocked, as it can abort.
(x_display_and_set_cursor): Choose cursor depending
on buffer-local value of cursor_type.
(x_draw_bar_cursor): Add parameter WIDTH.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Tue, 30 May 2000 21:59:27 +0000 |
parents | c4cd6784bbcc |
children | 6c6eb4745dfb |
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" #endif /* not NEWSOS5 */