aboutsummaryrefslogtreecommitdiffstats
path: root/ScreenManager.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:30 +0200
commite2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 (patch)
treec4e410dd878ceed9fc058d14bad8011b423212fe /ScreenManager.h
parenteaf11cc12a1aa4b050a8a1e7ea3770d3d9c81e95 (diff)
downloaddebian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.gz
debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.tar.bz2
debian_htop-e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3.zip
Imported Upstream version 1.0.1upstream/1.0.1
Diffstat (limited to 'ScreenManager.h')
-rw-r--r--ScreenManager.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/ScreenManager.h b/ScreenManager.h
index e169c30..5179fe9 100644
--- a/ScreenManager.h
+++ b/ScreenManager.h
@@ -3,24 +3,15 @@
#ifndef HEADER_ScreenManager
#define HEADER_ScreenManager
/*
-htop
+htop - ScreenManager.h
(C) 2004-2011 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-#include "Panel.h"
-#include "Object.h"
+#include "FunctionBar.h"
#include "Vector.h"
#include "Header.h"
-#include "FunctionBar.h"
-
-#include "debug.h"
-#include <assert.h>
-#include <time.h>
-
-#include <stdbool.h>
-
typedef enum Orientation_ {
VERTICAL,
@@ -33,13 +24,14 @@ typedef struct ScreenManager_ {
int x2;
int y2;
Orientation orientation;
- Vector* items;
+ Vector* panels;
Vector* fuBars;
- int itemCount;
+ int panelCount;
const FunctionBar* fuBar;
const Header* header;
time_t lastScan;
bool owner;
+ bool allowFocusChange;
} ScreenManager;

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