summaryrefslogtreecommitdiffstats
path: root/Panel.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2006-06-06 20:28:42 +0000
committerHisham Muhammad <hisham@gobolinux.org>2006-06-06 20:28:42 +0000
commitf6e0b7d0c07e4043a96b3ac976eaf082454f4501 (patch)
tree35759df85a7a26e7121c44c0b55f6641b0f6758b /Panel.h
parent35afc13ebf8f82cfc7a3e6d6f7ba6d5062c5cdc1 (diff)
Regenerated all headers.
Diffstat (limited to 'Panel.h')
-rw-r--r--Panel.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/Panel.h b/Panel.h
index 2999dc33..4b96fe48 100644
--- a/Panel.h
+++ b/Panel.h
@@ -1,9 +1,9 @@
-/* Do not edit this file. It was automatically genarated. */
+/* Do not edit this file. It was automatically generated. */
#ifndef HEADER_Panel
#define HEADER_Panel
/*
-htop
+htop - Panel.h
(C) 2004-2006 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
@@ -15,7 +15,6 @@ in the source distribution for its full text.
#include "RichString.h"
#include <math.h>
-#include <sys/param.h>
#include <stdbool.h>
#include "debug.h"
@@ -48,9 +47,15 @@ struct Panel_ {
Panel_EventHandler eventHandler;
};
-extern char* PANEL_CLASS;
+#ifndef MIN
+#define MIN(a,b) ((a)<(b)?(a):(b))
+#endif
+#ifndef MAX
+#define MAX(a,b) ((a)>(b)?(a):(b))
+#endif
+extern char* PANEL_CLASS;
Panel* Panel_new(int x, int y, int w, int h, char* type, bool owner);
@@ -60,11 +65,11 @@ void Panel_init(Panel* this, int x, int y, int w, int h, char* type, bool owner)
void Panel_done(Panel* this);
-void Panel_setEventHandler(Panel* this, Panel_EventHandler eh);
+inline void Panel_setRichHeader(Panel* this, RichString header);
-void Panel_setRichHeader(Panel* this, RichString header);
+inline void Panel_setHeader(Panel* this, char* header);
-void Panel_setHeader(Panel* this, char* header);
+void Panel_setEventHandler(Panel* this, Panel_EventHandler eh);
void Panel_move(Panel* this, int x, int y);

© 2014-2024 Faster IT GmbH | imprint | privacy policy