From 283707c5e5bc436b78ea23bf5500cb6b16a01148 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:27 +0200 Subject: Imported Upstream version 0.9 --- Panel.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Panel.h') diff --git a/Panel.h b/Panel.h index ba522b9..c6f7433 100644 --- a/Panel.h +++ b/Panel.h @@ -4,7 +4,7 @@ #define HEADER_Panel /* htop - Panel.h -(C) 2004-2006 Hisham H. Muhammad +(C) 2004-2010 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -65,6 +65,10 @@ extern char* PANEL_CLASS; #define PANEL_CLASS NULL #endif +#define KEY_CTRLN 0016 /* control-n key */ +#define KEY_CTRLP 0020 /* control-p key */ +#define KEY_CTRLF 0006 /* control-f key */ +#define KEY_CTRLB 0002 /* control-b key */ Panel* Panel_new(int x, int y, int w, int h, char* type, bool owner, Object_Compare compare); @@ -74,9 +78,9 @@ void Panel_init(Panel* this, int x, int y, int w, int h, char* type, bool owner) void Panel_done(Panel* this); -extern void Panel_setRichHeader(Panel* this, RichString header); +RichString* Panel_getHeader(Panel* this); -extern void Panel_setHeader(Panel* this, char* header); +extern void Panel_setHeader(Panel* this, const char* header); void Panel_setEventHandler(Panel* this, Panel_EventHandler eh); -- cgit v1.2.3