diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-21 16:57:44 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-21 16:57:44 +0900 |
| commit | 5bb312993960adaa663701391a83f76b81edc60a (patch) | |
| tree | 8838656d0000d24a4c44f5a548b0b36477dbee60 /fedora/.local/bin/htop-vim/MetersPanel.h | |
| parent | a861a5fb4c3449abd9d43481c24a90fb91345d75 (diff) | |
created htop-vim/
Diffstat (limited to 'fedora/.local/bin/htop-vim/MetersPanel.h')
| -rw-r--r-- | fedora/.local/bin/htop-vim/MetersPanel.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/fedora/.local/bin/htop-vim/MetersPanel.h b/fedora/.local/bin/htop-vim/MetersPanel.h new file mode 100644 index 0000000..679c12d --- /dev/null +++ b/fedora/.local/bin/htop-vim/MetersPanel.h @@ -0,0 +1,40 @@ +#ifndef HEADER_MetersPanel +#define HEADER_MetersPanel +/* +htop - MetersPanel.h +(C) 2004-2011 Hisham H. Muhammad +Released under the GNU GPLv2+, see the COPYING file +in the source distribution for its full text. +*/ + +#include <stdbool.h> + +#include "Panel.h" +#include "ScreenManager.h" +#include "Settings.h" +#include "Vector.h" + + +struct MetersPanel_; +typedef struct MetersPanel_ MetersPanel; + +struct MetersPanel_ { + Panel super; + + Settings* settings; + Vector* meters; + ScreenManager* scr; + MetersPanel* leftNeighbor; + MetersPanel* rightNeighbor; + bool moving; +}; + +void MetersPanel_cleanup(void); + +void MetersPanel_setMoving(MetersPanel* this, bool moving); + +extern const PanelClass MetersPanel_class; + +MetersPanel* MetersPanel_new(Settings* settings, const char* header, Vector* meters, ScreenManager* scr); + +#endif |
