comparison src/gui_haiku.cc @ 21355:fcccc29bd386 v8.2.1228

patch 8.2.1228: scrollbars not flush against the window edges when maximised Commit: https://github.com/vim/vim/commit/203ec7760d255d9f92950c8779ddfc587d7896e0 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 17 20:43:43 2020 +0200 patch 8.2.1228: scrollbars not flush against the window edges when maximised Problem: Scrollbars not flush against the window edges when maximised. Solution: Add padding. (Ken Takata, closes https://github.com/vim/vim/issues/5602, closes https://github.com/vim/vim/issues/6466)
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Jul 2020 20:45:07 +0200
parents 8a694c9447d7
children c346db463a59
comparison
equal deleted inserted replaced
21354:428b1c6355eb 21355:fcccc29bd386
3663 vsb->MoveTo(vsbx, vsby); 3663 vsb->MoveTo(vsbx, vsby);
3664 gui.vimWindow->Unlock(); 3664 gui.vimWindow->Unlock();
3665 } 3665 }
3666 } 3666 }
3667 3667
3668 int
3669 gui_mch_get_scrollbar_xpadding(void)
3670 {
3671 // TODO: Calculate the padding for adjust scrollbar position when the
3672 // Window is maximized.
3673 return 0;
3674 }
3675
3676 int
3677 gui_mch_get_scrollbar_ypadding(void)
3678 {
3679 // TODO: Calculate the padding for adjust scrollbar position when the
3680 // Window is maximized.
3681 return 0;
3682 }
3683
3668 void 3684 void
3669 gui_mch_create_scrollbar( 3685 gui_mch_create_scrollbar(
3670 scrollbar_T *sb, 3686 scrollbar_T *sb,
3671 int orient) // SBAR_VERT or SBAR_HORIZ 3687 int orient) // SBAR_VERT or SBAR_HORIZ
3672 { 3688 {