Mercurial > emacs
annotate lwlib/lwlib-Xlw.h @ 37143:187f754d89cc
(x_alloc_nearest_color_1): New function.
(x_alloc_nearest_color): Use it.
(x_color_cells): Take a Display as argument, instead of a frame.
(string_to_pixel_args, cvt_string_to_pixel_value): New variables.
(cvt_string_to_pixel, cvt_pixel_dtor): New functions.
(x_initialize): Register cvt_string_to_pixel as resource converter
string -> Pixel and cvt_pixel_dtor as pixel resource destructor.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 02 Apr 2001 15:49:25 +0000 |
parents | 6ed38ee607e9 |
children | 695cf19ef79e |
rev | line source |
---|---|
5626 | 1 #ifndef LWLIB_XLW_H |
2 #define LWLIB_XLW_H | |
3 | |
5627
7ff2d6076466
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
5626
diff
changeset
|
4 #include "lwlib-int.h" |
5626 | 5 |
6 extern widget_creation_entry xlw_creation_table []; | |
7 extern widget_creation_function xlw_create_dialog; | |
8 | |
9 Boolean | |
29466 | 10 lw_lucid_widget_p __P ((Widget widget)); |
5626 | 11 |
12 void | |
29466 | 13 xlw_update_one_widget __P ((widget_instance* instance, Widget widget, |
14 widget_value* val, Boolean deep_p)); | |
5626 | 15 |
16 void | |
29466 | 17 xlw_update_one_value __P ((widget_instance* instance, Widget widget, |
18 widget_value* val)); | |
5626 | 19 |
20 void | |
29466 | 21 xlw_destroy_instance __P ((widget_instance* instance)); |
5626 | 22 |
23 void | |
29466 | 24 xlw_pop_instance __P ((widget_instance* instance, Boolean up)); |
5626 | 25 |
26 void | |
29466 | 27 xlw_popup_menu __P ((Widget widget, XEvent * event)); |
5626 | 28 |
29 #endif /* LWLIB_XLW_H */ |