mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.0c
This commit is contained in:
14
src/gui.c
14
src/gui.c
@@ -1142,6 +1142,11 @@ gui_position_components(total_width)
|
||||
text_area_y = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT;
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
|
||||
if (gui_has_tabline())
|
||||
text_area_y += TABLINE_HEIGHT;
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))
|
||||
if (vim_strchr(p_go, GO_TOOLBAR) != NULL)
|
||||
{
|
||||
@@ -1223,6 +1228,10 @@ gui_get_base_height()
|
||||
base_height += gui.toolbar_height;
|
||||
# endif
|
||||
# endif
|
||||
# if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
|
||||
if (gui_has_tabline())
|
||||
base_height += TABLINE_HEIGHT;
|
||||
# endif
|
||||
# ifdef FEAT_FOOTER
|
||||
if (vim_strchr(p_go, GO_FOOTER) != NULL)
|
||||
base_height += gui.footer_height;
|
||||
@@ -3924,6 +3933,11 @@ gui_update_scrollbars(force)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
|
||||
if (gui_has_tabline())
|
||||
y += TABLINE_HEIGHT;
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_WINDOWS
|
||||
if (wp->w_winrow == 0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user