diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common/time.h | 2 | ||||
-rw-r--r-- | include/gui/button.h | 8 | ||||
-rw-r--r-- | include/gui/component.h | 2 | ||||
-rw-r--r-- | include/gui/group.h | 3 | ||||
-rw-r--r-- | include/gui/pictureframe.h | 8 | ||||
-rw-r--r-- | include/gui/textview.h | 3 | ||||
-rw-r--r-- | include/gui/window.h | 8 |
7 files changed, 17 insertions, 17 deletions
diff --git a/include/common/time.h b/include/common/time.h index bd50533..3024cde 100644 --- a/include/common/time.h +++ b/include/common/time.h | |||
@@ -11,7 +11,7 @@ | |||
11 | * Pacien TRAN-GIRARD | 11 | * Pacien TRAN-GIRARD |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "geom.h" | 14 | #include "common/geom.h" |
15 | 15 | ||
16 | /** | 16 | /** |
17 | * Constants: Time vectors | 17 | * Constants: Time vectors |
diff --git a/include/gui/button.h b/include/gui/button.h index c447328..1b82a7f 100644 --- a/include/gui/button.h +++ b/include/gui/button.h | |||
@@ -1,5 +1,6 @@ | |||
1 | #ifndef UPEM_MORPHING_BUTTON | 1 | #ifndef UPEM_MORPHING_BUTTON |
2 | #define UPEM_MORPHING_BUTTON | 2 | #define UPEM_MORPHING_BUTTON |
3 | |||
3 | /** | 4 | /** |
4 | * File: button.h | 5 | * File: button.h |
5 | * Buttons handling | 6 | * Buttons handling |
@@ -8,7 +9,7 @@ | |||
8 | * Adam NAILI | 9 | * Adam NAILI |
9 | */ | 10 | */ |
10 | 11 | ||
11 | #include "component.h" | 12 | #include "gui/component.h" |
12 | 13 | ||
13 | /** | 14 | /** |
14 | * Struct: Button | 15 | * Struct: Button |
@@ -39,8 +40,7 @@ typedef struct { | |||
39 | * Returns: | 40 | * Returns: |
40 | * A pointer of Button | 41 | * A pointer of Button |
41 | */ | 42 | */ |
42 | Button * | 43 | Button *button_create(const char *text, int sizeInterligne, int x_pos, int y_pos, ClickHandler clickHandler); |
43 | button_create(const char *text, int sizeInterligne, int x_pos, int y_pos, ClickHandler clickHandler); | ||
44 | 44 | ||
45 | /** | 45 | /** |
46 | * Function: button_destroy | 46 | * Function: button_destroy |
@@ -95,7 +95,6 @@ void button_click_exit(int x, int y, Component *parameterSelf); | |||
95 | */ | 95 | */ |
96 | void button_click_none(int x, int y, Component *parameterSelf); | 96 | void button_click_none(int x, int y, Component *parameterSelf); |
97 | 97 | ||
98 | |||
99 | /** | 98 | /** |
100 | * Function: button_click_more_frame | 99 | * Function: button_click_more_frame |
101 | * Multiplies by two the number of frames to create when rendering. | 100 | * Multiplies by two the number of frames to create when rendering. |
@@ -129,5 +128,4 @@ void button_click_less_frame(int x, int y, Component *parameterSelf); | |||
129 | */ | 128 | */ |
130 | void button_click_rendering(int x, int y, Component *parameterSelf); | 129 | void button_click_rendering(int x, int y, Component *parameterSelf); |
131 | 130 | ||
132 | |||
133 | #endif | 131 | #endif |
diff --git a/include/gui/component.h b/include/gui/component.h index f545bbc..895e9ba 100644 --- a/include/gui/component.h +++ b/include/gui/component.h | |||
@@ -67,4 +67,4 @@ typedef struct Component { | |||
67 | PrintMethod print_method; | 67 | PrintMethod print_method; |
68 | } Component; | 68 | } Component; |
69 | 69 | ||
70 | #endif //UPEM_C_COMPONENT_H | 70 | #endif |
diff --git a/include/gui/group.h b/include/gui/group.h index 1006c74..19dd319 100644 --- a/include/gui/group.h +++ b/include/gui/group.h | |||
@@ -9,7 +9,7 @@ | |||
9 | * Adam NAILI | 9 | * Adam NAILI |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "component.h" | 12 | #include "gui/component.h" |
13 | 13 | ||
14 | /** | 14 | /** |
15 | * Struct: _GroupElement | 15 | * Struct: _GroupElement |
@@ -93,5 +93,4 @@ void group_free(Group *group); | |||
93 | */ | 93 | */ |
94 | void group_add_component(Group *group, Component *component); | 94 | void group_add_component(Group *group, Component *component); |
95 | 95 | ||
96 | |||
97 | #endif | 96 | #endif |
diff --git a/include/gui/pictureframe.h b/include/gui/pictureframe.h index f6edbf6..0432b1c 100644 --- a/include/gui/pictureframe.h +++ b/include/gui/pictureframe.h | |||
@@ -8,11 +8,14 @@ | |||
8 | * Adam NAILI | 8 | * Adam NAILI |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include "gui/component.h" | ||
11 | #include "morpher/morphing.h" | 12 | #include "morpher/morphing.h" |
12 | #include "painter/canvas.h" | 13 | #include "painter/canvas.h" |
13 | #include "component.h" | ||
14 | 14 | ||
15 | /*Needed storage point to share memory between the origin PictureFrame and the target PictureFrame. It ables to cancel the Add constraint functionality*/ | 15 | /* |
16 | * Needed storage point to share memory between the origin PictureFrame and the target PictureFrame. | ||
17 | * It ables to cancel the Add constraint functionality | ||
18 | */ | ||
16 | CartesianVector savedPoint; | 19 | CartesianVector savedPoint; |
17 | 20 | ||
18 | /** | 21 | /** |
@@ -118,5 +121,4 @@ void pictureframe_click_handler_origin(int x_pos, int y_pos, Component *paramete | |||
118 | */ | 121 | */ |
119 | void pictureframe_click_handler_target(int x_pos, int y_pos, Component *parameterSelf); | 122 | void pictureframe_click_handler_target(int x_pos, int y_pos, Component *parameterSelf); |
120 | 123 | ||
121 | |||
122 | #endif | 124 | #endif |
diff --git a/include/gui/textview.h b/include/gui/textview.h index 91106c0..ff41e7e 100644 --- a/include/gui/textview.h +++ b/include/gui/textview.h | |||
@@ -7,7 +7,8 @@ | |||
7 | * Author: | 7 | * Author: |
8 | * Adam NAILI | 8 | * Adam NAILI |
9 | */ | 9 | */ |
10 | #include "component.h" | 10 | |
11 | #include "gui/component.h" | ||
11 | 12 | ||
12 | typedef struct { | 13 | typedef struct { |
13 | Component component; | 14 | Component component; |
diff --git a/include/gui/window.h b/include/gui/window.h index 612da28..c3da3e4 100644 --- a/include/gui/window.h +++ b/include/gui/window.h | |||
@@ -9,10 +9,10 @@ | |||
9 | * Adam NAILI | 9 | * Adam NAILI |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include "MLV/MLV_keyboard.h" | 12 | #include <MLV/MLV_keyboard.h> |
13 | #include "group.h" | 13 | #include "gui/group.h" |
14 | #include "button.h" | 14 | #include "gui/button.h" |
15 | #include "pictureframe.h" | 15 | #include "gui/pictureframe.h" |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * Struct: Window | 18 | * Struct: Window |