diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-11-07 22:07:59 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2011-11-07 22:07:59 +0100 |
commit | 38d030f301cc781a56cab5724175a127f2eb1230 (patch) | |
tree | 0877238a53a230455d1074d35bed9f37b30670a8 /src/objects.h | |
parent | 90a46fb55899b37d4dc91ee0da5c45eb90b8bf76 (diff) |
Resize handles on all corners of text objects, as well
Diffstat (limited to 'src/objects.h')
-rw-r--r-- | src/objects.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/objects.h b/src/objects.h index 5b3a8b1..fd567e1 100644 --- a/src/objects.h +++ b/src/objects.h @@ -75,6 +75,16 @@ struct image }; +enum corner +{ + CORNER_NONE, + CORNER_TL, + CORNER_TR, + CORNER_BL, + CORNER_BR +}; + + extern struct image *get_image(struct image_store *is, char *filename); extern struct image_store *image_store_new(void); extern void unref_image(struct image *i); @@ -84,5 +94,6 @@ extern void notify_style_update(struct presentation *p, extern void delete_object(struct object *o); +extern enum corner which_corner(double xp, double yp, struct object *o); #endif /* OBJECTS_H */ |