diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gui/button.h | 14 | ||||
-rw-r--r-- | include/gui/component.h | 4 | ||||
-rw-r--r-- | include/gui/textview.h | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/include/gui/button.h b/include/gui/button.h index 26d7970..41008c1 100644 --- a/include/gui/button.h +++ b/include/gui/button.h | |||
@@ -58,6 +58,20 @@ void button_print(Component *parameterSelf); | |||
58 | void button_click_test(int x, int y, Component *parameterSelf); | 58 | void button_click_test(int x, int y, Component *parameterSelf); |
59 | 59 | ||
60 | void button_click_add_constraint(int x, int y, Component *parameterSelf); | 60 | void button_click_add_constraint(int x, int y, Component *parameterSelf); |
61 | |||
62 | void button_click_show_hide(int x, int y, Component *parameterSelf); | ||
63 | |||
64 | void button_click_exit(int x, int y, Component *parameterSelf); | ||
65 | |||
66 | void button_click_none(int x, int y, Component *parameterSelf); | ||
67 | |||
68 | void button_click_more_frame(int x, int y, Component *parameterSelf); | ||
69 | |||
70 | void button_click_less_frame(int x, int y, Component *parameterSelf); | ||
71 | |||
72 | void button_click_rendering(int x, int y, Component *parameterSelf); | ||
73 | |||
74 | |||
61 | /** | 75 | /** |
62 | * Function: button_is_selected | 76 | * Function: button_is_selected |
63 | * Checks if the button is selected or not. | 77 | * Checks if the button is selected or not. |
diff --git a/include/gui/component.h b/include/gui/component.h index 0e8f437..0275d45 100644 --- a/include/gui/component.h +++ b/include/gui/component.h | |||
@@ -1,10 +1,12 @@ | |||
1 | #ifndef UPEM_C_COMPONENT_H | 1 | #ifndef UPEM_C_COMPONENT_H |
2 | #define UPEM_C_COMPONENT_H | 2 | #define UPEM_C_COMPONENT_H |
3 | typedef enum { | 3 | typedef enum { |
4 | WAITING_BUTTON, INSERT_ORIGIN, INSERT_TARGET,PRINTING | 4 | WAITING_BUTTON_SHOW, WAITING_BUTTON_HIDE, INSERT_ORIGIN, INSERT_TARGET, PRINTING, EXITING, PRINTING_BUTTONS, RENDERING |
5 | } Mode; | 5 | } Mode; |
6 | 6 | ||
7 | extern Mode mode; | 7 | extern Mode mode; |
8 | extern int frame; | ||
9 | extern char labelFrame[20]; | ||
8 | /** | 10 | /** |
9 | * File: component.h | 11 | * File: component.h |
10 | * Windows and components handling. | 12 | * Windows and components handling. |
diff --git a/include/gui/textview.h b/include/gui/textview.h index 7a07eb3..7414336 100644 --- a/include/gui/textview.h +++ b/include/gui/textview.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef UPEM_MORPHING_TEXTVIEW | 1 | #ifndef UPEM_MORPHING_TEXTVIEW |
2 | #define UPEM_MORPHING_TEXTVIEW | 2 | #define UPEM_MORPHING_TEXTVIEW |
3 | 3 | ||
4 | #include "component.h" | ||
5 | |||
4 | /** | 6 | /** |
5 | * File: textview.h | 7 | * File: textview.h |
6 | */ | 8 | */ |