view etc/images/mail/forward.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_forward_xpm[] = {
"24 24 65 1",
" 	c None",
".	c #000000",
"+	c #535353",
"@	c #FFFFFF",
"#	c #FEFEFE",
"$	c #FDFDFD",
"%	c #FCFCFC",
"&	c #FBFBFB",
"*	c #F9F9F9",
"=	c #F8F8F8",
"-	c #F7F7F7",
";	c #F6F6F6",
">	c #F5F5F5",
",	c #F4F4F4",
"'	c #E3E3E3",
")	c #EEEEEE",
"!	c #4F4F4F",
"~	c #F3F3F3",
"{	c #F2F2F2",
"]	c #F1F1F1",
"^	c #F0F0F0",
"/	c #EFEFEF",
"(	c #EDEDED",
"_	c #AEAEAE",
":	c #E4E4E4",
"<	c #434343",
"[	c #ACACAC",
"}	c #C8C8C8",
"|	c #A0A0A0",
"1	c #D4D4D4",
"2	c #ECECEC",
"3	c #959595",
"4	c #3E3E3E",
"5	c #4D4D4D",
"6	c #818181",
"7	c #C6C6C6",
"8	c #6A6A6A",
"9	c #636363",
"0	c #B9B9B9",
"a	c #737373",
"b	c #7C7C7C",
"c	c #5B88B2",
"d	c #9EB8D1",
"e	c #5080AD",
"f	c #B5C9DC",
"g	c #AFC5DA",
"h	c #B2C7DB",
"i	c #B6CADD",
"j	c #A4BDD5",
"k	c #9CB7D1",
"l	c #080D11",
"m	c #BCBCBC",
"n	c #9BB6D0",
"o	c #A0BAD3",
"p	c #9AB5CF",
"q	c #97B3CE",
"r	c #5F8BB4",
"s	c #91B0CC",
"t	c #95B2CE",
"u	c #4C79A3",
"v	c #49749C",
"w	c #3F6588",
"x	c #2A435B",
"y	c #456F96",
"z	c #375978",
"                        ",
"                        ",
"                        ",
"  .................     ",
" .+@@@@#$%&*=-;>,'+.    ",
" .)!@>,~{{]^^/)('!_.    ",
" .@:<$~{{]^/))('![}.    ",
" .@>:!&]^^/)(('<|1}.    ",
" .@&>:<=^/)(2'!31:}.    ",
" .@>>>:4>)(2'567::}.    ",
" .@&>>:8<~2'!877>.}.    ",
" .@>>:9@0!^!37a7>...    ",
" .@&:9@>:1![7::b:.c.    ",
" .@:a@>>>>:.......de.   ",
" .@b@::::::.fghiiijkel  ",
" .ammmmmmmm.nokknpokqr. ",
"  ..........sdppnkkkotu.",
"           .vwwwwwwwwx. ",
"           .yzzzzzwwx.  ",
"           .......wx.   ",
"                 .x.    ",
"                 ..     ",
"                 .      ",
"                        "};