From d3c9975943df58e293359b87905d19ff1fd52061 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:15 +0200 Subject: Imported Upstream version 0.5 --- FunctionBar.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 FunctionBar.h (limited to 'FunctionBar.h') diff --git a/FunctionBar.h b/FunctionBar.h new file mode 100644 index 0000000..3e08f8e --- /dev/null +++ b/FunctionBar.h @@ -0,0 +1,43 @@ +/* Do not edit this file. It was automatically genarated. */ + +#ifndef HEADER_FunctionBar +#define HEADER_FunctionBar +/* +htop +(C) 2004 Hisham H. Muhammad +Released under the GNU GPL, see the COPYING file +in the source distribution for its full text. +*/ + +#include "CRT.h" + +#include "debug.h" +#include + +#include +#include +#include +#include + + +typedef struct FunctionBar_ { + int size; + char** functions; + char** keys; + int* events; +} FunctionBar; + + + + +FunctionBar* FunctionBar_new(int size, char** functions, char** keys, int* events); + +void FunctionBar_delete(FunctionBar* this); + +void FunctionBar_draw(FunctionBar* this, char* buffer); + +void FunctionBar_drawAttr(FunctionBar* this, char* buffer, int attr); + +int FunctionBar_synthesizeEvent(FunctionBar* this, int pos); + +#endif -- cgit v1.2.3