home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
videotlk.zip
/
SAMPLES
/
EX5
/
EX5.H
< prev
next >
Wrap
Text File
|
1999-02-25
|
5KB
|
122 lines
/*------------------------------------------------------------------*
* *
* Video Toolkit For OS/2 Version 1.0 *
* Example Application No. 5. *
* Date : 13/07/95. *
* Copyright Abbotsbury Software Ltd. (c), United Kingdom. 1999. *
* *
* Filename : ex5.h *
* *
*------------------------------------------------------------------*/
#define IDR_MAIN (1)
#define IDM_FILE (10)
#define IDM_FILE_QUIT (IDM_FILE + 1)
#define IDM_CAPTURE (20)
#define IDM_CAPTURE_C (IDM_CAPTURE + 1)
#define IDM_CAPTURE_ASM (IDM_CAPTURE + 2)
#define IDM_CAPTURE_CAPTURE (IDM_CAPTURE + 3)
#define IDM_ABOUT (30)
#define IDD_ABOUT_MAN_INFO (IDD_ABOUT + 1)
#define IDD_ABOUT_PROD_INFO (IDD_ABOUT + 2)
#define IDD_ABOUT_VERSION (IDD_ABOUT + 3)
#define IDM_TV_SETUP (40)
#define IDM_TUNE (50)
#define IDM_CAPT (60)
#define IDM_CAPT_FILE (IDM_CAPT + 1)
#define IDM_CAPT_FILE_SAVE (IDM_CAPT + 2)
#define IDD_MSG (200)
#define IDD_QUIT (250)
#define IDD_ABOUT (275)
#define IDD_TUNE (3000)
#define IDD_TUNE_REGION (IDD_TUNE + 1)
#define IDD_TUNE_SRC (IDD_TUNE + 2)
#define IDD_TUNE_VF (IDD_TUNE + 3)
#define IDD_TUNE_FREQ (IDD_TUNE + 4)
#define IDD_TUNE_CH (IDD_TUNE + 5)
#define IDD_TUNE_FINE (IDD_TUNE + 6)
#define IDD_TUNE_TV (IDD_TUNE + 7)
#define IDD_NOTE (3100)
#define IDD_NOTE_BOOK (IDD_NOTE + 1)
#define IDD_FILTER (3200)
#define IDD_FILTER_COLOUR1_EF (IDD_FILTER + 1)
#define IDD_FILTER_COLOUR2_EF (IDD_FILTER + 2)
#define EXT_1 0
#define EXT_2 1
#define TV 2
#define SVHS 3
#define TESTCARD 4
#define BRIGHTNESS (101)
#define HUE (102)
#define SATURATION (103)
#define CONTRAST (104)
#define VOLUME (105)
#define BALANCE (106)
#define TREBLE (107)
#define BASS (108)
#define MUTE (109)
#define LVOLUME (110)
#define RVOLUME (111)
#define SLIDER_WIDTH (144)
#define BITMAP_HEIGHT (8)
#define BITMAP_WIDTH (16)
#define SLIDER_LENGTH (50)
#define BMP_SWAN 601
#define BMP_UP 602
#define BMP_DOWN 603
#define BMP_NOMUTE 604
#define BMP_MUTE 605
#define BMP_BARS 606
#define BMP_FREEZE 607
#define BMP_UNFREEZE 608
#define BMP_ON 609
#define BMP_OFF 611
#define BMP_VOLUME 612
#define BMP_BALANCE 613
#define BMP_TREBLE 614
#define BMP_BASS 615
#define BMP_BRIGHT 616
#define BMP_HUE 617
#define BMP_SAT 618
#define BMP_CONTRAST 619
#define PTR_REMOTE 620
#define PTR_FILTER 621
#define MSG_CHANGE_TUNER (WM_USER + 1)
#define MSG_UPDATE_WINDOW (WM_USER + 2)
#define MSG_SIZE_TV (WM_USER + 3)
#define MSG_CAPTURE (WM_USER + 4)
#define CHECK (MIA_CHECKED)
#define UNCHECK (0)
#define ENABLE (0)
#define DISABLE (MIA_DISABLED)
typedef struct _MOUSEPOS
{
LONG mp_x;
LONG mp_y;
} MOUSEPOS, FAR *PMOUSEPOS;
typedef struct _YUVDATA
{
LONG yuv_width;
LONG yuv_height;
UCHAR *yuv_data;
} YUVDATA, FAR *PYUVDATA;