diff options
author | Daniel Lange <DLange@git.local> | 2021-09-21 08:35:19 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2021-09-21 08:35:19 +0200 |
commit | 69f439eff387a6ecb52734e400b297a3c85f2285 (patch) | |
tree | 2a988b7868b749654796183ba70b4272965da1bf /Panel.h | |
parent | c55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (diff) | |
download | debian_htop-69f439eff387a6ecb52734e400b297a3c85f2285.tar.gz debian_htop-69f439eff387a6ecb52734e400b297a3c85f2285.tar.bz2 debian_htop-69f439eff387a6ecb52734e400b297a3c85f2285.zip |
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'Panel.h')
-rw-r--r-- | Panel.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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); |