Mercurial > emacs
view etc/images/mail/compose.xpm @ 108024:4d8277a44bb4
Gtk tool bars can be text, icons with text or just icons.
* xsettings.c: Qmonospace_font_name, Qtool_bar_style and
current_tool_bar_style are new.
(store_config_changed_event): Rename from store_font_changed_event.
(XSETTINGS_TOOL_BAR_STYLE): New define.
(SEEN_FONT, SEEN_TB_STYLE): New enum values.
(struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
HAVE_XFT.
(something_changedCB): store_font_changed_event is now
store_config_changed_event
(parse_settings): Rename from parse_xft_settings. Read
non-xft xsettings outside #ifdef HAVE_XFT.
(read_settings): Renamed from read_xft_settings.
(apply_xft_settings): Take current settings as parameter. Do not
call read_(xft)_settings.
(read_and_apply_settings): New function.
(xft_settings_event): Do non-xft stuff out of HAVE_XFT. Call
read_and_apply_settings if there are settings to be read.
(init_xsettings): Renamed from init_xfd_settings.
Call read_and_apply_settings unconditionally.
(xsettings_initialize): Call init_xsettings.
(Ftool_bar_get_system_style): New function.
(syms_of_xsettings): Define Qmonospace_font_name and
Qtool_bar_style. Initialize current_tool_bar_style to nil.
defsubr Stool_bar_get_system_style. Fprovide on
dynamic-setting.
* xsettings.h (Ftool_bar_get_system_style): Declare.
* xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
Qtext, Qboth, Qboth_horiz are new.
(syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
Vtool_bar_style, tool_bar_max_label_size.
* lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.
* keyboard.c: QClabel is new.
(parse_tool_bar_item): Take out QClabel from tool bar items.
Try to construct a label if ther is no QClabel.
(syms_of_keyboard): Intern :label as QClabel.
* dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
(Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
New.
* Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
dynamic-setting.el.
* gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
(xg_make_tool_item, xg_show_toolbar_item): New function.
(update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
Call xg_make_tool_item to make a tool bar item.
Call xg_show_toolbar_item. Use wtoolbar instead of x->toolbar_widget.
* xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
into account for toolbars.
* vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
* tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
* loadup.el: Load dynamic-setting.el if feature dynamic-setting
is present.
* info.el (info-tool-bar-map): Add labels.
* cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
* cus-edit.el (custom-commands): Add labels for tool bar.
(custom-buffer-create-internal, Custom-mode): Adjust for
labels in custom-commands.
* dynamic-setting.el: Renamed from font-setting.el.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Tue, 20 Apr 2010 20:52:07 +0200 |
parents | ed7704221f2b |
children |
line wrap: on
line source
/* XPM */ static char * stock_mail_compose_xpm[] = { "24 24 198 2", " c None", ". c #000000", "+ c #D1AF61", "@ c #F1E3AC", "# c #FBA90F", "$ c #FFFFFF", "% c #B5B5B5", "& c #A06B09", "* c #816000", "= c #E0E0E0", "- c #C1C1C1", "; c #F4F4F4", "> c #FDFDFD", ", c #E6C370", "' c #F1D387", ") c #D58F0C", "! c #B2B2B2", "~ c #C3C3C3", "{ c #FBFBFB", "] c #A8A8A8", "^ c #F6F6F6", "/ c #B3B3B3", "( c #FAFAFA", "_ c #ADADAD", ": c #767676", "< c #5D5D5D", "[ c #404040", "} c #F8F8F8", "| c #F1D07E", "1 c #ACACAC", "2 c #F8F8F6", "3 c #E2E2E2", "4 c #858585", "5 c #4B4B49", "6 c #161616", "7 c #FBFBFA", "8 c #7D7D7D", "9 c #F2F2F2", "0 c #F0F0F0", "a c #EFEFEF", "b c #D5D5D5", "c c #F9F9F9", "d c #F6F6F3", "e c #F3F3F3", "f c #878786", "g c #E5E5E5", "h c #DFDFDF", "i c #EBEBEB", "j c #AEAEAE", "k c #7B5307", "l c #EDEDED", "m c #EBEBE9", "n c #E9E9E7", "o c #E0E0DE", "p c #BFBFBF", "q c #F0F0ED", "r c #F1D284", "s c #CA870B", "t c #9E9E9C", "u c #DCDCD9", "v c #D9D9D9", "w c #D9D9D6", "x c #D6D6D4", "y c #E5E5E4", "z c #D9D9D7", "A c #BABABA", "B c #AAAAAA", "C c #E7E7E5", "D c #E4E4E2", "E c #E2E2E0", "F c #EEEEEC", "G c #979796", "H c #D4D4D1", "I c #DEDEDC", "J c #DEDEDB", "K c #BDBDBC", "L c #E7E7E7", "M c #EFEFED", "N c #A6A6A5", "O c #BA7C0A", "P c #7A5B00", "Q c #DBDBD9", "R c #D5D5D3", "S c #BCBCBC", "T c #E3E3E3", "U c #F2E6B6", "V c #7B7B7B", "W c #704B05", "X c #676764", "Y c #CBCBC7", "Z c #C9C9C7", "` c #DBDBD7", " . c #D7D7D5", ".. c #D7D7D3", "+. c #B4B4B4", "@. c #E4E4E4", "#. c #DBD5C1", "$. c #7E6F57", "%. c #755800", "&. c #D9D9D5", "*. c #D5D5D1", "=. c #D0D0CE", "-. c #BABAB8", ";. c #DDDDDB", ">. c #D1D1CF", ",. c #0E0E0E", "'. c #535353", "). c #8D8D8B", "!. c #C4C4C1", "~. c #C4C4BF", "{. c #C1C1BC", "]. c #D3D3D0", "^. c #D1D1D0", "/. c #DCDCDB", "(. c #E0E0DC", "_. c #898987", ":. c #C9C9C6", "<. c #CDCDCA", "[. c #D0D0CD", "}. c #CECECB", "|. c #CFCFCC", "1. c #D0D0CC", "2. c #B6B6B6", "3. c #D4D4D0", "4. c #C3C3C0", "5. c #5B5B5B", "6. c #91918D", "7. c #91918F", "8. c #9F9F9D", "9. c #AFAFAC", "0. c #B9B9B6", "a. c #BEBEBB", "b. c #C5C5C2", "c. c #C8C8C5", "d. c #CACAC7", "e. c #CBCBC8", "f. c #CCCCC9", "g. c #CCCCC8", "h. c #D2D2D0", "i. c #D2D2CF", "j. c #BFBFBD", "k. c #9F9F9C", "l. c #888886", "m. c #878785", "n. c #8C8C8A", "o. c #959593", "p. c #9C9C9A", "q. c #A8A8A5", "r. c #B1B1AE", "s. c #B5B5B3", "t. c #BBBBB8", "u. c #BFBFBC", "v. c #C2C2BE", "w. c #D1D1CE", "x. c #AEAEAB", "y. c #9D9D9A", "z. c #979794", "A. c #949491", "B. c #9A9A97", "C. c #A3A3A0", "D. c #AAAAA7", "E. c #B0B0AC", "F. c #B8B8B5", "G. c #B0B0AE", "H. c #CFCFCD", "I. c #BEBEBC", "J. c #B4B4B0", "K. c #ACACA8", "L. c #A4A4A2", "M. c #A0A09C", "N. c #A4A4A0", "O. c #A8A8A6", "P. c #ABABA7", "Q. c #B2B2AE", "R. c #A4A4A4", "S. c #CECECC", "T. c #CECECA", "U. c #C6C6C2", "V. c #BCBCB9", "W. c #B3B3AF", "X. c #ABABA9", "Y. c #A6A6A3", "Z. c #A0A09D", "`. c #ACACA9", " + c #A1A1A1", ".+ c #B1B1AF", "++ c #B4B4B3", "@+ c #B4B4B1", "#+ c #B3B3B1", "$+ c #AEAEAA", "%+ c #A7A7A4", "&+ c #A2A2A0", "*+ c #A5A5A1", "=+ c #999997", "-+ c #929290", ";+ c #949490", ">+ c #9D9D9B", ",+ c #858583", " . . . ", " . . . . . . . . . . . . + @ # . . . ", " . $ $ $ $ $ $ $ $ $ % & @ # * . = - . ", " . $ ; $ $ $ $ $ > > . , ' ) . ! ~ { ] . ", " . $ ^ $ $ $ > > > / & @ # * . ( _ : < [ . ", " . $ ^ $ { { { { } . , | ) . 1 2 3 4 5 6 . ", " . $ ; > > { { 7 8 & @ # * . ; 9 0 a b _ . ", " . $ 9 c ^ ^ d e . , | ) . f g 3 h i 3 - . ", " . $ 0 } } } 2 j k @ # * . l i m n n o p . ", " . $ a e 0 q l . , r s . t u v w x y z A . ", " . $ l ; ; 9 B & @ # * . C y y D o E z A . ", " . $ i F C g . , r s . G H E o I J I z K . ", " . $ L M i N O # # P . E o I J u Q Q R S . ", " . $ g T v . U V W . X Y Z u ` z .z ..+.. ", " . $ E y @.. #.$.%.. u Q ` &...R *...=.-.. ", " . $ I ;.>.,.'.. . ).!.~.{.*.*.].^.].=.-.. ", " . $ /.(.;.. . _.:.<.[.}.[.[.[.[.|.[.1.2.. ", " . $ Q 3.4.5.6.7.8.9.0.a.4.b.c.d.e.f.g.! . ", " . $ h.i.|.j.k.l.m.n.o.p.q.r.s.t.a.u.v.! . ", " . $ w.1.f.|.4.x.y.z.z.A.B.k.C.q.D.E.F.G.. ", " . $ i.w.w.w.H.e.I.J.K.L.M.M.N.L.O.P.Q.R.. ", " . $ ^.w.=.S.T.T.g.U.V.W.J.X.Y.Z.Y.D.`. +. ", " . $ .+++@+@+@+#+#+Q.$+%+&+*+*+=+-+;+>+,+. ", " . . . . . . . . . . . . . . . . . . . . "};