emacs-gpu/doc/emacs
Jan Djärv 1ecb2d3f03 Use XFT in Lucid dialogs if available.
* xmenu.c (apply_systemfont_to_dialog): New.
	(create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT.

	* lwlib-Xaw.c (widget_xft_data): New for Xft data.
	(fill_xft_data, openFont, get_text_width_and_height)
	(draw_text, set_text, find_xft_data, command_press)
	(command_reset): New functions.
	(xaw_update_one_widget): Call set_text for dialog and buttons
	if HAVE_XFT.  Also set internalHeight for buttons.
	(xaw_destroy_instance): Free all Xft related data.
	(button_actions, buttonTrans): New structures.
	(make_dialog): Call XtAppAddActions for button_actions.
	Find xft font to use and call fill_xft_data for widgets.
	(xaw_create_dialog): Pass instance parameter to make_dialog.

	* lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT.
	Override translations for buttons.  If depth is 16 or more, tell
	Xaw3d to not be nice to colormap.
	Remove separator widget, use XtNhorizDistance on first right button
	instead.

	* xresources.texi (Lucid Resources): Mention faceName for dialogs.
2010-04-11 20:25:09 +02:00
..
.gitignore
abbrevs.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ack.texi Close bug#5759. 2010-03-23 20:02:42 -07:00
anti.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
arevert-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
basic.texi Improve documentation of "C-x 8 RET". 2010-03-30 13:59:26 +03:00
buffers.texi * buffers.texi: Fix typo in previous. 2010-02-08 09:11:15 -08:00
building.texi Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz: 2010-03-28 02:27:43 +13:00
cal-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
calendar.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ChangeLog Use XFT in Lucid dialogs if available. 2010-04-11 20:25:09 +02:00
cmdargs.texi Document font-use-system-font. 2010-03-20 13:24:06 -04:00
commands.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
custom.texi Document Message mode as the default mail mode. 2010-03-27 23:41:34 -04:00
dired-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
dired.texi * dired.texi (Dired Updating): Document dired-auto-revert-buffer. 2010-03-21 18:13:26 -04:00
display.texi * frames.texi (Mouse Avoidance): Mention make-pointer-invisible. 2010-03-02 17:56:36 -05:00
doclicense.texi Add 2009 to copyright years. 2009-01-08 05:28:46 +00:00
emacs-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs.texi Merge from emacs-23 branch 2010-03-30 22:37:57 -04:00
emerge-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
entering.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
files.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fixit.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
fortran-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
frames.texi bug #5736: Allow X-resource menuBar to take on/off as documented. 2010-03-22 08:26:56 +01:00
glossary.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
gnu.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
gpl.texi
help.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
indent.texi Document multi-isearch-buffers and tab-always-indent. 2010-03-21 14:32:19 -04:00
killing.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
kmacro.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
m-x.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
macos.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
maintaining.texi * maintaining.texi (Old Revisions): Document vc-root-diff. 2010-03-25 20:04:48 -04:00
major.texi Document Message mode as the default mail mode. 2010-03-27 23:41:34 -04:00
Makefile.in Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
makefile.w32-in Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
mark.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
mini.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
misc.texi Document comint history-search changes. 2010-03-25 17:14:17 -04:00
msdog-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
msdog.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
mule.texi Merge from emacs-23 branch 2010-03-30 22:37:57 -04:00
picture-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
programs.texi * programs.texi (Program Modes): Mention Javascript mode. 2010-03-25 16:36:41 -04:00
regs.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
rmail.texi Document Message mode as the default mail mode. 2010-03-27 23:41:34 -04:00
screen.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
search.texi Make occur handle multi-line matches cleanly with context. 2010-03-30 19:03:08 +03:00
sending.texi Expand discussion of mail setup. 2010-03-28 14:44:47 -04:00
text.texi Document Message mode as the default mail mode. 2010-03-27 23:41:34 -04:00
trouble.texi * trouble.texi: Revert grammar change from previous change. 2010-02-18 18:32:36 -08:00
vc-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
vc1-xtra.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
windows.texi Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xresources.texi Use XFT in Lucid dialogs if available. 2010-04-11 20:25:09 +02:00