Leaked source code of windows server 2003
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.

76 lines
2.9 KiB

  1. #include <windows.h>
  2. #include "rsrc.h"
  3. IDR_MAINMENU MENU DISCARDABLE
  4. BEGIN
  5. POPUP "File"
  6. BEGIN
  7. MENUITEM "Open...\to", IDM_OPEN
  8. MENUITEM "Save...\ts", IDM_SAVE
  9. MENUITEM SEPARATOR
  10. MENUITEM "Size Window To Fit\tf", IDM_FIT_WINDOW
  11. MENUITEM SEPARATOR
  12. MENUITEM "Quit", IDM_QUIT
  13. END
  14. POPUP "Convert"
  15. BEGIN
  16. MENUITEM "16-bit RGB555", IDM_CONVERT_RGB555
  17. MENUITEM "16-bit RGB565", IDM_CONVERT_RGB565
  18. MENUITEM "24-bit RGB", IDM_CONVERT_RGB24
  19. MENUITEM "32-bit RGB\tr", IDM_CONVERT_RGB32
  20. MENUITEM "32-bit ARGB\ta", IDM_CONVERT_ARGB
  21. END
  22. POPUP "Scale"
  23. BEGIN
  24. MENUITEM "GDI\t0", IDM_SCALE_GDI
  25. MENUITEM "GDI with Halftone\t1", IDM_SCALE_GDIHT
  26. MENUITEM "Nearest Neighbor\t2", IDM_SCALE_NEIGHBOR
  27. MENUITEM "Bilinear\t3", IDM_SCALE_BILINEAR
  28. MENUITEM "Averaging\t4", IDM_SCALE_AVERAGING
  29. MENUITEM "Bicubic\t5", IDM_SCALE_BICUBIC
  30. END
  31. POPUP "Process"
  32. BEGIN
  33. MENUITEM "Crop", IDM_BMP_CROP
  34. MENUITEM "Resize", IDM_BMP_RESIZE
  35. MENUITEM "Flip X", IDM_BMP_FLIPX
  36. MENUITEM "Flip Y", IDM_BMP_FLIPY
  37. MENUITEM "Rotate 90", IDM_BMP_ROTATE90
  38. MENUITEM "Rotate 270", IDM_BMP_ROTATE270
  39. MENUITEM "Brighten", IDM_BRIGHTEN
  40. MENUITEM "Darken", IDM_DARKEN
  41. MENUITEM "More Contrast", IDM_INCCONTRAST
  42. MENUITEM "Less Contrast", IDM_DECCONTRAST
  43. MENUITEM "Increase Gamma", IDM_INCGAMMA
  44. MENUITEM "Decrease Gamma", IDM_DECGAMMA
  45. END
  46. END
  47. IDR_ACCELTABLE ACCELERATORS DISCARDABLE
  48. BEGIN
  49. "O", IDM_OPEN, VIRTKEY, NOINVERT
  50. "S", IDM_SAVE, VIRTKEY, NOINVERT
  51. "F", IDM_FIT_WINDOW, VIRTKEY, NOINVERT
  52. "R", IDM_CONVERT_RGB32, VIRTKEY, NOINVERT
  53. "A", IDM_CONVERT_ARGB, VIRTKEY, NOINVERT
  54. "0", IDM_SCALE_GDI, VIRTKEY, NOINVERT
  55. "1", IDM_SCALE_GDIHT, VIRTKEY, NOINVERT
  56. "2", IDM_SCALE_NEIGHBOR, VIRTKEY, NOINVERT
  57. "3", IDM_SCALE_BILINEAR, VIRTKEY, NOINVERT
  58. "4", IDM_SCALE_AVERAGING, VIRTKEY, NOINVERT
  59. "5", IDM_SCALE_BICUBIC, VIRTKEY, NOINVERT
  60. END
  61. #include <ntverp.h>
  62. #define VER_FILETYPE VFT_APP
  63. #define VER_FILESUBTYPE VFT2_UNKNOWN
  64. #define VER_FILEDESCRIPTION_STR "Windows Imaging Library Test Program"
  65. #define VER_INTERNALNAME_STR "imgtest.exe"
  66. #define VER_ORIGINALFILENAME_STR "imgtest.exe"
  67. #include <common.ver>