summaryrefslogtreecommitdiff
path: root/fedora/.local/bin/htop-vim/IncSet.h
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-28 15:42:50 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-28 15:42:50 +0900
commitae78dbbff81196f1d7bc8fabf84d05e6b9f3ca03 (patch)
treefdc69ee3e2772aa4db7e8efe4bd30d101c7f82ac /fedora/.local/bin/htop-vim/IncSet.h
parent06ad645351572c0e7188c52028998384d718df2e (diff)
updatesHEADmaster
Diffstat (limited to 'fedora/.local/bin/htop-vim/IncSet.h')
-rw-r--r--fedora/.local/bin/htop-vim/IncSet.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/fedora/.local/bin/htop-vim/IncSet.h b/fedora/.local/bin/htop-vim/IncSet.h
deleted file mode 100644
index 15b5d5d..0000000
--- a/fedora/.local/bin/htop-vim/IncSet.h
+++ /dev/null
@@ -1,65 +0,0 @@
-#ifndef HEADER_IncSet
-#define HEADER_IncSet
-/*
-htop - IncSet.h
-(C) 2005-2012 Hisham H. Muhammad
-Released under the GNU GPLv2+, see the COPYING file
-in the source distribution for its full text.
-*/
-
-#include <stdbool.h>
-#include <stddef.h>
-
-#include "FunctionBar.h"
-#include "Panel.h"
-#include "Vector.h"
-
-
-#define INCMODE_MAX 40
-
-typedef enum {
- INC_SEARCH = 0,
- INC_FILTER = 1
-} IncType;
-
-typedef struct IncMode_ {
- char buffer[INCMODE_MAX + 1];
- int index;
- FunctionBar* bar;
- bool isFilter;
-} IncMode;
-
-typedef struct IncSet_ {
- IncMode modes[2];
- IncMode* active;
- Panel* panel;
- FunctionBar* defaultBar;
- bool filtering;
- bool found;
-} IncSet;
-
-static inline const char* IncSet_filter(const IncSet* this) {
- return this->filtering ? this->modes[INC_FILTER].buffer : NULL;
-}
-
-void IncSet_setFilter(IncSet* this, const char* filter);
-
-typedef const char* (*IncMode_GetPanelValue)(Panel*, int);
-
-void IncSet_reset(IncSet* this, IncType type);
-
-IncSet* IncSet_new(FunctionBar* bar);
-
-void IncSet_delete(IncSet* this);
-
-bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue getPanelValue, Vector* lines);
-
-const char* IncSet_getListItemValue(Panel* panel, int i);
-
-void IncSet_activate(IncSet* this, IncType type, Panel* panel);
-
-void IncSet_drawBar(const IncSet* this, int attr);
-
-int IncSet_synthesizeEvent(IncSet* this, int x);
-
-#endif