0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

updated for version 7.0184

This commit is contained in:
Bram Moolenaar
2006-01-21 22:09:43 +00:00
parent b71eaaeaa8
commit b1b715d1fb
6 changed files with 36 additions and 19 deletions

View File

@@ -2477,23 +2477,6 @@ gui_mswin_get_valid_dimensions(
((h - base_height) / gui.char_height) * gui.char_height;
}
void
gui_mch_get_screen_dimensions(int *screen_w, int *screen_h)
{
*screen_w = GetSystemMetrics(SM_CXFULLSCREEN)
- GetSystemMetrics(SM_CXFRAME) * 2;
/* FIXME: dirty trick: Because the gui_get_base_height() doesn't include
* the menubar for MSwin, we subtract it from the screen height, so that
* the window size can be made to fit on the screen. */
*screen_h = GetSystemMetrics(SM_CYFULLSCREEN)
- GetSystemMetrics(SM_CYFRAME) * 2
#ifdef FEAT_MENU
- gui_mswin_get_menu_height(FALSE)
#endif
;
}
void
gui_mch_flash(int msec)
{