diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-03-22 20:37:08 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-03-22 20:37:08 +0000 |
commit | a9c0ea375323a3f801636f95a76afd0fd1328c5d (patch) | |
tree | 6c8f551197bc53097e4ab2618ca20eb1fe0f0696 /ScreenManager.h | |
parent | b56195663760d76ea61d9ed15121dd4a13fa68cd (diff) |
* Option for counting CPUs from zero
(thanks to Sean Noonan)
* Meters update in every screen (no longer halting while on Setup, etc.)
Diffstat (limited to 'ScreenManager.h')
-rw-r--r-- | ScreenManager.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ScreenManager.h b/ScreenManager.h index 9e187d08..1404b385 100644 --- a/ScreenManager.h +++ b/ScreenManager.h @@ -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); |