ColumnsPanel.h 692 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef HEADER_ColumnsPanel
  2. #define HEADER_ColumnsPanel
  3. /*
  4. htop - ColumnsPanel.h
  5. (C) 2004-2011 Hisham H. Muhammad
  6. Released under the GNU GPLv2+, see the COPYING file
  7. in the source distribution for its full text.
  8. */
  9. #include <stdbool.h>
  10. #include "Hashtable.h"
  11. #include "Panel.h"
  12. #include "Settings.h"
  13. typedef struct ColumnsPanel_ {
  14. Panel super;
  15. ScreenSettings* ss;
  16. bool* changed;
  17. bool moving;
  18. } ColumnsPanel;
  19. extern const PanelClass ColumnsPanel_class;
  20. ColumnsPanel* ColumnsPanel_new(ScreenSettings* ss, Hashtable* columns, bool* changed);
  21. void ColumnsPanel_fill(ColumnsPanel* this, ScreenSettings* ss, Hashtable* columns);
  22. void ColumnsPanel_update(Panel* super);
  23. #endif