Skip to content

Commit 0babfe1

Browse files
committed
Fix build error
Define gui_mch_get_scrollbar_xpadding and gui_mch_get_scrollbar_ypadding.
1 parent b1a3f4d commit 0babfe1

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/MacVim/gui_macvim.m

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,24 @@
11651165
}
11661166

11671167

1168+
int
1169+
gui_mch_get_scrollbar_xpadding(void)
1170+
{
1171+
// TODO: Calculate the padding for adjust scrollbar position when the
1172+
// Window is maximized.
1173+
return 0;
1174+
}
1175+
1176+
1177+
int
1178+
gui_mch_get_scrollbar_ypadding(void)
1179+
{
1180+
// TODO: Calculate the padding for adjust scrollbar position when the
1181+
// Window is maximized.
1182+
return 0;
1183+
}
1184+
1185+
11681186
void
11691187
gui_mch_set_scrollbar_thumb(
11701188
scrollbar_T *sb,

src/proto/gui_macvim.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ gui_mch_set_scrollbar_pos(
160160
int y,
161161
int w,
162162
int h);
163+
int
164+
gui_mch_get_scrollbar_xpadding(void);
165+
int
166+
gui_mch_get_scrollbar_ypadding(void);
163167
void
164168
gui_mch_set_scrollbar_thumb(
165169
scrollbar_T *sb,

0 commit comments

Comments
 (0)