diff options
Diffstat (limited to 'framebuffer/fbtk.h')
-rw-r--r-- | framebuffer/fbtk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framebuffer/fbtk.h b/framebuffer/fbtk.h index 95bd8b9a3..530a82d34 100644 --- a/framebuffer/fbtk.h +++ b/framebuffer/fbtk.h @@ -207,6 +207,8 @@ bool fbtk_event(fbtk_widget_t *root, nsfb_event_t *event, int timeout); /* keycode to ucs4 */ int fbtk_keycode_to_ucs4(int code, uint8_t mods); +/* clip a box to a widgets area */ +bool fbtk_clip_to_widget(fbtk_widget_t *widget, bbox_t * restrict box); |