diff options
author | Adam NAILI | 2017-12-22 19:14:55 +0100 |
---|---|---|
committer | Adam NAILI | 2017-12-22 19:14:55 +0100 |
commit | e84ae1203b8cd7a51d93ec77a5a2663e7496eef5 (patch) | |
tree | d36be9a638c10833c94a7e3fa9d17f3e6fec4d8a /include/gui | |
parent | 629928d374812c69392879a6c4aca5d6479c33cb (diff) | |
download | morpher-e84ae1203b8cd7a51d93ec77a5a2663e7496eef5.tar.gz |
Adding asserts, modifying signatures of function for more precise type, implementing window_add functions, window_print functions
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/window.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/gui/window.h b/include/gui/window.h index 3212a49..329997b 100644 --- a/include/gui/window.h +++ b/include/gui/window.h | |||
@@ -11,6 +11,8 @@ | |||
11 | 11 | ||
12 | #include "group.h" | 12 | #include "group.h" |
13 | #include "component.h" | 13 | #include "component.h" |
14 | #include "button.h" | ||
15 | #include "pictureframe.h" | ||
14 | 16 | ||
15 | /** | 17 | /** |
16 | * Struct: Window | 18 | * Struct: Window |
@@ -57,9 +59,9 @@ void window_free(Window *window); | |||
57 | * | 59 | * |
58 | * Parameters: | 60 | * Parameters: |
59 | * *window - pointer to the input window | 61 | * *window - pointer to the input window |
60 | * *component - pointer to the input component | 62 | * *button - pointer to the input button |
61 | */ | 63 | */ |
62 | void window_add_button(Window *window, Component *component); | 64 | void window_add_button(Window *window, Button *button); |
63 | 65 | ||
64 | /** | 66 | /** |
65 | * Function: window_add_pictureframe | 67 | * Function: window_add_pictureframe |
@@ -67,9 +69,9 @@ void window_add_button(Window *window, Component *component); | |||
67 | * | 69 | * |
68 | * Parameters: | 70 | * Parameters: |
69 | * *window - pointer to the input window | 71 | * *window - pointer to the input window |
70 | * *component - pointer to the input component | 72 | * *pictureFrame - pointer to the input picture frame |
71 | */ | 73 | */ |
72 | void window_add_pictureframe(Window *window, Component *component); | 74 | void window_add_pictureframe(Window *window, PictureFrame *pictureFrame); |
73 | 75 | ||
74 | /** | 76 | /** |
75 | * Function: window_create | 77 | * Function: window_create |