summaryrefslogtreecommitdiffstats
path: root/ScreensPanel.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-01-27 23:29:58 -0200
committerHisham Muhammad <hisham@gobolinux.org>2018-01-30 12:53:07 -0200
commitd1219abc558141a96ea25aa1db1c2dd3171c5132 (patch)
treeb5918f443e76050aa75c9036efb72e15ecbf1621 /ScreensPanel.h
parent673f098734a03a5643465563b5df3e7a69ed9d7a (diff)
Begin add supporting for multiple screens
Diffstat (limited to 'ScreensPanel.h')
-rw-r--r--ScreensPanel.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ScreensPanel.h b/ScreensPanel.h
new file mode 100644
index 00000000..35842a95
--- /dev/null
+++ b/ScreensPanel.h
@@ -0,0 +1,39 @@
+/* Do not edit this file. It was automatically generated. */
+
+#ifndef HEADER_ScreensPanel
+#define HEADER_ScreensPanel
+/*
+htop - ScreensPanel.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 "Settings.h"
+
+#ifndef SCREEN_NAME_LEN
+#define SCREEN_NAME_LEN 20
+#endif
+
+typedef struct ScreensPanel_ {
+ Panel super;
+
+ Settings* settings;
+ char buffer[SCREEN_NAME_LEN + 1];
+ char* saved;
+ int cursor;
+ bool moving;
+ bool renaming;
+} ScreensPanel;
+
+
+void startRenaming(Panel* super);
+
+extern PanelClass ScreensPanel_class;
+
+ScreensPanel* ScreensPanel_new(Settings* settings);
+
+void ScreensPanel_update(Panel* super);
+
+#endif

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