]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
added label colors, newtFormSetSize(), and newtLabel()
authorewt <ewt>
Tue, 26 Mar 1996 04:13:56 +0000 (04:13 +0000)
committerewt <ewt>
Tue, 26 Mar 1996 04:13:56 +0000 (04:13 +0000)
newt.h

diff --git a/newt.h b/newt.h
index acd6f9efe570d2c283c62e5c660f9be326b1d326..c6f4bfdefbf2c54a742d8c86ab0b2d4af24e4219 100644 (file)
--- a/newt.h
+++ b/newt.h
@@ -12,6 +12,7 @@ struct newtColors {
     char * checkboxFg, * checkboxBg;
     char * actCheckboxFg, * actCheckboxBg;
     char * entryFg, * entryBg;
+    char * labelFg, * labelBg;
 };
 
 extern struct newtColors newtDefaultColorPalette;
@@ -34,6 +35,7 @@ void newtRefresh(void);
 typedef struct newtComponent * newtComponent;
 
 newtComponent newtButton(int left, int top, char * text);
+newtComponent newtLabel(int left, int top, char * text);
 newtComponent newtCheckbox(int left, int top, char * text, char defValue,
                           char * seq, char * result);
 newtComponent newtRadiobutton(int left, int top, char * text, int isDefault,
@@ -42,6 +44,7 @@ newtComponent newtRadiobutton(int left, int top, char * text, int isDefault,
 newtComponent newtForm(void);
 void newtFormAddComponent(newtComponent form, newtComponent co);
 void newtFormAddComponents(newtComponent form, ...);
+void newtFormSetSize(newtComponent co, int width, int height);
 newtComponent newtRunForm(newtComponent form);
 
 #define NEWT_ENTRY_SCROLL      (1 << 0)