aboutsummaryrefslogtreecommitdiffstats
path: root/ScreenManager.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-12-07 10:26:02 +0100
committerDaniel Lange <DLange@git.local>2020-12-07 10:26:02 +0100
commitd67ee86091f9e07f8d85c1fb77c7c58989e676bb (patch)
tree900f5e62bfd8e8c082be75a94f5348dea819beba /ScreenManager.h
parent3cbc50cde37fee19ce98ee8260b0a6095b829c4c (diff)
parent65357c8c46154de4e4eca14075bfe5523bb5fc14 (diff)
downloaddebian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.tar.gz
debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.tar.bz2
debian_htop-d67ee86091f9e07f8d85c1fb77c7c58989e676bb.zip
Update upstream source from tag 'upstream/3.0.3'
Update to upstream version '3.0.3' with Debian dir 8a3a733dc80e45b1cde220f88fcfd815869742f0
Diffstat (limited to 'ScreenManager.h')
-rw-r--r--ScreenManager.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/ScreenManager.h b/ScreenManager.h
index 3c19a05..7dda4fc 100644
--- a/ScreenManager.h
+++ b/ScreenManager.h
@@ -3,35 +3,34 @@
/*
htop - ScreenManager.h
(C) 2004-2011 Hisham H. Muhammad
-Released under the GNU GPL, see the COPYING file
+Released under the GNU GPLv2, see the COPYING file
in the source distribution for its full text.
*/
-#include "Vector.h"
+#include <stdbool.h>
+
+#include "Action.h"
#include "Header.h"
-#include "Settings.h"
#include "Panel.h"
+#include "Settings.h"
+#include "Vector.h"
-typedef enum Orientation_ {
- VERTICAL,
- HORIZONTAL
-} Orientation;
typedef struct ScreenManager_ {
int x1;
int y1;
int x2;
int y2;
- Orientation orientation;
Vector* panels;
int panelCount;
- const Header* header;
+ Header* header;
const Settings* settings;
+ const State* state;
bool owner;
bool allowFocusChange;
} ScreenManager;
-ScreenManager* ScreenManager_new(int x1, int y1, int x2, int y2, Orientation orientation, const Header* header, const Settings* settings, bool owner);
+ScreenManager* ScreenManager_new(Header* header, const Settings* settings, const State* state, bool owner);
void ScreenManager_delete(ScreenManager* this);

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