• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef HIGV_CEXTFILE_H
16 #define HIGV_CEXTFILE_H
17 
18 #include "hi_gv.h"
19 
20 #ifdef __cplusplus
21 #if __cplusplus
22 extern "C" {
23 #endif
24 #endif /*  __cplusplus  */
25 
26 #define BUTTON_WIN (1)
27 #define BUTTON_WIN_BUTTON1 (3)
28 #define ADM_SET_STRINGID (6)
29 #define SIMHEI_FONT_TEXT_30 (5)
30 #define SIMHEI_FONT_TEXT_20 (7)
31 #define IMAGE_WIN (8)
32 #define PNG_IMAGE (9)
33 #define JPG_IMAGE (10)
34 #define BMP_IMAGE (11)
35 #define SHOW_IMAGE (12)
36 #define LABEL_WIN (13)
37 #define LABEL_WIN_LABEL (14)
38 #define LISTBOX_WIN (16)
39 #define LISTBOX_WIN_LISTBOX1 (17)
40 #define MAIN_WIN_LISTBOX1_LISTCOL1 (21)
41 #define SCROLLVIEW_WIN (22)
42 #define SCROLLVIEW_WIN_SCROLLVIEW1 (23)
43 #define CHILDBUTTON_01 (24)
44 #define CHILDBUTTON_02 (27)
45 #define CHILDBUTTON_03 (28)
46 #define CHILDBUTTON_04 (29)
47 #define CHILDBUTTON_05 (30)
48 #define CHILDBUTTON_06 (31)
49 #define GROUP_SKIN (2)
50 #define COMMON_SKIN (32)
51 #define LABEL_SKIN (15)
52 #define BUTTON_SKIN (33)
53 #define LIST_NORMAL_SKIN (4)
54 #define LIST_ACTIVE_SKIN (18)
55 #define LISTBOX_SELECT_SKIN (19)
56 #define LISTBOX_ROW_NORMAL (20)
57 #define BUTTON_NORMAL_SKIN (25)
58 #define BUTTON_ACTIVE_SKIN (26)
59 
60 extern HIGV_MSG_PROC g_pfunHIGVAppEventFunc[18];
61 
62 extern HI_S32 BUTTON_WIN_Onrefresh(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
63 extern HI_S32 BUTTON_WIN_Ontimer(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
64 extern HI_S32 BUTTON_WIN_Onhide(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
65 extern HI_S32 IMAGE_WIN_Onshow(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
66 extern HI_S32 IMAGE_WIN_Onhide(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
67 extern HI_S32 IMAGE_WIN_Ontimer(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
68 extern HI_S32 LABEL_WIN_Onrefresh(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
69 extern HI_S32 LABEL_WIN_Ontimer(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
70 extern HI_S32 LABEL_WIN_Onhide(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
71 extern HI_S32 LISTBOX_WIN_Onshow(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
72 extern HI_S32 LISTBOX_WIN_Onrefresh(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
73 extern HI_S32 LISTBOX_WIN_Ontimer(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
74 extern HI_S32 LISTBOX_WIN_Onhide(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
75 extern HI_S32 SCROLLVIEW_WIN_Onshow(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
76 extern HI_S32 SCROLLVIEW_WIN_Onrefresh(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
77 extern HI_S32 SCROLLVIEW_WIN_Ontimer(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
78 extern HI_S32 SCROLLVIEW_WIN_Onhide(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
79 extern HI_S32 OnViewMoveListener(HI_HANDLE widget, HI_PARAM wParam, HI_PARAM lParam);
80 
81 #ifdef __cplusplus
82 #if __cplusplus
83 }
84 #endif
85 #endif /*  __cplusplus  */
86 
87 #endif  /* HIGV_CEXTFILE_H */
88 
89