]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
added newtVerticalScrollbar(), newtScrollbarSet(), and changed form
authorewt <ewt>
Sun, 31 Mar 1996 02:17:10 +0000 (02:17 +0000)
committerewt <ewt>
Sun, 31 Mar 1996 02:17:10 +0000 (02:17 +0000)
creation call to let it have a vertical scrollbar

newt.h

diff --git a/newt.h b/newt.h
index 7981496da038145a73675dbef6723cd21754173f..ae9d874c265c2d3908107aed8a10f4df526c455a 100644 (file)
--- a/newt.h
+++ b/newt.h
@@ -45,11 +45,14 @@ newtComponent newtListitem(int left, int top, char * text, int isDefault,
                              newtComponent prevItem);
 
 newtComponent newtLabel(int left, int top, char * text);
+newtComponent newtVerticalScrollbar(int left, int top, int height,
+                                   int normalColorset, int thumbColorset);
+void newtScrollbarSet(newtComponent co, int where, int total);
 
 newtComponent newtListbox(int left, int top, int height, int flags);
 void newtListboxAddEntry(newtComponent co, char * text);
 
-newtComponent newtForm(void);
+newtComponent newtForm(newtComponent vertBar);
 void newtFormAddComponent(newtComponent form, newtComponent co);
 void newtFormAddComponents(newtComponent form, ...);
 void newtFormSetHeight(newtComponent co, int height);