From 8d7afb33e2e35fc0a34c1b9b0e7ce4cb3b3d5f86 Mon Sep 17 00:00:00 2001 From: syrrim Date: Sat, 3 Nov 2018 15:59:55 -0400 Subject: added MainPanel actions n and N for find next and find prev. closes #601 --- IncSet.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'IncSet.h') diff --git a/IncSet.h b/IncSet.h index 27538f4b..12679a78 100644 --- a/IncSet.h +++ b/IncSet.h @@ -41,10 +41,16 @@ typedef struct IncSet_ { 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_next(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); + +bool IncSet_prev(IncSet* this, IncType type, Panel* panel, IncMode_GetPanelValue getPanelValue); + bool IncSet_handleKey(IncSet* this, int ch, Panel* panel, IncMode_GetPanelValue getPanelValue, Vector* lines); const char* IncSet_getListItemValue(Panel* panel, int i); -- cgit v1.2.3