chiark / gitweb /
Infrastructure for marking the playing track in a different color; not
[disorder] / disobedience / queue-generic.h
index 8f5b59fefe2eec8f1cf5ae2ba80be8d3fa4735d5..1888602beb27d216475695e165f0865e06c5f6fb 100644 (file)
@@ -91,6 +91,24 @@ struct queuelike {
   struct tabtype tabtype;
 };
 
+enum {
+  QUEUEPOINTER_COLUMN,
+  FOREGROUND_COLUMN,
+  BACKGROUND_COLUMN,
+
+  EXTRA_COLUMNS
+};
+
+/* TODO probably need to set "horizontal-separator" to 0, but can't find any
+ * coherent description of how to set style properties in isolation. */
+#define BG_PLAYING 0
+#define FG_PLAYING 0
+
+#ifndef BG_PLAYING
+# define BG_PLAYING "#e0ffe0"
+# define FG_PLAYING "black"
+#endif
+
 extern struct queuelike ql_queue;
 extern struct queuelike ql_recent;
 extern struct queuelike ql_added;