chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Columns are now resizable and wide columns are ellipsized. Columns
[disorder]
/
disobedience
/
queue-generic.h
diff --git
a/disobedience/queue-generic.h
b/disobedience/queue-generic.h
index 7ee93b64f1b37d6dec43f3b53770ccd6509d7987..9ca1f8009ef01c2d23260ddf9be9c683445103ca 100644
(file)
--- a/
disobedience/queue-generic.h
+++ b/
disobedience/queue-generic.h
@@
-32,10
+32,19
@@
struct queue_column {
/** @brief Passed to value() */
const char *data;
/** @brief Passed to value() */
const char *data;
- /** @brief
TODO
*/
-
gfloat xalign
;
+ /** @brief
Flags word
*/
+
unsigned flags
;
};
};
+/** @brief Ellipsize column if too wide */
+#define COL_ELLIPSIZE 0x0001
+
+/** @brief Set expand property */
+#define COL_EXPAND 0x0002
+
+/** @brief Right-algin column */
+#define COL_RIGHT 0x0004
+
/** @brief An item in the queue's popup menu */
struct queue_menuitem {
/** @brief Menu item name */
/** @brief An item in the queue's popup menu */
struct queue_menuitem {
/** @brief Menu item name */