aboutsummaryrefslogtreecommitdiffstats
path: root/src/__main__.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-09 23:23:02 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-09 23:23:02 +0100
commit9c187b16d1ec6dd86d70461015c9670e890f7728 (patch)
tree303289648a01819b9abaa1a73c846610d6a71be1 /src/__main__.py
parentimprove users plugin + users demo (diff)
downloadxpybar-9c187b16d1ec6dd86d70461015c9670e890f7728.tar.gz
xpybar-9c187b16d1ec6dd86d70461015c9670e890f7728.tar.bz2
xpybar-9c187b16d1ec6dd86d70461015c9670e890f7728.tar.xz
add draw_text todo, there is an limitation in text length
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-xsrc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py
index efc31fd..501a30b 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -149,7 +149,7 @@ class Bar:
'''
return self.font.query_text_extents(text).overall_width
- def draw_text(self, x, y, descent, text):
+ def draw_text(self, x, y, descent, text): ## TODO fix support for text longer than 255 symbols
'''
Draw a text