From 2bf31463b7fb1649d89a9d948dc9adf56ebc8d81 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Tue, 12 Dec 2017 13:25:12 +0100 Subject: Successful test of initializing and beta printing of the group_buttons that held window --- test/gui/group.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/gui/group.c (limited to 'test') 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 @@ +#include +#include +#include "MLV/MLV_all.h" + + +static void test_group() { + Window window; + window_init(&window, 1000, 512, "Coucou"); + window_create(&window); + window.group_buttons->component.print_method(window.group_pictureframe); + MLV_wait_seconds(5); + window_free(&window); +} + +int main() { + test_group(); + return 0; +} \ No newline at end of file -- cgit v1.2.3