home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Multimed / Multimed.zip / divempeg.zip / DIMPSRC.ZIP / DIMP.H < prev    next >
C/C++ Source or Header  |  1995-05-14  |  4KB  |  163 lines

  1. /* dimp.h */
  2. #define ID_APPNAME 1
  3.  
  4. /* Device Capabilities Information Dialog */
  5. #define ID_DIALOG       262
  6. #define ID_EF_11         11
  7. #define ID_EF_12         12
  8. #define ID_EF_13         13
  9. #define ID_EF_14         14
  10. #define ID_EF_15         15
  11. #define ID_EF_16         16
  12. #define ID_EF_17         17
  13. #define ID_EF_18         18
  14. #define ID_EF_19         19
  15. #define ID_EF_20         20
  16.  
  17. /* MPEG Video Stream Information Dialog */
  18. #define ID_DIALOG2       263
  19. #define ID_EF_21         21
  20. #define ID_EF_22         22
  21. #define ID_EF_23         23
  22. #define ID_EF_24         24
  23. #define ID_EF_25         25
  24. #define ID_EF_26         26
  25. #define ID_EF_27         27
  26. #define ID_EF_28         28
  27.  
  28. #define ID_MAINWND      256
  29.  
  30. /* about dialog */
  31. #define IDD_ABOUT       260
  32.  
  33. /* toolbar dialog */
  34. #define IDD_TOOLBAR     261
  35.  
  36. /* menu options */
  37. #define ID_FILE         265
  38. #define ID_EXIT         266
  39.  
  40. #define ID_OPTIONS      267
  41. #define ID_SNAP1        268
  42. #define ID_SNAP2        269
  43. #define ID_SNAP3        270
  44.  
  45. #define ID_CONTROL      272
  46. #define ID_PLAY         273
  47. #define ID_PAUSE        274
  48. #define ID_ADVANCE      275
  49. #define ID_RESET        276
  50. #define ID_END          277
  51. #define ID_NONE         278
  52.  
  53. #define ID_DITHER               280
  54.  
  55. #define ID_ORDERED_DITHER       281
  56. #define ID_ORDERED2_DITHER      282
  57. #define ID_HYBRID_DITHER        283
  58. #define ID_HYBRID2_DITHER       284
  59. #define ID_FS4_DITHER           285
  60. #define ID_FS2_DITHER           286
  61. #define ID_FS2FAST_DITHER       287
  62. #define ID_MBORDERED_DITHER     298
  63. #define ID_GRAY_DITHER          289
  64.  
  65. #define ID_FLAGS                300
  66. #define ID_LOOP                 301
  67. #define ID_NO_DISPLAY           303
  68. #define ID_NO_DITHER            304
  69.  
  70. #define ID_HELP                 310
  71. #define ID_DIVE_INFO            311
  72. #define ID_MPEG_INFO            312
  73. #define ID_PROG_USAGE           313
  74. #define ID_ABOUT                314
  75.  
  76. /* toolbar controls */
  77. #define IDC_DIVEINFO    319
  78. #define IDC_MPEGINFO    320
  79. #define IDC_PLAY        321
  80. #define IDC_PAUSE       322
  81. #define IDC_RESET       323
  82. #define IDC_ADVANCE     324
  83.  
  84. #define IDC_RED         325
  85. #define IDC_GREEN       326
  86. #define IDC_BLUE        327
  87. #define IDC_BRIGHTNESS  328
  88. #define IDC_CONTRAST    329
  89.  
  90. #define IDC_PFRAME      331
  91. #define IDC_BFRAME      332
  92. #define IDC_UNDO        333
  93.  
  94. #define IDC_SHOW        334
  95. #define IDC_LOOP        335
  96.  
  97. /* usage dialog */
  98. #define IDD_USAGE       340
  99.  
  100. #ifdef ANALYSIS
  101.  
  102. /* oneStat dialog */
  103.  
  104. #define IDD_ONESTAT     399
  105.  
  106. #define IE_FRAME  400
  107. #define IE_BYTES  401
  108. #define IE_BITS   402
  109. #define IE_I      403
  110. #define IE_IBYTES 404
  111. #define IE_IBITS  405
  112. #define IE_P      406
  113. #define IE_PBYTES 407
  114. #define IE_PBITS  408
  115. #define IE_B      409
  116. #define IE_BBYTES 410
  117. #define IE_BBITS  411
  118. #define IE_BI      412
  119. #define IE_BIBYTES 413
  120. #define IE_BIBITS  414
  121. #define IE_TIME   415
  122.  
  123. /* allStat dialog */
  124.  
  125. #define IDD_ALLSTAT 499
  126.  
  127. #define IA_I         500
  128. #define IA_IBYTES    501
  129. #define IA_IBITS     502
  130. #define IA_P         503
  131. #define IA_PBYTES    504
  132. #define IA_PBITS     505
  133. #define IA_B         506
  134. #define IA_BBYTES    507
  135. #define IA_BBITS     508
  136. #define IA_TOTFRAMES 509
  137. #define IA_TOTBYTES  510
  138. #define IA_TOTBITS   511
  139. #define IA_TOTTIME   512
  140. #define IA_DECTIME   513
  141. #define IA_DECFRAMES 514
  142.  
  143. #endif
  144.  
  145.  
  146. /*   Window data structure
  147. */
  148. typedef struct _WINDATA
  149. {
  150.     BOOL   fVrnDisabled;             /* Visual region enable/disable        */
  151.     HWND   hwndFrame;                /* Frame window handle                 */
  152.     HWND   hwndClient;               /* Client window handle                */
  153.     HWND   hwndToolBar;              /* Toolbar window handle               */
  154. #ifdef ANALYSIS
  155.     HWND   hwndOneStat;              /* Statistics window handle            */
  156.     HWND   hwndAllStat;
  157. #endif
  158.     HDIVE  hDive;                    /* DIVE handle                         */
  159.     TID    tidBlitThread;            /* Thread ID for blitting routine      */
  160. } WINDATA, *PWINDATA;
  161.  
  162.  
  163.