comparison src/gui_mac.c @ 856:8cd729851562 v7.0g

updated for version 7.0g
author vimboss
date Sun, 30 Apr 2006 18:54:39 +0000
parents a209672376fd
children b933657f7c9d
comparison
equal deleted inserted replaced
855:d2a4f08396fe 856:8cd729851562
12 * See README.txt for an overview of the Vim source code. 12 * See README.txt for an overview of the Vim source code.
13 */ 13 */
14 14
15 /* 15 /*
16 * NOTES: - Vim 7+ does not support classic MacOS. Please use Vim 6.x 16 * NOTES: - Vim 7+ does not support classic MacOS. Please use Vim 6.x
17 * - Comments mentioning FAQ refer to the book: 17 * - Comments mentioning FAQ refer to the book:
18 * "Macworld Mac Programming FAQs" from "IDG Books" 18 * "Macworld Mac Programming FAQs" from "IDG Books"
19 */ 19 */
20 20
21 /* 21 /*
22 * TODO: Change still to merge from the macvim's iDisk 22 * TODO: Change still to merge from the macvim's iDisk
23 * 23 *
3815 * Draw undercurl at the bottom of the character cell. 3815 * Draw undercurl at the bottom of the character cell.
3816 */ 3816 */
3817 static void 3817 static void
3818 draw_undercurl(int flags, int row, int col, int cells) 3818 draw_undercurl(int flags, int row, int col, int cells)
3819 { 3819 {
3820 int x; 3820 int x;
3821 int offset; 3821 int offset;
3822 const static int val[8] = {1, 0, 0, 0, 1, 2, 2, 2 }; 3822 const static int val[8] = {1, 0, 0, 0, 1, 2, 2, 2 };
3823 int y = FILL_Y(row + 1) - 1; 3823 int y = FILL_Y(row + 1) - 1;
3824 3824
3825 RGBForeColor(&specialColor); 3825 RGBForeColor(&specialColor);
3826 3826
3827 offset = val[FILL_X(col) % 8]; 3827 offset = val[FILL_X(col) % 8];
3828 MoveTo(FILL_X(col), y - offset); 3828 MoveTo(FILL_X(col), y - offset);