summaryrefslogtreecommitdiff
path: root/src/theming.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-01-06 17:36:14 +0100
committermathieui <mathieui@mathieui.net>2013-01-06 17:36:14 +0100
commit2ea8673a0408bb3151ea8fdb4045814d88e770bb (patch)
tree35d8d68ad35b31af7780c7174a4344d3b6b2d616 /src/theming.py
parentb04d5c5f53f39457f60d38cb388c3e8f3edbd7de (diff)
downloadpoezio-2ea8673a0408bb3151ea8fdb4045814d88e770bb.tar.gz
poezio-2ea8673a0408bb3151ea8fdb4045814d88e770bb.tar.bz2
poezio-2ea8673a0408bb3151ea8fdb4045814d88e770bb.tar.xz
poezio-2ea8673a0408bb3151ea8fdb4045814d88e770bb.zip
Improve the help system (#1986)
TODO: change the plugin API to take advantage of this This change is backwards-compatible (as in “should not break anything”)
Diffstat (limited to 'src/theming.py')
-rw-r--r--src/theming.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theming.py b/src/theming.py
index 8e394a40..07a37c6e 100644
--- a/src/theming.py
+++ b/src/theming.py
@@ -80,6 +80,10 @@ class Theme(object):
# Message text color
COLOR_NORMAL_TEXT = (-1, -1)
COLOR_INFORMATION_TEXT = (5, -1) # TODO
+
+ # Color of the commands in the help message
+ COLOR_HELP_COMMANDS = (208, -1)
+
# "reverse" is a special value, available only for this option. It just
# takes the nick colors and reverses it. A theme can still specify a
# fixed color if need be.
@@ -205,6 +209,7 @@ class Theme(object):
'error': (16, 1),
'warning': (1, 16),
'roster': (2, 16),
+ 'help': (10, -1),
'headline': (11, -1, 'b'),
'default': (7, -1),
}