Mercurial > hg > xemacs-beta
annotate lisp/gtk-extra.el @ 5617:b0d712bbc2a6
The "flush" face property.
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2011-12-23 Didier Verna <didier@xemacs.org>
* faces.h (struct Lisp_Face): New 'flush slot.
* faces.h (struct face_cachel): New 'flush and 'flush_specified
flags.
* faces.h (WINDOW_FACE_CACHEL_FLUSH_P):
* faces.h (FACE_FLUSH_P): New macros.
* faces.c: Declare Qflush.
* lisp.h: Externalize it.
* faces.c (syms_of_faces): Define it.
* faces.c (vars_of_faces): Update built-in face specifiers.
* faces.c (complex_vars_of_faces): Update specifier fallbacks.
* faces.c (mark_face):
* faces.c (face_equal):
* faces.c (face_getprop):
* faces.c (face_putprop):
* faces.c (face_remprop):
* faces.c (face_plist):
* faces.c (reset_face):
* faces.c (update_face_inheritance_mapper):
* faces.c (Fmake_face):
* faces.c (update_face_cachel_data):
* faces.c (merge_face_cachel_data):
* faces.c (Fcopy_face):
* fontcolor.c (face_boolean_validate): Handle the flush property.
* redisplay.h (struct display_line): Rename 'default_findex slot to
clearer name 'clear_findex.
* redisplay.h (DISPLAY_LINE_INIT): Update accordingly.
* redisplay-output.c (compare_display_blocks):
* redisplay-output.c (output_display_line):
* redisplay-output.c (redisplay_output_window):
* redisplay.c (regenerate_window_extents_only_changed):
* redisplay.c (regenerate_window_incrementally): Update the
comparison tests between the current and desired display lines to
cope for different 'clear_findex values.
* redisplay.c (create_text_block): Initialize the display line's
'clear_findex slot to DEFAULT_INDEX. Record a new 'clear_findex
value when we encounter a newline character displayed in a flushed
face.
* redisplay.c (create_string_text_block): Record a new
'clear_findex value when we encounter a newline character
displayed in a flushed face.
lisp/ChangeLog addition:
2011-12-23 Didier Verna <didier@xemacs.org>
* cl-macs.el (face-flush-p): New defsetf.
* faces.el (set-face-property): Document the flush property.
* faces.el (face-flush-p): New function.
* faces.el (set-face-flush-p): New function.
* faces.el (face-equal):
* cus-face.el (custom-face-attributes):
* x-faces.el (x-init-face-from-resources):
* x-faces.el (make-face-x-resource-internal): Handle the flush
property.
author | Didier Verna <didier@xemacs.org> |
---|---|
date | Fri, 23 Dec 2011 10:56:16 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
462 | 1 ;;; gtk-extra.el --- Import `GTK+ Extra' widgets into XEmacs |
2 | |
3 ;; Copyright (C) 2000 Free Software Foundation | |
4 | |
5 ;; Maintainer: William Perry <wmperry@gnu.org> | |
6 ;; Keywords: extensions, dumped | |
7 | |
8 ;; This file is part of XEmacs. | |
9 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
10 ;; XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
11 ;; under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
12 ;; Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
13 ;; option) any later version. |
462 | 14 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
15 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
16 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
17 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
18 ;; for more details. |
462 | 19 |
20 ;; You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
502
diff
changeset
|
21 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
462 | 22 |
23 ;;; Synched up with: Not in FSF | |
24 | |
25 ;;; Commentary: | |
26 | |
27 ;; GTK+ Extra can be retrieved from http://magnet.fsu.edu/~feiguin/gtk | |
28 | |
29 (eval-and-compile | |
30 (require 'gtk-ffi)) | |
31 | |
502 | 32 (globally-declare-fboundp |
33 '(gtk-import-function-internal gtk-call-function)) | |
34 | |
462 | 35 ;;; gtkbordercombo.h |
36 (gtk-import-function GtkType gtk_border_combo_get_type) | |
37 (gtk-import-function GtkWidget gtk_border_combo_new) | |
38 | |
39 ;;; gtkcheckitem.h | |
40 (gtk-import-function GtkType gtk_check_item_get_type) | |
41 (gtk-import-function GtkWidget gtk_check_item_new) | |
42 (gtk-import-function GtkWidget gtk_check_item_new_with_label | |
43 (GtkString . label)) | |
44 | |
45 ;;; gtkcolorcombo.h | |
46 (gtk-import-function GtkType gtk_color_combo_get_type) | |
47 (gtk-import-function GtkWidget gtk_color_combo_new) | |
48 (gtk-import-function GtkWidget gtk_color_combo_new_with_values | |
49 (gint . nrows) | |
50 (gint . ncols) | |
51 (GtkArrayOfString . color_names)) | |
52 (gtk-import-function GtkString gtk_color_combo_get_color_at | |
53 (GtkColorCombo . combo) | |
54 (gint . row) | |
55 (gint . col)) | |
56 ;;;(gtk-import-function none gtk_color_combo_find_color | |
57 ;;; (GtkColorCombo . combo) | |
58 ;;; (GdkColor . color) | |
59 ;;; ((gint . out) . row) | |
60 ;;; ((gint . out) . col)) | |
61 | |
62 ;;; gtkcombobox.h | |
63 (gtk-import-function GtkType gtk_combobox_get_type) | |
64 (gtk-import-function GtkWidget gtk_combobox_new) | |
65 (gtk-import-function none gtk_combobox_hide_popdown_window) | |
66 | |
67 ;;; gtkdirtree.h | |
68 (gtk-import-function GtkType gtk_dir_tree_get_type) | |
69 (gtk-import-function GtkWidget gtk_dir_tree_new) | |
70 (gtk-import-function gint gtk_dir_tree_open_dir | |
71 (GtkDirTree . tree) | |
72 (GtkString . path)) | |
73 | |
74 ;;; gtkfilelist.h | |
75 (gtk-import-function GtkType gtk_file_list_get_type) | |
76 (gtk-import-function GtkWidget gtk_file_list_new | |
77 (guint . icon_width) | |
78 (gint . mode) | |
79 (GtkString . path)) | |
80 (gtk-import-function none gtk_file_list_set_filter | |
81 (GtkFileList . file_list) | |
82 (GtkString . filter)) | |
83 (gtk-import-function none gtk_file_list_open_dir | |
84 (GtkFileList . file_list) | |
85 (GtkString . path)) | |
86 (gtk-import-function GtkString gtk_file_list_get_path | |
87 (GtkFileList . file_list)) | |
88 (gtk-import-function GtkString gtk_file_list_get_filename | |
89 (GtkFileList . file_list)) | |
90 | |
91 ;;; gtkfontcombo.h | |
92 (gtk-import-function GtkType gtk_font_combo_get_type) | |
93 (gtk-import-function GtkWidget gtk_font_combo_new) | |
94 (gtk-import-function none gtk_font_combo_select | |
95 (GtkFontCombo . font_combo) | |
96 (GtkString . family) | |
97 (gboolean . bold) | |
98 (gboolean . italic) | |
99 (gint . height)) | |
100 (gtk-import-function none gtk_font_combo_select_nth | |
101 (GtkFontCombo . font_combo) | |
102 (gint . n) | |
103 (gboolean . bold) | |
104 (gboolean . italic) | |
105 (gint . height)) | |
106 | |
107 ;;; gtkiconfilesel.h | |
108 ;;; gtkiconlist.h | |
109 ;;; gtkitementry.h | |
110 ;;; gtkplot.h | |
111 ;;; gtkplotcanvas.h | |
112 ;;; gtkplotpc.h | |
113 ;;; gtkplotprint.h | |
114 ;;; gtkplotps.h | |
115 ;;; gtkpsfont.h | |
116 ;;; gtksheet.h | |
117 | |
118 (provide 'gtk-extra) |