aboutsummaryrefslogtreecommitdiffstats
path: root/Panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Panel.h')
-rw-r--r--Panel.h10
1 files changed, 7 insertions, 3 deletions
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 <assert.h>
#include <stdbool.h>
#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);

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