Mercurial > vim
comparison src/gui.c @ 444:d0d15b184c56
updated for version 7.0116
author | vimboss |
---|---|
date | Mon, 25 Jul 2005 20:42:36 +0000 |
parents | 0fd7ac767ecd |
children | 7472c565592a |
comparison
equal
deleted
inserted
replaced
443:43bf0bcf2110 | 444:d0d15b184c56 |
---|---|
1173 gui.right_sbar_x = text_area_x + text_area_width; | 1173 gui.right_sbar_x = text_area_x + text_area_width; |
1174 | 1174 |
1175 --hold_gui_events; | 1175 --hold_gui_events; |
1176 } | 1176 } |
1177 | 1177 |
1178 /* | |
1179 * Get the width of the widgets and decorations to the side of the text area. | |
1180 */ | |
1178 int | 1181 int |
1179 gui_get_base_width() | 1182 gui_get_base_width() |
1180 { | 1183 { |
1181 int base_width; | 1184 int base_width; |
1182 | 1185 |
1186 if (gui.which_scrollbars[SBAR_RIGHT]) | 1189 if (gui.which_scrollbars[SBAR_RIGHT]) |
1187 base_width += gui.scrollbar_width; | 1190 base_width += gui.scrollbar_width; |
1188 return base_width; | 1191 return base_width; |
1189 } | 1192 } |
1190 | 1193 |
1194 /* | |
1195 * Get the height of the widgets and decorations above and below the text area. | |
1196 */ | |
1191 int | 1197 int |
1192 gui_get_base_height() | 1198 gui_get_base_height() |
1193 { | 1199 { |
1194 int base_height; | 1200 int base_height; |
1195 | 1201 |
1329 return OK; | 1335 return OK; |
1330 } | 1336 } |
1331 | 1337 |
1332 /* | 1338 /* |
1333 * Set the size of the Vim shell according to Rows and Columns. | 1339 * Set the size of the Vim shell according to Rows and Columns. |
1340 * If "fit_to_display" is TRUE then the size may be reduced to fit the window | |
1341 * on the screen. | |
1334 */ | 1342 */ |
1335 /*ARGSUSED*/ | 1343 /*ARGSUSED*/ |
1336 void | 1344 void |
1337 gui_set_shellsize(mustset, fit_to_display) | 1345 gui_set_shellsize(mustset, fit_to_display) |
1338 int mustset; /* set by the user */ | 1346 int mustset; /* set by the user */ |