From 69f439eff387a6ecb52734e400b297a3c85f2285 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 21 Sep 2021 08:35:19 +0200 Subject: New upstream version 3.1.0 --- Panel.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Panel.h') diff --git a/Panel.h b/Panel.h index 945718a..41dba21 100644 --- a/Panel.h +++ b/Panel.h @@ -7,6 +7,9 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include "config.h" // IWYU pragma: keep + +#include #include #include "CRT.h" @@ -26,7 +29,8 @@ typedef enum HandlerResult_ { REFRESH = 0x08, REDRAW = 0x10, RESCAN = 0x20, - SYNTH_KEY = 0x40, + RESIZE = 0x40, + SYNTH_KEY = 0x80, } HandlerResult; #define EVENT_SET_SELECTED (-1) @@ -112,9 +116,9 @@ void Panel_moveSelectedUp(Panel* this); void Panel_moveSelectedDown(Panel* this); -int Panel_getSelectedIndex(Panel* this); +int Panel_getSelectedIndex(const Panel* this); -int Panel_size(Panel* this); +int Panel_size(const Panel* this); void Panel_setSelected(Panel* this, int selected); -- cgit v1.2.3