Mercurial > hg > xemacs-beta
annotate lwlib/lwlib-Xlw.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 | 98528da0b7fc |
children | ade4c7e2c6cb |
rev | line source |
---|---|
0 | 1 #ifndef LWLIB_XLW_H |
2 #define LWLIB_XLW_H | |
3 | |
4 #include "lwlib-internal.h" | |
5 | |
450 | 6 extern const widget_creation_entry xlw_creation_table []; |
0 | 7 extern widget_creation_function xlw_create_dialog; |
8 | |
9 Boolean | |
10 lw_lucid_widget_p (Widget widget); | |
11 | |
12 void | |
13 xlw_update_one_widget (widget_instance* instance, Widget widget, | |
14 widget_value* val, Boolean deep_p); | |
15 | |
16 void | |
17 xlw_update_one_value (widget_instance* instance, Widget widget, | |
18 widget_value* val); | |
19 | |
20 void | |
21 xlw_destroy_instance (widget_instance* instance); | |
22 | |
23 void | |
24 xlw_pop_instance (widget_instance* instance, Boolean up); | |
25 | |
26 void | |
27 xlw_popup_menu (Widget widget, XEvent *event); | |
28 | |
29 #endif /* LWLIB_XLW_H */ |