summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gui/button.h14
-rw-r--r--include/gui/component.h4
-rw-r--r--include/gui/textview.h2
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);
58void button_click_test(int x, int y, Component *parameterSelf); 58void button_click_test(int x, int y, Component *parameterSelf);
59 59
60void button_click_add_constraint(int x, int y, Component *parameterSelf); 60void button_click_add_constraint(int x, int y, Component *parameterSelf);
61
62void button_click_show_hide(int x, int y, Component *parameterSelf);
63
64void button_click_exit(int x, int y, Component *parameterSelf);
65
66void button_click_none(int x, int y, Component *parameterSelf);
67
68void button_click_more_frame(int x, int y, Component *parameterSelf);
69
70void button_click_less_frame(int x, int y, Component *parameterSelf);
71
72void 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
3typedef enum { 3typedef 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
7extern Mode mode; 7extern Mode mode;
8extern int frame;
9extern 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 */