Mercurial > emacs
view etc/images/mail/move.xpm @ 107827:aa85632b7860
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.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Sun, 11 Apr 2010 20:25:09 +0200 |
parents | ed7704221f2b |
children |
line wrap: on
line source
/* XPM */ static char * stock_mail_move_xpm[] = { "24 24 76 1", " c None", ". c #010101", "+ c #2F2F2F", "@ c #E3E2E1", "# c #FCFCFC", "$ c #B3B2B1", "% c #95938E", "& c #F7F7F7", "* c #F5F4F2", "= c #F8F8F8", "- c #F7F6F6", "; c #EAE9E5", "> c #7B7976", ", c #D2CFCA", "' c #E1E0DD", ") c #908E8B", "! c #EBEAEA", "~ c #F1F0EE", "{ c #E2E0DD", "] c #7C7B78", "^ c #C6C3C0", "/ c #E5E3DE", "( c #DCDAD7", "_ c #8F8C88", ": c #EBEBEA", "< c #EFEDEA", "[ c #DFDDDA", "} c #787774", "| c #C1BEBA", "1 c #E6E3E0", "2 c #EFEEEC", "3 c #CBCAC6", "4 c #ECECEC", "5 c #F3F2F0", "6 c #DCDCDC", "7 c #7D7C79", "8 c #B4B2AE", "9 c #E7E5E1", "0 c #F0EFEB", "a c #E4E2DD", "b c #9D9994", "c c #DBD9D6", "d c #747370", "e c #A09C97", "f c #DAD8D5", "g c #E7E6E3", "h c #E8E6E1", "i c #E0DED9", "j c #AFACA6", "k c #F7F6F4", "l c #D3D1CF", "m c #868480", "n c #C2BFBD", "o c #DAD9D5", "p c #F6F5F1", "q c #D8D6D1", "r c #ABA8A3", "s c #F9F8F6", "t c #F7F5F2", "u c #92908B", "v c #CCCAC5", "w c #EAE9E8", "x c #B0ADA7", "y c #F5F3F0", "z c #F7F6F2", "A c #F5F4F0", "B c #EAE8E3", "C c #D2D0CB", "D c #B9B8B6", "E c #CBC9C4", "F c #DEDBD5", "G c #D9D7D2", "H c #DAD8D3", "I c #D5D3CE", "J c #D6D4CF", "K c #040404", " ", " ", " ", " . . . . . . . ", " . . ", " ", " . . ", " ", " . . ", " .+........... ", " . .@###########$. ", " .#%&*=*-*-*;>,. ", " . .#')!~-*-*{]^/. ", " .#~(_:~<~[}|1/. ", " . . .#~23]4567890a. ", " .#22~b]cdefghi. ", " .#~2jklmnoep0q. ", " .#2rsskfkttuhv. ", " .wxsyzAtAtyBuC. ", " .DEFFFGHIJCCCu. ", " ............K ", " ", " ", " "};