aboutsummaryrefslogtreecommitdiffstats
path: root/Panel.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-07-25 18:25:28 +0200
committerDaniel Lange <DLange@git.local>2016-07-25 18:25:28 +0200
commit31b71b67011fa52f091df6fe536a11d6d0bfb256 (patch)
tree31cb222871017376af8b7435d24cf4961863fa93 /Panel.h
parent8c82a38002ce09db2a0b83dab8b598cf1ab0596c (diff)
downloaddebian_htop-31b71b67011fa52f091df6fe536a11d6d0bfb256.tar.gz
debian_htop-31b71b67011fa52f091df6fe536a11d6d0bfb256.tar.bz2
debian_htop-31b71b67011fa52f091df6fe536a11d6d0bfb256.zip
Imported Upstream version 2.0.2upstream/2.0.2
Diffstat (limited to 'Panel.h')
-rw-r--r--Panel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Panel.h b/Panel.h
index 6789770..5253fc2 100644
--- a/Panel.h
+++ b/Panel.h
@@ -50,6 +50,7 @@ struct Panel_ {
Vector* items;
int selected;
int oldSelected;
+ int selectedLen;
void* eventHandlerState;
int scrollV;
short scrollH;
@@ -70,10 +71,7 @@ struct Panel_ {
#define MAX(a,b) ((a)>(b)?(a):(b))
#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 */
+#define KEY_CTRL(l) ((l)-'A'+1)
extern PanelClass Panel_class;

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