summaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'view.h')
-rw-r--r--view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/view.h b/view.h
index b346e75..11b0332 100644
--- a/view.h
+++ b/view.h
@@ -11,12 +11,17 @@ void view_init_root(struct view **root, struct redr_ctx *window);
size_t view_child_num(struct view *vw);
void view_free_under(struct view *root);
void view_draw_under(struct view *root);
+void view_resize(struct view *vw, float w, float h);
struct view_eb *view_eb_create_under(struct view *upper,
struct ed_buf *eb,
float posx,
+ bool is_posx_frac,
float posy,
+ bool is_posy_frac,
float w,
+ bool is_w_frac,
float h,
+ bool is_h_frac,
float font_size,
float font_spacing,
float scroll);