diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-05-27 23:41:09 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-05-27 23:41:09 +0200 |
commit | 1a9db7758e2895c9f9efc31d796147add495ffcc (patch) | |
tree | d7f89ff83388c26cf555138d060d20fa109763d8 /src/presentation.h | |
parent | 8d46c23cb332f7f3b875bfa670fd2d1a5f0b21c1 (diff) |
Selection/resize stuff
Diffstat (limited to 'src/presentation.h')
-rw-r--r-- | src/presentation.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/presentation.h b/src/presentation.h index 533ee10..f0e3071 100644 --- a/src/presentation.h +++ b/src/presentation.h @@ -56,6 +56,17 @@ enum drag_reason DRAG_REASON_NONE, DRAG_REASON_CREATE, DRAG_REASON_IMPORT, + DRAG_REASON_RESIZE, +}; + + +enum corner +{ + CORNER_NONE, + CORNER_TL, + CORNER_TR, + CORNER_BL, + CORNER_BR }; @@ -125,8 +136,14 @@ struct presentation double start_corner_y; double drag_corner_x; double drag_corner_y; + double diagonal_length; + double box_x; + double box_y; + double box_width; + double box_height; enum drag_reason drag_reason; enum drag_status drag_status; + enum corner drag_corner; /* Stuff to do with drag and drop import of "content" */ int drag_preview_pending; |