Basic vertical rendering

- Add height attribute to most particles for height generation on the fly
This commit is contained in:
Kyle Gunger 2023-01-18 03:43:35 -05:00
parent 37b5b02fc4
commit 60c18246d8
23 changed files with 286 additions and 158 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#include <stdbool.h>
#include "../color.h"
#include "../font-shaping.h"
#include "../module.h"
@ -14,6 +16,8 @@ struct bar {
void (*refresh)(const struct bar *bar);
void (*set_cursor)(struct bar *bar, const char *cursor);
bool (*is_vertical)(const struct bar *bar);
const char *(*output_name)(const struct bar *bar);
};