This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUIDesign.h
99 lines (83 loc) · 6.94 KB
/
GUIDesign.h
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File */
/* */
/* WARNING: Do not add to, delete from, or otherwise modify the contents */
/* of this include file. */
/**************************************************************************/
#include <userint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Panels and Controls: */
#define PANEL 1 /* callback function: PANEL_CALLBACK */
#define PANEL_TIMETABLE 2 /* control type: table, callback function: TIMETABLE_CALLBACK */
#define PANEL_ANALOGTABLE 3 /* control type: table, callback function: ANALOGTABLE_CALLBACK */
#define PANEL_DIGTABLE 4 /* control type: table, callback function: DIGTABLE_CALLBACK */
#define PANEL_CMD_SCAN 5 /* control type: command, callback function: CMD_SCAN_CALLBACK */
#define PANEL_CMD_RUN 6 /* control type: command, callback function: CMD_RUN_CALLBACK */
#define PANEL_TOGGLEREPEAT 7 /* control type: textButton, callback function: (none) */
#define PANEL_CMDSTOP 8 /* control type: command, callback function: CMDSTOP_CALLBACK */
#define PANEL_TBL_ANALOGUNITS 9 /* control type: table, callback function: (none) */
#define PANEL_TBL_DIGNAMES 10 /* control type: table, callback function: (none) */
#define PANEL_TBL_ANAMES 11 /* control type: table, callback function: (none) */
#define PANEL_TIMER 12 /* control type: timer, callback function: TIMER_CALLBACK */
#define PANEL_SCAN_TABLE 13 /* control type: table, callback function: (none) */
#define PANEL_CMD_COMMENTS 14 /* control type: command, callback function: CMD_COMMENTS_CALLBACK */
#define SUBPANEL2 2
#define SUBPANEL2_NUM_SCANITER 2 /* control type: numeric, callback function: (none) */
#define SUBPANEL2_NUM_SCANSTEP 3 /* control type: numeric, callback function: (none) */
#define SUBPANEL2_NUM_SCANVAL 4 /* control type: numeric, callback function: (none) */
/* Control Arrays: */
/* (no control arrays in the resource file) */
/* Menu Bars, Menus, and Menu Items: */
#define MENU 1
#define MENU_FILE 2
#define MENU_FILE_LOADSET 3 /* callback function: MENU_CALLBACK */
#define MENU_FILE_SAVESET 4 /* callback function: MENU_CALLBACK */
#define MENU_FILE_MENU_EXPORT_CHANNEL 5 /* callback function: CONFIG_EXPORT_CALLBACK */
#define MENU_FILE_MENU_EXPORT_PANEL 6 /* callback function: EXPORT_PANEL_CALLBACK */
#define MENU_FILE_EXPORT_PYTHON 7 /* callback function: EXPORT_PYTHON_CALLBACK */
#define MENU_FILE_QuitCallback 8 /* callback function: EXIT */
#define MENU_SETTINGS 9
#define MENU_SETTINGS_ANALOG 10 /* callback function: ANALOGSET_CALLBACK */
#define MENU_SETTINGS_DIGITAL 11 /* callback function: DIGITALSET_CALLBACK */
#define MENU_SETTINGS_BOOTADWIN 12 /* callback function: BOOTADWIN_CALLBACK */
#define MENU_SETTINGS_CLEARPANEL 13 /* callback function: CLEARPANEL_CALLBACK */
#define MENU_SETTINGS_SCANSETTING 14 /* callback function: SCANSETTING_CALLBACK */
#define MENU_EDITMATRIX 15
#define MENU_EDITMATRIX_INSERTCOLUMN 16 /* callback function: INSERTCOLUMN_CALLBACK */
#define MENU_EDITMATRIX_DELETECOLUMN 17 /* callback function: DELETECOLUMN_CALLBACK */
#define MENU_EDITMATRIX_COPYCOLUMN 18 /* callback function: COPYCOLUMN_CALLBACK */
#define MENU_EDITMATRIX_PASTECOLUMN 19 /* callback function: PASTECOLUMN_CALLBACK */
#define MENU_PREFS 20
#define MENU_PREFS_COMPRESSION 21 /* callback function: COMPRESSION_CALLBACK */
#define MENU_PREFS_SIMPLETIMING 22 /* callback function: SIMPLETIMING_CALLBACK */
/* Callback Prototypes: */
void CVICALLBACK ANALOGSET_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK ANALOGTABLE_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK BOOTADWIN_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK CLEARPANEL_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK CMD_COMMENTS_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK CMD_RUN_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK CMD_SCAN_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK CMDSTOP_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK COMPRESSION_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK CONFIG_EXPORT_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK COPYCOLUMN_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK DELETECOLUMN_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK DIGITALSET_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK DIGTABLE_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK EXIT(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK EXPORT_PANEL_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK EXPORT_PYTHON_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK INSERTCOLUMN_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK MENU_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK PANEL_CALLBACK(int panel, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK PASTECOLUMN_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK SCANSETTING_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK SIMPLETIMING_CALLBACK(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK TIMER_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK TIMETABLE_CALLBACK(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
#ifdef __cplusplus
}
#endif