?? mediaplayer.h
字號:
/**************************************************************************/
/* LabWindows/CVI User Interface Resource (UIR) Include File */
/* Copyright (c) National Instruments 2008. 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: panelCB */
#define PANEL_WINDOWSMEDIAPLAYER 2 /* callback function: mediaplayer */
#define PANEL_TIMER 3 /* callback function: timer */
#define PANEL_ABOU 2
#define PANEL_ABOU_TIMER 2 /* callback function: marquee */
#define PANEL_ABOU_TEXTMSG 3
#define PANEL_ABOU_CANVAS 4
#define PANEL_ABOU_BTN_SHUT 5 /* callback function: shutaboutpanel */
#define PANEL_OPEN 3
#define PANEL_OPEN_CANVAS 2
#define PANEL_OPEN_BTN_FILEURL 3 /* callback function: fileurl */
#define PANEL_OPEN_BTN_CANCEL 4 /* callback function: cancel */
#define PANEL_OPEN_BTN_OPENFILE 5 /* callback function: openfile */
#define PANEL_OPEN_TEXTMSG 6
#define PANEL_OPEN_STRING_OPENFILE 7 /* callback function: openfile */
/* Menu Bars, Menus, and Menu Items: */
#define MENUBAR 1
#define MENUBAR_FILE 2
#define MENUBAR_FILE_FILEOPEN 3 /* callback function: fileopen */
#define MENUBAR_FILE_FILEOPENURL 4 /* callback function: fileopenurl */
#define MENUBAR_FILE_SEPARATOR 5
#define MENUBAR_FILE_FILESAVEAS 6 /* callback function: filesaveas */
#define MENUBAR_FILE_SEPARATOR_2 7
#define MENUBAR_FILE_FILESHUT 8 /* callback function: fileshut */
#define MENUBAR_FILE_SEPARATOR_3 9
#define MENUBAR_FILE_FILEEXIT 10 /* callback function: fileexit */
#define MENUBAR_VIEW 11
#define MENUBAR_VIEW_MENUBARSEL 12
#define MENUBAR_VIEW_MENUBARSEL_SUBMENU 13
#define MENUBAR_VIEW_MENUBARSEL_VISIBLE 14 /* callback function: menubarvisible */
#define MENUBAR_VIEW_MENUBARSEL_HIDE 15 /* callback function: meunbarhide */
#define MENUBAR_VIEW_SEPARATOR_4 16
#define MENUBAR_VIEW_FULLSIZE 17 /* callback function: fullsize */
#define MENUBAR_VIEW_SIZE 18
#define MENUBAR_VIEW_SIZE_SUBMENU 19
#define MENUBAR_VIEW_SIZE_SIZEORIGINAL 20 /* callback function: sizeoriginal */
#define MENUBAR_VIEW_SIZE_SIZEFIT 21 /* callback function: sizefit */
#define MENUBAR_VIEW_STARTSIZE 22 /* callback function: startsize */
#define MENUBAR_PLAY 23
#define MENUBAR_PLAY_PLAYPAUSE 24 /* callback function: playpause */
#define MENUBAR_PLAY_STOP 25 /* callback function: stop */
#define MENUBAR_PLAY_SEPARATOR_5 26
#define MENUBAR_PLAY_VOLUME 27
#define MENUBAR_PLAY_VOLUME_SUBMENU 28
#define MENUBAR_PLAY_VOLUME_BIG 29 /* callback function: big */
#define MENUBAR_PLAY_VOLUME_DEC 30 /* callback function: dec */
#define MENUBAR_PLAY_VOLUME_MUTE 31 /* callback function: mute */
#define MENUBAR_PLAY_SPEED 32
#define MENUBAR_PLAY_SPEED_SUBMENU 33
#define MENUBAR_PLAY_SPEED_FAST 34 /* callback function: fast */
#define MENUBAR_PLAY_SPEED_NORMAL 35 /* callback function: normal */
#define MENUBAR_PLAY_SPEED_SLOW 36 /* callback function: slow */
#define MENUBAR_PLAY_SEPARATOR_6 37
#define MENUBAR_PLAY_BACK 38 /* callback function: back */
#define MENUBAR_PLAY_FRONT 39 /* callback function: front */
#define MENUBAR_CONTROL 40
#define MENUBAR_CONTROL_ALWAYSTOP 41 /* callback function: alwaystop */
#define MENUBAR_CONTROL_SEPARATOR_7 42
#define MENUBAR_CONTROL_EJECT 43 /* callback function: eject */
#define MENUBAR_CONTROL_CLOSE 44 /* callback function: close */
#define MENUBAR_HELP 45
#define MENUBAR_HELP_ABOUT 46 /* callback function: about */
/* Callback Prototypes: */
void CVICALLBACK about(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK alwaystop(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK back(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK big(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK cancel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK close(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK dec(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK eject(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK fast(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK fileexit(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK fileopen(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK fileopenurl(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK filesaveas(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK fileshut(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK fileurl(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK front(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK fullsize(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK marquee(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK mediaplayer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK menubarvisible(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK meunbarhide(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK mute(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK normal(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK openfile(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
int CVICALLBACK panelCB(int panel, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK playpause(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK shutaboutpanel(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
void CVICALLBACK sizefit(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK sizeoriginal(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK slow(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK startsize(int menubar, int menuItem, void *callbackData, int panel);
void CVICALLBACK stop(int menubar, int menuItem, void *callbackData, int panel);
int CVICALLBACK timer(int panel, int control, int event, void *callbackData, int eventData1, int eventData2);
#ifdef __cplusplus
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -