diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | images/iamcheesemans.png | bin | 0 -> 11190 bytes | |||
| -rw-r--r-- | src/tsar.c | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -43,6 +43,9 @@ tsarc layout -[side] [component 1 2 ... n] -[side] [component 1 2 ... n] ... ne_mene's bar :)  +iamcheeseman's bar :D + + This will set the text value of the component `label` to `"Lorem ipsum"`. Since that component doesn't exist yet, it will also implicitly create it. ``` diff --git a/images/iamcheesemans.png b/images/iamcheesemans.png Binary files differnew file mode 100644 index 0000000..2dc5808 --- /dev/null +++ b/images/iamcheesemans.png @@ -139,7 +139,7 @@ void draw_comp_set(float pos_ratio, comp_t **set, int size) { int x = (bar_width - width) * pos_ratio; x += padding * 2*(0.5 - pos_ratio); // Magic formula lol - int y = (bar_height - font->height) / 2; + int y = 0;//(bar_height - font->height) / 2; for (int i = 0; i < size; i++) { comp_t *comp = set[i]; |
