summaryrefslogtreecommitdiffstats
path: root/ui/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/internal.h')
-rw-r--r--ui/internal.h29
1 files changed, 4 insertions, 25 deletions
diff --git a/ui/internal.h b/ui/internal.h
index 8448fb5..64ee978 100644
--- a/ui/internal.h
+++ b/ui/internal.h
@@ -1,34 +1,13 @@
#ifndef _RCC_UI_INTERNAL_H
#define _RCC_UI_INTERNAL_H
-#include "../src/librcc.h"
-#include "librccui.h"
+#define RCC_UI_MAX_STRING_CHARS 1024
-typedef unsigned int rcc_ui_id;
-
-typedef void *rcc_ui_menu_internal;
+#include <librcc.h>
-enum rcc_ui_menu_type_t {
- RCC_UI_MENU_LANGUAGE = 0,
- RCC_UI_MENU_CHARSET,
- RCC_UI_MENU_ENGINE,
- RCC_UI_MENU_OPTION,
- RCC_UI_MENU_MAX
-};
-typedef enum rcc_ui_menu_type_t rcc_ui_menu_type;
+#include "rccmenu.h"
-struct rcc_ui_menu_context_t {
- rcc_ui_widget widget;
- rcc_ui_box box;
-
- rcc_ui_context uictx;
- rcc_ui_menu_type type;
- rcc_ui_id id;
-
- rcc_ui_menu_internal internal;
-};
-typedef struct rcc_ui_menu_context_t rcc_ui_menu_context_s;
-typedef struct rcc_ui_menu_context_t *rcc_ui_menu_context;
+typedef unsigned int rcc_ui_id;
typedef void *rcc_ui_frame_internal;