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

#include <windows.h>
#include "rsrc.h"
IDR_MAINMENU MENU DISCARDABLE
BEGIN
POPUP "File"
BEGIN
MENUITEM "Open...\to", IDM_OPEN
MENUITEM "Save...\ts", IDM_SAVE
MENUITEM SEPARATOR
MENUITEM "Size Window To Fit\tf", IDM_FIT_WINDOW
MENUITEM SEPARATOR
MENUITEM "Quit", IDM_QUIT
END
POPUP "Convert"
BEGIN
MENUITEM "16-bit RGB555", IDM_CONVERT_RGB555
MENUITEM "16-bit RGB565", IDM_CONVERT_RGB565
MENUITEM "24-bit RGB", IDM_CONVERT_RGB24
MENUITEM "32-bit RGB\tr", IDM_CONVERT_RGB32
MENUITEM "32-bit ARGB\ta", IDM_CONVERT_ARGB
END
POPUP "Scale"
BEGIN
MENUITEM "GDI\t0", IDM_SCALE_GDI
MENUITEM "GDI with Halftone\t1", IDM_SCALE_GDIHT
MENUITEM "Nearest Neighbor\t2", IDM_SCALE_NEIGHBOR
MENUITEM "Bilinear\t3", IDM_SCALE_BILINEAR
MENUITEM "Averaging\t4", IDM_SCALE_AVERAGING
MENUITEM "Bicubic\t5", IDM_SCALE_BICUBIC
END
POPUP "Process"
BEGIN
MENUITEM "Crop", IDM_BMP_CROP
MENUITEM "Resize", IDM_BMP_RESIZE
MENUITEM "Flip X", IDM_BMP_FLIPX
MENUITEM "Flip Y", IDM_BMP_FLIPY
MENUITEM "Rotate 90", IDM_BMP_ROTATE90
MENUITEM "Rotate 270", IDM_BMP_ROTATE270
MENUITEM "Brighten", IDM_BRIGHTEN
MENUITEM "Darken", IDM_DARKEN
MENUITEM "More Contrast", IDM_INCCONTRAST
MENUITEM "Less Contrast", IDM_DECCONTRAST
MENUITEM "Increase Gamma", IDM_INCGAMMA
MENUITEM "Decrease Gamma", IDM_DECGAMMA
END
END
IDR_ACCELTABLE ACCELERATORS DISCARDABLE
BEGIN
"O", IDM_OPEN, VIRTKEY, NOINVERT
"S", IDM_SAVE, VIRTKEY, NOINVERT
"F", IDM_FIT_WINDOW, VIRTKEY, NOINVERT
"R", IDM_CONVERT_RGB32, VIRTKEY, NOINVERT
"A", IDM_CONVERT_ARGB, VIRTKEY, NOINVERT
"0", IDM_SCALE_GDI, VIRTKEY, NOINVERT
"1", IDM_SCALE_GDIHT, VIRTKEY, NOINVERT
"2", IDM_SCALE_NEIGHBOR, VIRTKEY, NOINVERT
"3", IDM_SCALE_BILINEAR, VIRTKEY, NOINVERT
"4", IDM_SCALE_AVERAGING, VIRTKEY, NOINVERT
"5", IDM_SCALE_BICUBIC, VIRTKEY, NOINVERT
END
#include <ntverp.h>
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Windows Imaging Library Test Program"
#define VER_INTERNALNAME_STR "imgtest.exe"
#define VER_ORIGINALFILENAME_STR "imgtest.exe"
#include <common.ver>