aboutsummaryrefslogtreecommitdiff
path: root/src/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block.h')
-rw-r--r--src/block.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/block.h b/src/block.h
index 845ccfd..7d37c3d 100644
--- a/src/block.h
+++ b/src/block.h
@@ -54,19 +54,19 @@ struct block {
block_finalize_t finalize_cb;
color_t color;
color_t line_color;
- int line_width;
- int x_padding, y_padding;
- int min_width, max_width;
+ unsigned int line_width;
+ unsigned int x_padding, y_padding;
+ unsigned int min_width, max_width;
union {
struct {
char *text;
color_t text_color;
align_t text_align;
- int text_size;
+ unsigned int text_size;
} text;
struct {
- int spacing;
- int n_children;
+ unsigned int spacing;
+ size_t n_children;
struct block **children;
} group;
};