📄 sample6.h
字号:
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File */
/* Copyright (c) National Instruments 2002. All Rights Reserved. */
/* */
/* 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: PanelCallback */
#define PANEL_STRING 2
#define PANEL_COLORNUM 3
/* Menu Bars, Menus, and Menu Items: */
#define MENU 1
#define MENU_FILE 2
#define MENU_FILE_NEW 3 /* callback function: NewFile */
#define MENU_FILE_LOAD 4 /* callback function: LoadFile */
#define MENU_FILE_SAVE 5 /* callback function: SaveFile */
#define MENU_FILE_SEPARATOR 6
#define MENU_FILE_ABOVEEXITLINE 7
#define MENU_FILE_QUIT 8 /* callback function: Shutdown */
#define MENU_STYLE 9
#define MENU_STYLE_FRAMECOLOR 10 /* callback function: ColorStyle */
#define MENU_STYLE_TEXTCOLOR 11 /* callback function: ColorStyle */
#define MENU_COLOR 12
#define MENU_COLOR_BLACK 13 /* callback function: ColorSetting */
#define MENU_COLOR_BLUE 14 /* callback function: ColorSetting */
#define MENU_COLOR_GREEN 15 /* callback function: ColorSetting */
#define MENU_COLOR_CYAN 16 /* callback function: ColorSetting */
#define MENU_COLOR_RED 17 /* callback function: ColorSetting */
#define MENU_COLOR_MAGENTA 18 /* callback function: ColorSetting */
#define MENU_COLOR_YELLOW 19 /* callback function: ColorSetting */
#define MENU_COLOR_WHITE 20 /* callback function: ColorSetting */
#define MENU_HELP 21
#define MENU_HELP_CONTENT 22 /* callback function: Content */
#define MENU_HELP_ABOUT 23 /* callback function: About */
/* Callback Prototypes: */
void CVICALLBACK About(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK ColorSetting(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK ColorStyle(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK Content(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK LoadFile(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK NewFile(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK PanelCallback(int panel, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK SaveFile(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK Shutdown(int menubar, int menuItem, void *callbackData, int panel);
#ifdef __cplusplus
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -