aboutsummaryrefslogtreecommitdiffstats
path: root/IncSet.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-09-15 08:00:00 +0200
committerDaniel Lange <DLange@git.local>2020-09-15 08:00:00 +0200
commitf80394a20254938142011855f2954b3f63fe5909 (patch)
treeb777de460977f21a6257540d6a687c86882850dc /IncSet.c
parent59eeadec918a955b40427a1b012992161050c939 (diff)
downloaddebian_htop-f80394a20254938142011855f2954b3f63fe5909.tar.gz
debian_htop-f80394a20254938142011855f2954b3f63fe5909.tar.bz2
debian_htop-f80394a20254938142011855f2954b3f63fe5909.zip
New upstream version 3.0.2upstream/3.0.2
Diffstat (limited to 'IncSet.c')
-rw-r--r--IncSet.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/IncSet.c b/IncSet.c
index eaab549..e9e2893 100644
--- a/IncSet.c
+++ b/IncSet.c
@@ -7,45 +7,11 @@ in the source distribution for its full text.
#include "IncSet.h"
#include "StringUtils.h"
-#include "Panel.h"
#include "ListItem.h"
#include "CRT.h"
#include <string.h>
#include <stdlib.h>
-/*{
-
-#include "FunctionBar.h"
-#include "Panel.h"
-#include <stdbool.h>
-
-#define INCMODE_MAX 40
-
-typedef enum {
- INC_SEARCH = 0,
- INC_FILTER = 1
-} IncType;
-
-#define IncSet_filter(inc_) (inc_->filtering ? inc_->modes[INC_FILTER].buffer : NULL)
-
-typedef struct IncMode_ {
- char buffer[INCMODE_MAX+1];
- int index;
- FunctionBar* bar;
- bool isFilter;
-} IncMode;
-
-typedef struct IncSet_ {
- IncMode modes[2];
- IncMode* active;
- FunctionBar* defaultBar;
- bool filtering;
- bool found;
-} IncSet;
-
-typedef const char* (*IncMode_GetPanelValue)(Panel*, int);
-
-}*/
static void IncMode_reset(IncMode* mode) {
mode->index = 0;

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