From 72ba20fa5f077bab4286dd78f9944df15de3b3b4 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 31 Aug 2021 15:38:52 +1000 Subject: Introduce screen tabs This is a forward port (by nathans) of Hisham's original code. --- IncSet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IncSet.h') diff --git a/IncSet.h b/IncSet.h index a98e7f8d..15b5d5d2 100644 --- a/IncSet.h +++ b/IncSet.h @@ -32,6 +32,7 @@ typedef struct IncMode_ { typedef struct IncSet_ { IncMode modes[2]; IncMode* active; + Panel* panel; FunctionBar* defaultBar; bool filtering; bool found; @@ -57,7 +58,7 @@ const char* IncSet_getListItemValue(Panel* panel, int i); void IncSet_activate(IncSet* this, IncType type, Panel* panel); -void IncSet_drawBar(const IncSet* this); +void IncSet_drawBar(const IncSet* this, int attr); int IncSet_synthesizeEvent(IncSet* this, int x); -- cgit v1.2.3