aboutsummaryrefslogtreecommitdiffstats
path: root/ColorsPanel.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:20 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:20 +0200
commit85bb4ad9cb820ac3b8e935a930084a06cbfd2847 (patch)
tree681fd9b2d9fa80931b2a8bec4bb6667865b7c569 /ColorsPanel.h
parentea859f50d9438bc61ae96721a4d255b49de78653 (diff)
downloaddebian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.tar.gz
debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.tar.bz2
debian_htop-85bb4ad9cb820ac3b8e935a930084a06cbfd2847.zip
Imported Upstream version 0.6.3upstream/0.6.3
Diffstat (limited to 'ColorsPanel.h')
-rw-r--r--ColorsPanel.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ColorsPanel.h b/ColorsPanel.h
new file mode 100644
index 0000000..2cf2947
--- /dev/null
+++ b/ColorsPanel.h
@@ -0,0 +1,39 @@
+/* Do not edit this file. It was automatically generated. */
+
+#ifndef HEADER_ColorsPanel
+#define HEADER_ColorsPanel
+
+#include "CRT.h"
+
+#include "Panel.h"
+#include "CheckItem.h"
+#include "Settings.h"
+#include "ScreenManager.h"
+
+#include "debug.h"
+#include <assert.h>
+
+// TO ADD A NEW SCHEME:
+// * Increment the size of bool check in ColorsPanel.h
+// * Add the entry in the ColorSchemes array below in the file
+// * Add a define in CRT.h that matches the order of the array
+// * Add the colors in CRT_setColors
+
+
+typedef struct ColorsPanel_ {
+ Panel super;
+
+ Settings* settings;
+ ScreenManager* scr;
+ bool check[5];
+} ColorsPanel;
+
+
+ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr);
+
+void ColorsPanel_delete(Object* object);
+
+HandlerResult ColorsPanel_EventHandler(Panel* super, int ch);
+
+
+#endif

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