Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.4 KiB

  1. /* MCI capture */
  2. #define ID_COMPRESSOR 880
  3. #define ID_FORMAT 881
  4. #define ID_CONFIG 882
  5. #define ID_ABOUT 883
  6. #define ID_QUALITY 884
  7. #define ID_QUALITYTEXT 885
  8. #define ID_QUALITYLABEL 886
  9. #define ID_KEYFRAMEBOX 887
  10. #define ID_KEYFRAME 888
  11. #define ID_KEYFRAMETEXT 889
  12. #define ID_PREVIEW 890
  13. #define ID_PREVIEWWIN 891
  14. #define ID_PREVIEWSCROLL 892
  15. #define ID_PREVIEWTEXT 893
  16. #define ID_DATARATEBOX 894
  17. #define ID_DATARATE 895
  18. #define ID_DATARATETEXT 896
  19. #define ID_CHOOSE_SMALL 897
  20. #define ID_CHOOSE_NORMAL 898
  21. #define ID_CHOOSE_BIG 899
  22. #define ID_NOCOMPSTRING 900
  23. #define ID_FULLFRAMESSTRING 901
  24. #define ID_FRAMECOMPRESSING 902
  25. #define ID_FRAMESIZE 903
  26. #define ID_FRAME 904
  27. #define ID_NONSUPPORTED 905
  28. // How tall is this dialog without the PREVIEW button or DATARATE checkbox?
  29. #define ICM_CHOOSE_SMALL_HEIGHT 79
  30. #ifdef RC_INVOKED
  31. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  32. BEGIN
  33. ID_NOCOMPSTRING "No Recompression"
  34. ID_FULLFRAMESSTRING "Full Frames (Uncompressed)"
  35. ID_FRAMECOMPRESSING "Frame: %u\nCompressing.... (%ld%%)"
  36. ID_FRAMESIZE "Frame: %u\nSize: %lu / %lu (%d%%)"
  37. ID_FRAME "Frame: %u"
  38. ID_NONSUPPORTED "%s\r\n is a non-supported AVI Codec."
  39. END
  40. ICCDLG DIALOG 5, 16, 275, 91
  41. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  42. CAPTION "Video Compression"
  43. //FONT 8, "MS Sans Serif"
  44. FONT 8, "MS Shell Dlg"
  45. BEGIN
  46. LTEXT "&Compressor:", -1, 9, 6, 105, 8
  47. // ***
  48. // !!! PLEASE DO NOT SORT THIS COMBO BOX !!!
  49. // ***
  50. COMBOBOX ID_COMPRESSOR, 9, 16, 111, 67, CBS_DROPDOWNLIST |
  51. WS_VSCROLL | WS_TABSTOP
  52. LTEXT "Compression &Quality:", ID_QUALITYLABEL, 9, 34, 80, 8
  53. SCROLLBAR ID_QUALITY, 9, 44, 111, 9, WS_TABSTOP
  54. LTEXT "", ID_QUALITYTEXT, 86, 34, 33, 8
  55. CHECKBOX "&Key Frame Every", ID_KEYFRAMEBOX, 9, 60, 66, 12,
  56. BS_AUTOCHECKBOX | WS_TABSTOP
  57. EDITTEXT ID_KEYFRAME, 78, 60, 22, 12, WS_TABSTOP
  58. LTEXT "frames", ID_KEYFRAMETEXT, 103, 62, 26, 10
  59. // !!! width needs to be greater than size of dialog... why???
  60. CONTROL "", ID_CHOOSE_SMALL, "Static", SS_BLACKRECT,
  61. 0, ICM_CHOOSE_SMALL_HEIGHT, 185, 1
  62. CHECKBOX "&Data Rate", ID_DATARATEBOX, 9, 76, 66, 12,
  63. BS_AUTOCHECKBOX | WS_TABSTOP
  64. EDITTEXT ID_DATARATE, 78, 76, 22, 12, WS_TABSTOP
  65. LTEXT "KB/sec", ID_DATARATETEXT, 102, 78, 26, 10
  66. DEFPUSHBUTTON "OK", IDOK, 129, 2, 49, 14
  67. PUSHBUTTON "Cancel", IDCANCEL, 129, 18, 49, 14
  68. PUSHBUTTON "Con&figure...", ID_CONFIG, 129, 36, 49, 14
  69. PUSHBUTTON "&About...", ID_ABOUT, 129, 52, 49, 14
  70. PUSHBUTTON "&Preview>>", ID_PREVIEW, 136, 74, 42, 14
  71. // !!! Hacky constants again!
  72. CONTROL "", ID_CHOOSE_NORMAL, "Static", SS_BLACKRECT,
  73. 185, 0, 1, 100
  74. CONTROL "", ID_PREVIEWWIN, "Static", SS_SIMPLE, 188, 4, 80, 60
  75. SCROLLBAR ID_PREVIEWSCROLL, 188, 65, 80, 9, WS_TABSTOP
  76. LTEXT "", ID_PREVIEWTEXT, 179, 75, 96, 16
  77. // !!! Hacky constants again!
  78. CONTROL "", ID_CHOOSE_BIG, "Static", SS_BLACKRECT,
  79. 280, 0, 1, 100
  80. END
  81. #endif