view lisp/toolbar/paste.xpm @ 60092:04686828d0da

2004-11-08 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> * w32select.c: Summary: Thorough rework to implement Unicode clipboard operations and delayed rendering. Drop last_clipboard_text and related code, keep track of ownership via clipboard_owner instead. Drop old #if0 sections. (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) (clipboard_owner, modifying_clipboard, cfg_coding_system) (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) (current_coding_system, current_requires_encoding) (current_num_nls, current_clipboard_type, current_lcid): New static variables. (convert_to_handle_as_ascii, convert_to_handle_as_coded) (render, render_all, run_protected, lisp_error_handler) (owner_callback, create_owner, setup_config) (enum_locale_callback, cp_from_locale, coding_from_cp): New local functions. (term_w32select, globals_of_w32select): New global functions. (Fw32_set_clipboard_data): Ignore parameter FRAME, use clipboard_owner instead. Use delayed rendering and provide all text formats. Provide CF_LOCALE if necessary. (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not available. Force DOS line-ends for decoding. (Fx_selection_exists_p): Handle CF_UNICODETEXT. (syms_of_w32select): Init and register new variables. * w32.h: Add prototypes for globals_of_w32select and term_w32select. Make the neighboring K&R declarations into prototypes, too. * emacs.c: Include w32.h to get function prototypes. (main): Call globals_of_w32select. * w32.c (term_ntproc): Call term_w32select. * mule-cmds.el (set-locale-environment): Remove call to set-selection-coding-system on Windows. * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef.
author Jason Rumney <jasonr@gnu.org>
date Tue, 15 Feb 2005 23:19:26 +0000
parents 734ff40978ad
children
line wrap: on
line source

/* XPM */
static char * paste_xpm[] = {
"24 24 89 1",
" 	c None",
".	c #000000",
"+	c #B9B9B9",
"@	c #FEFEFE",
"#	c #F9F9F9",
"$	c #757575",
"%	c #F5F5E8",
"&	c #565651",
"*	c #FFFFFF",
"=	c #A0A0A0",
"-	c #939393",
";	c #7C7C7C",
">	c #C5C5BB",
",	c #CFC6A0",
"'	c #D7CEAA",
")	c #ADA689",
"!	c #4B483C",
"~	c #6D6D6D",
"{	c #6C6C6C",
"]	c #A9A9A9",
"^	c #3D3A30",
"/	c #979178",
"(	c #C1B898",
"_	c #8A793D",
":	c #C3BB9A",
"<	c #AFA78A",
"[	c #444236",
"}	c #FAFAFA",
"|	c #EFEFEF",
"1	c #C7C7C7",
"2	c #D8D8D8",
"3	c #D2D2D2",
"4	c #7B7B7B",
"5	c #302E26",
"6	c #89846C",
"7	c #C4BC9A",
"8	c #847235",
"9	c #C5C5C5",
"0	c #A7A7A7",
"a	c #ADADAD",
"b	c #9A9A9A",
"c	c #9B9B9B",
"d	c #868686",
"e	c #424242",
"f	c #847033",
"g	c #C9C09E",
"h	c #464337",
"i	c #35332A",
"j	c #2D2B23",
"k	c #C6BE9D",
"l	c #826F33",
"m	c #7F7964",
"n	c #4C493C",
"o	c #171612",
"p	c #13120F",
"q	c #3E3B31",
"r	c #282210",
"s	c #474438",
"t	c #B3B3B3",
"u	c #D6D6D6",
"v	c #B7AE90",
"w	c #B1AA8C",
"x	c #37352B",
"y	c #151410",
"z	c #8F8F8F",
"A	c #989898",
"B	c #C6C6C6",
"C	c #B9B293",
"D	c #11100D",
"E	c #434035",
"F	c #636363",
"G	c #767676",
"H	c #AAA48B",
"I	c #A5A086",
"J	c #A19A7F",
"K	c #312F26",
"L	c #AFA88C",
"M	c #050403",
"N	c #12110E",
"O	c #A9A489",
"P	c #A39E85",
"Q	c #EBE7D0",
"R	c #D2C9A5",
"S	c #A29053",
"T	c #8E7C3D",
"U	c #88793B",
"V	c #806C2F",
"W	c #78652B",
"X	c #251F0C",
"       ....             ",
" ......+@#$......       ",
".%%%%%&*=-;&>%%%,.      ",
".%''')!*~{]^/(''_.      ",
".%::<[}|123456<78.      ",
".%''!900abcde!)'f.      ",
".%g:6hijjjjj56<kl.      ",
".%'''////////(''l.      ",
".%g::::mnopppp^qr....   ",
".%'''''st***********u.  ",
".%vwwwwx*************.  ",
".%'''''y*0zzA**Bz*zB*.  ",
".%CwwwwD*************.  ",
".%'''''E*~F*GzzB*Bz**.  ",
".%HIJJJK*************.  ",
".%'''''E*0zz*zzzB*Az*.  ",
".%LIJJJM*************.  ",
".%'''''N*~F*GzzB*Bz**.  ",
".%OPJJJK*************.  ",
".Q'''''E*0zz*zzzB*Az*.  ",
".RSTUVWX*************.  ",
" .......u***********u.  ",
"        .............   ",
"                        "};