Fix build error

Define gui_mch_get_scrollbar_xpadding and gui_mch_get_scrollbar_ypadding.
This commit is contained in:
ichizok
2020-07-20 21:52:05 +09:00
parent b1a3f4d34c
commit 0babfe1c02
2 changed files with 22 additions and 0 deletions
+18
View File
@@ -1165,6 +1165,24 @@ gui_mch_set_scrollbar_pos(
}
int
gui_mch_get_scrollbar_xpadding(void)
{
// TODO: Calculate the padding for adjust scrollbar position when the
// Window is maximized.
return 0;
}
int
gui_mch_get_scrollbar_ypadding(void)
{
// TODO: Calculate the padding for adjust scrollbar position when the
// Window is maximized.
return 0;
}
void
gui_mch_set_scrollbar_thumb(
scrollbar_T *sb,
+4
View File
@@ -160,6 +160,10 @@ gui_mch_set_scrollbar_pos(
int y,
int w,
int h);
int
gui_mch_get_scrollbar_xpadding(void);
int
gui_mch_get_scrollbar_ypadding(void);
void
gui_mch_set_scrollbar_thumb(
scrollbar_T *sb,