aboutsummaryrefslogtreecommitdiffstats
path: root/FunctionBar.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:19 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:19 +0200
commit266ab52b3a741a58fb17c48b0f7939d7c5d266de (patch)
treeb4bccc59b9a35f3acbe7560f3d633940c71aedef /FunctionBar.h
parent2c8c1a156130aa40be7dcaeb3ce2977a03cf50c2 (diff)
downloaddebian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.gz
debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.tar.bz2
debian_htop-266ab52b3a741a58fb17c48b0f7939d7c5d266de.zip
Imported Upstream version 0.6upstream/0.6
Diffstat (limited to 'FunctionBar.h')
-rw-r--r--FunctionBar.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/FunctionBar.h b/FunctionBar.h
index 3e08f8e..5bb2161 100644
--- a/FunctionBar.h
+++ b/FunctionBar.h
@@ -9,6 +9,7 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+#include "Object.h"
#include "CRT.h"
#include "debug.h"
@@ -21,21 +22,24 @@ in the source distribution for its full text.
typedef struct FunctionBar_ {
+ Object super;
int size;
char** functions;
char** keys;
int* events;
+ bool staticData;
} FunctionBar;
-
-
+extern char* FUNCTIONBAR_CLASS;
FunctionBar* FunctionBar_new(int size, char** functions, char** keys, int* events);
-void FunctionBar_delete(FunctionBar* this);
+void FunctionBar_delete(Object* this);
void FunctionBar_draw(FunctionBar* this, char* buffer);
+void FunctionBar_setLabel(FunctionBar* this, int event, char* text);
+
void FunctionBar_drawAttr(FunctionBar* this, char* buffer, int attr);
int FunctionBar_synthesizeEvent(FunctionBar* this, int pos);

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