Mercurial > emacs
view etc/images/search-replace.xpm @ 69433:a8fd29f179b0
(mac_draw_rectangle, x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground)
(x_draw_image_foreground): Undo previous changes.
(x_draw_hollow_cursor): Likewise. Subtract 1 from the last
argument of mac_draw_rectangle.
(CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros.
(mac_draw_string_common, mac_draw_image_string_cg): Use them.
(FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro.
(mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw)
[USE_CG_DRAWING]: New functions.
(mac_draw_line, mac_erase_rectangle, mac_clear_window)
(mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common)
(mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part.
(mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common)
(mac_copy_area, mac_scroll_area, x_scroll_bar_create)
(x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size)
(XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 12 Mar 2006 08:20:37 +0000 |
parents | 28718fa5d988 |
children | 75b06a7624a1 |
line wrap: on
line source
/* XPM */ static char *magick[] = { /* columns rows colors chars-per-pixel */ "24 24 8 1", " c #01260126010f", ". c #56004ef93434", "X c #5c9c5c9c57c7", "o c #8e8e7d7d4545", "O c #a72aa72a95e6", "+ c #d015d015b9c5", "@ c #e90de90dd2e3", "# c None", /* pixels */ "########################", "################ ######", "############### o #####", "########### ## o ######", "######### O o #######", "####### O@@ o ########", "##### O+++ o #########", "### O++++ o #########", "## XX++++ . @.#########", "## @.O+++ @@@@ ########", "## @@.++++@@@@@O #######", "## @@.O+O. .O@@ #######", "## @XO+O.O++O.+@@ ######", "## O++.O@@+OX.@@O #####", "## X+++ +#+OOO @@@+ ####", "## O++@ +@OOOO @@@O ####", "### +@@.OOOOOX.@@ #####", "### +@@O.OOOX + #######", "####X@@@O. .X ########", "#### @@@@@@@+ #######", "##### @@@@@O ## ######", "##### O@@+. #### #####", "###### @O ####### #####", "####### ###############" };