]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
moved COLORSET_* defines to newt.h from newt_pr.h
authorewt <ewt>
Wed, 7 Aug 1996 19:51:50 +0000 (19:51 +0000)
committerewt <ewt>
Wed, 7 Aug 1996 19:51:50 +0000 (19:51 +0000)
added newtFormSetBackground()

newt.h

diff --git a/newt.h b/newt.h
index 608615b241be787735246d02468fb0d93ecec16b..4f47ab7acb463abca8167fd4ba6d37d729d41b60 100644 (file)
--- a/newt.h
+++ b/newt.h
@@ -1,6 +1,22 @@
 #ifndef H_NEWT
 #define H_NEWT
 
+#define COLORSET_ROOT          2
+#define COLORSET_BORDER        3
+#define COLORSET_WINDOW                4
+#define COLORSET_SHADOW                5
+#define COLORSET_TITLE         6
+#define COLORSET_BUTTON                7
+#define COLORSET_ACTBUTTON     8
+#define COLORSET_CHECKBOX      9
+#define COLORSET_ACTCHECKBOX   10
+#define COLORSET_ENTRY         11
+#define COLORSET_LABEL         12
+#define COLORSET_LISTBOX       13
+#define COLORSET_ACTLISTBOX    14
+#define COLORSET_TEXTBOX       15
+#define COLORSET_ACTTEXTBOX    16
+
 struct newtColors {
     char * rootFg, * rootBg;
     char * borderFg, * borderBg;
@@ -84,6 +100,7 @@ struct newtExitStruct {
 
 newtComponent newtForm(newtComponent vertBar, char * help, int flags);
 newtComponent newtFormGetCurrent(newtComponent co);
+void newtFormSetBackground(newtComponent co, int color);
 void newtFormSetCurrent(newtComponent co, newtComponent subco);
 void newtFormAddComponent(newtComponent form, newtComponent co);
 void newtFormAddComponents(newtComponent form, ...);