From f6e0b7d0c07e4043a96b3ac976eaf082454f4501 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 6 Jun 2006 20:28:42 +0000 Subject: Regenerated all headers. --- Panel.h | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'Panel.h') 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 -#include #include #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); -- cgit v1.2.3