UI_control.h
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
********************************************************************
* @file UI_control.h
* UI_control的头文件
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_UI_CONTROL_H
#define JZSDK_UI_CONTROL_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#include "UI_control/Psdk_ui_value_menu.h"
#include "UI_control/UI_Api.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/********************
*
* 完整路径 假设
* /root/Configs/DJI_widget_file/cn/widget_file/cn_big_screen
* /root/Configs/DJI_widget_file/en/widget_file/cn_big_screen
* /root/Configs/DJI_widget_file/debug/widget_file/cn_big_screen
*
* 其中 /root/Configs/DJI_widget_file 是对应的psdk给出的路径
* cn en debug 是对应的语言
* widget_file/cn_big_screen 是对应的文件,也有psdk给出
*
* **************/
typedef struct T_JZsdkUIJson
{
unsigned char BaseDir[256];
unsigned char DebugDir[256];
int HaveSetFlag;
}T_JZsdkUIJson;
typedef struct T_JZsdkUicontrol{
T_JZsdkUIJson UI_Json;
}T_JZsdkUicontrol;
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode UI_control_Init(T_JZsdkUicontrol t_UI_control);
T_JZsdkReturnCode UI_control_Get(T_JZsdkUicontrol *t_UI_control);
#ifdef __cplusplus
}
#endif
#endif