summaryrefslogtreecommitdiff
path: root/include/gui/component.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/component.h')
-rw-r--r--include/gui/component.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/gui/component.h b/include/gui/component.h
index 0275d45..9700dfe 100644
--- a/include/gui/component.h
+++ b/include/gui/component.h
@@ -1,5 +1,18 @@
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
4/**
5 * Enum: Mode
6 *
7 * WAITING_BUTTON_SHOW - Waits a click on buttons to perform actions and paints the constraint points on the GUI
8 * WAITING_BUTTON_HIDE - Waits a click on buttons to perform actions and does not print the constraint points on the GUI
9 * INSERT_ORIGIN - Waits a click on the origin pictureframe and lock other components
10 * INSERT_TARGET - Waits a click on the target pictureframe and lock other components
11 * PRINTING - Force the application to paint the pictureframes
12 * EXITING - Exits the programme
13 * PRINTING_BUTTONS - paints the buttons
14 * RENDERING - launches the rendering mode
15 */
3typedef enum { 16typedef enum {
4 WAITING_BUTTON_SHOW, WAITING_BUTTON_HIDE, INSERT_ORIGIN, INSERT_TARGET, PRINTING, EXITING, PRINTING_BUTTONS, RENDERING 17 WAITING_BUTTON_SHOW, WAITING_BUTTON_HIDE, INSERT_ORIGIN, INSERT_TARGET, PRINTING, EXITING, PRINTING_BUTTONS, RENDERING
5} Mode; 18} Mode;