summaryrefslogtreecommitdiffstats
path: root/ScreensPanel.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-01-28 04:09:06 -0200
committerHisham Muhammad <hisham@gobolinux.org>2018-02-17 15:30:15 -0200
commit187a035a769fb490318091fee2b0051d9b188ad5 (patch)
treead74fe0bfe51adb320f2f2bbb8ce45fcd335f960 /ScreensPanel.h
parentece89b8df0db61b8caaf53679afbe00e1c2ef22f (diff)
Add support for multiple screens, switchable using Tab
Diffstat (limited to 'ScreensPanel.h')
-rw-r--r--ScreensPanel.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/ScreensPanel.h b/ScreensPanel.h
index 35842a95..f1c80647 100644
--- a/ScreensPanel.h
+++ b/ScreensPanel.h
@@ -10,7 +10,10 @@ in the source distribution for its full text.
*/
#include "Panel.h"
+#include "ScreenManager.h"
+#include "ColumnsPanel.h"
#include "Settings.h"
+#include "ListItem.h"
#ifndef SCREEN_NAME_LEN
#define SCREEN_NAME_LEN 20
@@ -18,8 +21,10 @@ in the source distribution for its full text.
typedef struct ScreensPanel_ {
Panel super;
-
+
+ ScreenManager* scr;
Settings* settings;
+ ColumnsPanel* columns;
char buffer[SCREEN_NAME_LEN + 1];
char* saved;
int cursor;
@@ -27,8 +32,15 @@ typedef struct ScreensPanel_ {
bool renaming;
} ScreensPanel;
+typedef struct ScreenListItem_ {
+ ListItem super;
+ ScreenSettings* ss;
+} ScreenListItem;
+
+
+extern ObjectClass ScreenListItem_class;
-void startRenaming(Panel* super);
+ScreenListItem* ScreenListItem_new(const char* value, int key, ScreenSettings* ss);
extern PanelClass ScreensPanel_class;

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