From: ewt Date: Tue, 3 Sep 1996 01:38:19 +0000 (+0000) Subject: added: X-Git-Tag: v0-9~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0981f2318e1291128c35d6f61b82019b6cec1e2;p=thirdparty%2Fnewt.git added: void newtSuspend(void); void newtResume(void); newtComponent newtScale(_ void newtScaleSet() --- diff --git a/newt.h b/newt.h index 42c8fda..ca78846 100644 --- a/newt.h +++ b/newt.h @@ -18,6 +18,8 @@ #define NEWT_COLORSET_ACTTEXTBOX 16 #define NEWT_COLORSET_HELPLINE 17 #define NEWT_COLORSET_ROOTTEXT 18 +#define NEWT_COLORSET_EMPTYSCALE 19 +#define NEWT_COLORSET_FULLSCALE 20 struct newtColors { char * rootFg, * rootBg; @@ -37,6 +39,7 @@ struct newtColors { char * actTextboxFg, * actTextboxBg; char * helpLineFg, * helpLineBg; char * rootTextFg, * rootTextBg; + char * emptyScale, * fullScale; }; typedef struct newtComponent * newtComponent; @@ -58,6 +61,8 @@ int newtOpenWindow(int left, int top, int width, int height, void newtPopWindow(void); void newtSetColors(struct newtColors colors); void newtRefresh(void); +void newtSuspend(void); +void newtResume(void); void newtPushHelpLine(char * text); void newtRedrawHelpLine(void); void newtPopHelpLine(void); @@ -126,6 +131,10 @@ void newtFormAddHotKey(newtComponent co, int key); newtComponent newtEntry(int left, int top, char * initialValue, int width, char ** resultPtr, int flags); void newtEntrySet(newtComponent co, char * value, int cursorAtEnd); + +newtComponent newtScale(int left, int top, int width, long long fullValue); +void newtScaleSet(newtComponent co, long long amount); + void newtComponentAddCallback(newtComponent co, newtCallback f, void * data); /* this also destroys all of the components (including other forms) on the