diff options
author | Adam NAILI | 2018-01-01 23:36:39 +0100 |
---|---|---|
committer | Adam NAILI | 2018-01-01 23:36:39 +0100 |
commit | ff2d78256b6b2288e9a5954a49fe4babaf6400cb (patch) | |
tree | ed10145f7f49c949a57a19597251c576ef0ac5c1 /include/gui/pictureframe.h | |
parent | 8565b20b86a489b09f611ed1cd3b0ba7ac23a94a (diff) | |
download | morpher-ff2d78256b6b2288e9a5954a49fe4babaf6400cb.tar.gz |
Implementing rendering
Diffstat (limited to 'include/gui/pictureframe.h')
-rw-r--r-- | include/gui/pictureframe.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/gui/pictureframe.h b/include/gui/pictureframe.h index f06a530..7b9644e 100644 --- a/include/gui/pictureframe.h +++ b/include/gui/pictureframe.h | |||
@@ -61,16 +61,14 @@ bool pictureframe_is_selected(int x, int y, PictureFrame *pictureFrame); | |||
61 | * y - value on y axis from the origin of the window to convert | 61 | * y - value on y axis from the origin of the window to convert |
62 | * *pictureFrame - pointer to the reference pictureframe that will give his relative coordinates | 62 | * *pictureFrame - pointer to the reference pictureframe that will give his relative coordinates |
63 | */ | 63 | */ |
64 | CartesianVector pictureframe_conversion_to_origin(int x, int y, PictureFrame *pictureFrame); | 64 | CartesianVector pictureframe_conversion_to_pic(int x, int y, PictureFrame *pictureFrame); |
65 | 65 | ||
66 | CartesianVector pictureframe_conversion_to_picture(int x, int y, PictureFrame *pictureFrame); | 66 | CartesianVector pictureframe_conversion_to_origin(int x, int y, PictureFrame *pictureFrame); |
67 | 67 | ||
68 | void pictureframe_init(PictureFrame *pictureFrame, int width, int height, int x_pos, int y_pos, | 68 | void pictureframe_init(PictureFrame *pictureFrame, int width, int height, int x_pos, int y_pos, |
69 | CartesianMappingDivision cartesianMappingDivision, Morphing *morphing, Canvas *canvas, | 69 | CartesianMappingDivision cartesianMappingDivision, Morphing *morphing, Canvas *canvas, |
70 | ClickHandler clickHandler); | 70 | ClickHandler clickHandler); |
71 | 71 | ||
72 | void pictureframe_free(PictureFrame *pictureFrame); | ||
73 | |||
74 | /** | 72 | /** |
75 | * Function: pictureframe_draw_canvas | 73 | * Function: pictureframe_draw_canvas |
76 | * Draws the contained Canvas of the PictureFrame. | 74 | * Draws the contained Canvas of the PictureFrame. |