--- a/misc_gui.c Sun Jan 02 12:03:43 2005 +0000
+++ b/misc_gui.c Sun Jan 02 17:23:04 2005 +0000
@@ -692,6 +692,14 @@
if (num < w->vscroll.pos) w->vscroll.pos = num;
}
+void SetVScroll2Count(Window *w, int num)
+{
+ w->vscroll2.count = num;
+ num -= w->vscroll2.cap;
+ if (num < 0) num = 0;
+ if (num < w->vscroll2.pos) w->vscroll2.pos = num;
+}
+
void SetHScrollCount(Window *w, int num)
{
w->hscroll.count = num;
@@ -700,7 +708,6 @@
if (num < w->hscroll.pos) w->hscroll.pos = num;
}
-
int HandleEditBoxKey(Window *w, int wid, WindowEvent *we)
{
byte *p;