Mercurial > emacs
annotate nt/inc/sys/time.h @ 94940:061d44df20b7
Include <stdlib.h> and "ccl.h".
(struct xfont_info): New structure.
(xfont_query_font): Deleted.
(xfont_find_ccl_program): Renamed from x_find_ccl_program and
moved from xterm.c.
(xfont_driver): Adjusted for the change of struct font_driver.
(compare_font_names): New function.
(xfont_list_pattern): Sort font names case insensitively. Make
font_entity by calling font_make_entity. Avoid auto-scaled fonts.
(xfont_list): Return a list, not vector.
(xfont_match): If the font doesn't have QCname property, generate
a name from the other font properties.
(xfont_open): Return a font-ojbect. Adjusted for the change of
struct font. Get underline_thickness and underline_position from
font property. Don't update dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width.
(xfont_close): Don't free struct font.
(xfont_prepare_face): Adjusted for the change of struct font.
(xfont_done_face): Deleted.
(xfont_has_char): Adjusted for the change of struct font.
(xfont_encode_char, xfont_draw): Likewise.
(xfont_check): New function.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 14 May 2008 01:42:33 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 ef719132ddfa |
rev | line source |
---|---|
27625 | 1 #ifndef SYS_TIME_H_INCLUDED |
2 #define SYS_TIME_H_INCLUDED | |
3 | |
15139 | 4 /* |
5 * sys/time.h doesn't exist on NT | |
6 */ | |
7 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
27625
diff
changeset
|
8 struct timeval |
15139 | 9 { |
10 long tv_sec; /* seconds */ | |
11 long tv_usec; /* microseconds */ | |
12 }; | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
27625
diff
changeset
|
13 struct timezone |
15139 | 14 { |
15 int tz_minuteswest; /* minutes west of Greenwich */ | |
16 int tz_dsttime; /* type of dst correction */ | |
17 }; | |
18 | |
19 void gettimeofday (struct timeval *, struct timezone *); | |
20 | |
27625 | 21 #endif /* SYS_TIME_H_INCLUDED */ |
22 | |
15139 | 23 /* end of sys/time.h */ |
52401 | 24 |
25 /* arch-tag: bc525883-0c81-4bea-b83d-3325461f38b5 | |
26 (do not change this comment) */ |