comparison src/gui.c @ 1378:a4365075d05c v7.1.093

updated for version 7.1-093
author vimboss
date Thu, 30 Aug 2007 11:53:22 +0000
parents 9947133ce85b
children 99a9e42e5688
comparison
equal deleted inserted replaced
1377:e2f5c1597829 1378:a4365075d05c
1078 cur_height = (gui.char_height * shape_table[idx].percentage 1078 cur_height = (gui.char_height * shape_table[idx].percentage
1079 + 99) / 100; 1079 + 99) / 100;
1080 cur_width = gui.char_width; 1080 cur_width = gui.char_width;
1081 } 1081 }
1082 #ifdef FEAT_MBYTE 1082 #ifdef FEAT_MBYTE
1083 if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col) > 1) 1083 if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col,
1084 LineOffset[gui.row] + screen_Columns) > 1)
1084 { 1085 {
1085 /* Double wide character. */ 1086 /* Double wide character. */
1086 if (shape_table[idx].shape != SHAPE_VER) 1087 if (shape_table[idx].shape != SHAPE_VER)
1087 cur_width += gui.char_width; 1088 cur_width += gui.char_width;
1088 # ifdef FEAT_RIGHTLEFT 1089 # ifdef FEAT_RIGHTLEFT
1157 if (vim_strchr(p_go, GO_TOOLBAR) != NULL) 1158 if (vim_strchr(p_go, GO_TOOLBAR) != NULL)
1158 text_area_y = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT; 1159 text_area_y = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT;
1159 #endif 1160 #endif
1160 1161
1161 # if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \ 1162 # if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \
1162 || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_MAC)) 1163 || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_MAC))
1163 if (gui_has_tabline()) 1164 if (gui_has_tabline())
1164 text_area_y += gui.tabline_height; 1165 text_area_y += gui.tabline_height;
1165 #endif 1166 #endif
1166 1167
1167 #if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) 1168 #if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))