From 9ed3c28a0335137d34e51d5fd49be6e523f65a89 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Thu, 28 Dec 2017 22:52:28 +0100 Subject: Implementing the add constraint feature, need to be fixed --- include/gui/button.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/gui/button.h') diff --git a/include/gui/button.h b/include/gui/button.h index 6f91e37..26d7970 100644 --- a/include/gui/button.h +++ b/include/gui/button.h @@ -1,6 +1,5 @@ #ifndef UPEM_MORPHING_BUTTON #define UPEM_MORPHING_BUTTON - /** * File: button.h * Buttons handling @@ -58,6 +57,7 @@ void button_print(Component *parameterSelf); */ void button_click_test(int x, int y, Component *parameterSelf); +void button_click_add_constraint(int x, int y, Component *parameterSelf); /** * Function: button_is_selected * Checks if the button is selected or not. @@ -70,6 +70,7 @@ void button_click_test(int x, int y, Component *parameterSelf); * Returns: * A bool from stdbool */ + bool button_is_selected(int x, int y, Button *button); #endif -- cgit v1.2.3