diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:20 +0200 |
commit | 85bb4ad9cb820ac3b8e935a930084a06cbfd2847 (patch) | |
tree | 681fd9b2d9fa80931b2a8bec4bb6667865b7c569 /FunctionBar.h | |
parent | ea859f50d9438bc61ae96721a4d255b49de78653 (diff) | |
download | debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.tar.gz debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.tar.bz2 debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.zip |
Imported Upstream version 0.6.3upstream/0.6.3
Diffstat (limited to 'FunctionBar.h')
-rw-r--r-- | FunctionBar.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/FunctionBar.h b/FunctionBar.h index 05c8260..dfdef60 100644 --- a/FunctionBar.h +++ b/FunctionBar.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_FunctionBar #define HEADER_FunctionBar /* -htop +htop - FunctionBar.h (C) 2004-2006 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. @@ -30,16 +30,21 @@ typedef struct FunctionBar_ { bool staticData; } FunctionBar; + +#ifdef DEBUG extern char* FUNCTIONBAR_CLASS; +#else +#define FUNCTIONBAR_CLASS NULL +#endif FunctionBar* FunctionBar_new(int size, char** functions, char** keys, int* events); -void FunctionBar_delete(Object* this); - -void FunctionBar_draw(FunctionBar* this, char* buffer); +void FunctionBar_delete(Object* cast); void FunctionBar_setLabel(FunctionBar* this, int event, char* text); +void FunctionBar_draw(FunctionBar* this, char* buffer); + void FunctionBar_drawAttr(FunctionBar* this, char* buffer, int attr); int FunctionBar_synthesizeEvent(FunctionBar* this, int pos); |