summaryrefslogtreecommitdiff
path: root/include/gui/button.h
diff options
context:
space:
mode:
authorAdam NAILI2017-12-28 22:52:28 +0100
committerAdam NAILI2017-12-28 22:52:28 +0100
commit9ed3c28a0335137d34e51d5fd49be6e523f65a89 (patch)
tree1abc903ff235f921eecadcbb68fe7a37449274e0 /include/gui/button.h
parent9e4eb30f33867bcb37d5accfb5588cfb3b450f90 (diff)
downloadmorpher-9ed3c28a0335137d34e51d5fd49be6e523f65a89.tar.gz
Implementing the add constraint feature, need to be fixed
Diffstat (limited to 'include/gui/button.h')
-rw-r--r--include/gui/button.h3
1 files changed, 2 insertions, 1 deletions
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 @@
1#ifndef UPEM_MORPHING_BUTTON 1#ifndef UPEM_MORPHING_BUTTON
2#define UPEM_MORPHING_BUTTON 2#define UPEM_MORPHING_BUTTON
3
4/** 3/**
5 * File: button.h 4 * File: button.h
6 * Buttons handling 5 * Buttons handling
@@ -58,6 +57,7 @@ void button_print(Component *parameterSelf);
58 */ 57 */
59void button_click_test(int x, int y, Component *parameterSelf); 58void button_click_test(int x, int y, Component *parameterSelf);
60 59
60void button_click_add_constraint(int x, int y, Component *parameterSelf);
61/** 61/**
62 * Function: button_is_selected 62 * Function: button_is_selected
63 * Checks if the button is selected or not. 63 * Checks if the button is selected or not.
@@ -70,6 +70,7 @@ void button_click_test(int x, int y, Component *parameterSelf);
70 * Returns: 70 * Returns:
71 * A bool from stdbool 71 * A bool from stdbool
72 */ 72 */
73
73bool button_is_selected(int x, int y, Button *button); 74bool button_is_selected(int x, int y, Button *button);
74 75
75#endif 76#endif