home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / videotlk.zip / SAMPLES / EX5 / EX5.H < prev    next >
Text File  |  1999-02-25  |  5KB  |  122 lines

  1.  
  2. /*------------------------------------------------------------------*
  3.  *                                                                  *
  4.  *  Video Toolkit For OS/2 Version 1.0                              *
  5.  *  Example Application No. 5.                                      *
  6.  *  Date : 13/07/95.                                                *
  7.  *  Copyright Abbotsbury Software Ltd. (c), United Kingdom. 1999.   *
  8.  *                                                                  *
  9.  *  Filename : ex5.h                                                *
  10.  *                                                                  *
  11.  *------------------------------------------------------------------*/
  12.  
  13. #define     IDR_MAIN                (1)
  14.  
  15. #define     IDM_FILE                (10)
  16. #define     IDM_FILE_QUIT           (IDM_FILE + 1)
  17.  
  18. #define     IDM_CAPTURE             (20)
  19. #define     IDM_CAPTURE_C           (IDM_CAPTURE + 1)
  20. #define     IDM_CAPTURE_ASM         (IDM_CAPTURE + 2)
  21. #define     IDM_CAPTURE_CAPTURE     (IDM_CAPTURE + 3)
  22.  
  23. #define     IDM_ABOUT               (30)
  24. #define     IDD_ABOUT_MAN_INFO      (IDD_ABOUT + 1)
  25. #define     IDD_ABOUT_PROD_INFO     (IDD_ABOUT + 2)
  26. #define     IDD_ABOUT_VERSION       (IDD_ABOUT + 3)
  27.  
  28. #define     IDM_TV_SETUP            (40)
  29.  
  30. #define     IDM_TUNE                (50)
  31.  
  32. #define     IDM_CAPT                (60)
  33. #define     IDM_CAPT_FILE           (IDM_CAPT + 1)
  34. #define     IDM_CAPT_FILE_SAVE      (IDM_CAPT + 2)
  35.  
  36. #define     IDD_MSG                 (200)
  37. #define     IDD_QUIT                (250)
  38. #define     IDD_ABOUT               (275)
  39.  
  40. #define     IDD_TUNE                (3000)
  41. #define     IDD_TUNE_REGION         (IDD_TUNE + 1)
  42. #define     IDD_TUNE_SRC            (IDD_TUNE + 2)
  43. #define     IDD_TUNE_VF             (IDD_TUNE + 3)
  44. #define     IDD_TUNE_FREQ           (IDD_TUNE + 4)
  45. #define     IDD_TUNE_CH             (IDD_TUNE + 5)
  46. #define     IDD_TUNE_FINE           (IDD_TUNE + 6)
  47. #define     IDD_TUNE_TV             (IDD_TUNE + 7)
  48.  
  49. #define     IDD_NOTE                (3100)
  50. #define     IDD_NOTE_BOOK           (IDD_NOTE + 1)
  51.  
  52. #define     IDD_FILTER              (3200)
  53. #define     IDD_FILTER_COLOUR1_EF   (IDD_FILTER + 1)
  54. #define     IDD_FILTER_COLOUR2_EF   (IDD_FILTER + 2)
  55.  
  56. #define     EXT_1                   0
  57. #define     EXT_2                   1
  58. #define     TV                      2
  59. #define     SVHS                    3
  60. #define     TESTCARD                4
  61.  
  62. #define     BRIGHTNESS              (101)
  63. #define     HUE                     (102)
  64. #define     SATURATION              (103)
  65. #define     CONTRAST                (104)
  66. #define     VOLUME                  (105)
  67. #define     BALANCE                 (106)
  68. #define     TREBLE                  (107)
  69. #define     BASS                    (108)
  70. #define     MUTE                    (109)
  71. #define     LVOLUME                 (110)
  72. #define     RVOLUME                 (111)
  73.  
  74. #define     SLIDER_WIDTH            (144)
  75. #define     BITMAP_HEIGHT           (8)
  76. #define     BITMAP_WIDTH            (16)
  77. #define     SLIDER_LENGTH           (50)
  78.  
  79. #define     BMP_SWAN                601
  80. #define     BMP_UP                  602
  81. #define     BMP_DOWN                603
  82. #define     BMP_NOMUTE              604
  83. #define     BMP_MUTE                605
  84. #define     BMP_BARS                606
  85. #define     BMP_FREEZE              607
  86. #define     BMP_UNFREEZE            608
  87. #define     BMP_ON                  609
  88. #define     BMP_OFF                 611
  89. #define     BMP_VOLUME              612
  90. #define     BMP_BALANCE             613
  91. #define     BMP_TREBLE              614
  92. #define     BMP_BASS                615
  93. #define     BMP_BRIGHT              616
  94. #define     BMP_HUE                 617
  95. #define     BMP_SAT                 618
  96. #define     BMP_CONTRAST            619
  97. #define     PTR_REMOTE              620
  98. #define     PTR_FILTER              621
  99.  
  100. #define     MSG_CHANGE_TUNER        (WM_USER + 1)
  101. #define     MSG_UPDATE_WINDOW       (WM_USER + 2)
  102. #define     MSG_SIZE_TV             (WM_USER + 3)
  103. #define     MSG_CAPTURE             (WM_USER + 4)
  104.  
  105. #define     CHECK                   (MIA_CHECKED)
  106. #define     UNCHECK                 (0)
  107. #define     ENABLE                  (0)
  108. #define     DISABLE                 (MIA_DISABLED)
  109.  
  110. typedef struct _MOUSEPOS
  111. {
  112.     LONG    mp_x;
  113.     LONG    mp_y;
  114. } MOUSEPOS, FAR *PMOUSEPOS;
  115.  
  116. typedef struct _YUVDATA
  117. {
  118.     LONG    yuv_width;
  119.     LONG    yuv_height;
  120.     UCHAR   *yuv_data;
  121. } YUVDATA, FAR *PYUVDATA;
  122.