From: ewt Date: Fri, 2 Aug 1996 18:44:41 +0000 (+0000) Subject: added NEWT_FORM_NOF12, NEWT_KEY_F1, NEWT_KEY_F12, new newtForm() prototype X-Git-Tag: v0-9~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e338bed6361f6a342ecdfe942aea41f812d25f69;p=thirdparty%2Fnewt.git added NEWT_FORM_NOF12, NEWT_KEY_F1, NEWT_KEY_F12, new newtForm() prototype --- diff --git a/newt.h b/newt.h index e0b9c9b..2b428a4 100644 --- a/newt.h +++ b/newt.h @@ -71,7 +71,9 @@ void newtListboxSetEntry(newtComponent co, int num, char * text); newtComponent newtTextbox(int left, int top, int with, int height, int flags); void newtTextboxSetText(newtComponent co, const char * text); -newtComponent newtForm(newtComponent vertBar); +#define NEWT_FORM_NOF12 (1 << 0) + +newtComponent newtForm(newtComponent vertBar, char * help, int flags); newtComponent newtFormGetCurrent(newtComponent co); void newtFormSetCurrent(newtComponent co, newtComponent subco); void newtFormAddComponent(newtComponent form, newtComponent co); @@ -112,4 +114,7 @@ void newtFormDestroy(newtComponent form); #define NEWT_KEY_PGUP NEWT_KEY_EXTRA_BASE + 11 #define NEWT_KEY_PGDN NEWT_KEY_EXTRA_BASE + 12 +#define NEWT_KEY_F1 NEWT_KEY_EXTRA_BASE + 101 +#define NEWT_KEY_F12 NEWT_KEY_EXTRA_BASE + 112 + #endif /* H_NEWT */