diff options
Diffstat (limited to 'desktop/selection.h')
-rw-r--r-- | desktop/selection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/selection.h b/desktop/selection.h index be916913d..a5221ed9c 100644 --- a/desktop/selection.h +++ b/desktop/selection.h @@ -62,9 +62,13 @@ void selection_reinit(struct selection *s, struct box *root); void selection_clear(struct selection *s, bool redraw); void selection_select_all(struct selection *s); + void selection_set_start(struct selection *s, struct box *box, int idx); void selection_set_end(struct selection *s, struct box *box, int idx); +struct box *selection_get_start(struct selection *s, int *pidx); +struct box *selection_get_end(struct selection *s, int *pidx); + bool selection_click(struct selection *s, struct box *box, browser_mouse_state mouse, int dx, int dy); void selection_track(struct selection *s, struct box *box, browser_mouse_state mouse, int dx, int dy); |