Mercurial > hg > xemacs-beta
comparison src/console-tty-impl.h @ 5398:5256fedd50e6
issue 757 - tty device metric for num-color-cells
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2011-03-28 Jeff Sparkes <jsparkes@gmail.com>
* console-tty-impl.h (struct tty_console): Add field for number of
displayable colors.
* device-tty.c (tty_device_system_metrics): Return metrics for
num-color-cells and num-bit-planes. Tracker issue 757.
* device.c: There are two required args for device-system-metric.
* redisplay-tty.c (init_tty_for_redisplay): Retrieve number of
colors from terminal description. Default to 2 if none found.
author | Jeff Sparkes <jsparkes@gmail.com> |
---|---|
date | Mon, 28 Mar 2011 09:25:15 -0400 |
parents | a9c41067dd88 |
children | 248176c74e6b |
comparison
equal
deleted
inserted
replaced
5382:d363790fd936 | 5398:5256fedd50e6 |
---|---|
60 int final_cursor_x; | 60 int final_cursor_x; |
61 int final_cursor_y; | 61 int final_cursor_y; |
62 | 62 |
63 int height; | 63 int height; |
64 int width; | 64 int width; |
65 | |
66 int colors; | |
65 | 67 |
66 /* The count of frame number. */ | 68 /* The count of frame number. */ |
67 int frame_count; | 69 int frame_count; |
68 | 70 |
69 /* flags indicating presence, absence or value of various features */ | 71 /* flags indicating presence, absence or value of various features */ |