diff options
author | Adam NAILI | 2017-12-12 13:25:12 +0100 |
---|---|---|
committer | Adam NAILI | 2017-12-12 13:25:12 +0100 |
commit | 2bf31463b7fb1649d89a9d948dc9adf56ebc8d81 (patch) | |
tree | 41313737397ff003a1dd37e7b3a774117aea8a01 /test | |
parent | e96c998be9e867e328d393966a60599dc3c37e3a (diff) | |
download | morpher-2bf31463b7fb1649d89a9d948dc9adf56ebc8d81.tar.gz |
Successful test of initializing and beta printing of the group_buttons that held window
Diffstat (limited to 'test')
-rw-r--r-- | test/gui/group.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/gui/group.c b/test/gui/group.c new file mode 100644 index 0000000..e3d25f3 --- /dev/null +++ b/test/gui/group.c | |||
@@ -0,0 +1,18 @@ | |||
1 | #include <gui/group.h> | ||
2 | #include <gui/window.h> | ||
3 | #include "MLV/MLV_all.h" | ||
4 | |||
5 | |||
6 | static void test_group() { | ||
7 | Window window; | ||
8 | window_init(&window, 1000, 512, "Coucou"); | ||
9 | window_create(&window); | ||
10 | window.group_buttons->component.print_method(window.group_pictureframe); | ||
11 | MLV_wait_seconds(5); | ||
12 | window_free(&window); | ||
13 | } | ||
14 | |||
15 | int main() { | ||
16 | test_group(); | ||
17 | return 0; | ||
18 | } \ No newline at end of file | ||