aboutsummaryrefslogtreecommitdiffstats
path: root/ScreenManager.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:29 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:29 +0200
commiteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (patch)
tree833f3fae6e3604a439f909c245a6e35f574997d7 /ScreenManager.h
parent283707c5e5bc436b78ea23bf5500cb6b16a01148 (diff)
downloaddebian_htop-eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95.tar.gz
debian_htop-eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95.tar.bz2
debian_htop-eaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95.zip
Imported Upstream version 1.0upstream/1.0
Diffstat (limited to 'ScreenManager.h')
-rw-r--r--ScreenManager.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ScreenManager.h b/ScreenManager.h
index 9e187d0..e169c30 100644
--- a/ScreenManager.h
+++ b/ScreenManager.h
@@ -4,7 +4,7 @@
#define HEADER_ScreenManager
/*
htop
-(C) 2004-2010 Hisham H. Muhammad
+(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
@@ -12,10 +12,12 @@ in the source distribution for its full text.
#include "Panel.h"
#include "Object.h"
#include "Vector.h"
+#include "Header.h"
#include "FunctionBar.h"
#include "debug.h"
#include <assert.h>
+#include <time.h>
#include <stdbool.h>
@@ -34,12 +36,14 @@ typedef struct ScreenManager_ {
Vector* items;
Vector* fuBars;
int itemCount;
- FunctionBar* fuBar;
+ const FunctionBar* fuBar;
+ const Header* header;
+ time_t lastScan;
bool owner;
} ScreenManager;
-ScreenManager* ScreenManager_new(int x1, int y1, int x2, int y2, Orientation orientation, bool owner);
+ScreenManager* ScreenManager_new(int x1, int y1, int x2, int y2, Orientation orientation, const Header* header, bool owner);
void ScreenManager_delete(ScreenManager* this);

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