aboutsummaryrefslogtreecommitdiffstats
path: root/FunctionBar.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:15 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:15 +0200
commitd3c9975943df58e293359b87905d19ff1fd52061 (patch)
treee416378879f60e8d538b1b25963904f767d30ff4 /FunctionBar.h
downloaddebian_htop-d3c9975943df58e293359b87905d19ff1fd52061.tar.gz
debian_htop-d3c9975943df58e293359b87905d19ff1fd52061.tar.bz2
debian_htop-d3c9975943df58e293359b87905d19ff1fd52061.zip
Imported Upstream version 0.5upstream/0.5
Diffstat (limited to 'FunctionBar.h')
-rw-r--r--FunctionBar.h43
1 files changed, 43 insertions, 0 deletions
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 <assert.h>
+
+#include <string.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <curses.h>
+
+
+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

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