ImageView.rc
上传用户:alisonmail
上传日期:2013-02-28
资源大小:500k
文件大小:21k
- //Microsoft Developer Studio generated resource script.
- //
- #include "resource.h"
- #define APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- //
- // Generated from the TEXTINCLUDE 2 resource.
- //
- #include "afxres.h"
- /////////////////////////////////////////////////////////////////////////////
- #undef APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- // Chinese (P.R.C.) resources
- #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
- #ifdef _WIN32
- LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
- #pragma code_page(936)
- #endif //_WIN32
- /////////////////////////////////////////////////////////////////////////////
- //
- // Menu
- //
- IDR_POPUPMENU MENU DISCARDABLE
- BEGIN
- POPUP "Popup", MENUBARBREAK
- BEGIN
- MENUITEM "Reload Bitmap", ID_RELOAD
- MENUITEM SEPARATOR
- MENUITEM "2D FFT", ID_POINTPROCESSES_FFT
- MENUITEM "2D DCT", ID_POINTPROCESSES_DCT
- MENUITEM SEPARATOR
- MENUITEM "Median Filt", ID_AREAPROCESSES_MEDIANFILTER
- MENUITEM "Edge Detect", ID_EDGEDETECT
- MENUITEM SEPARATOR
- MENUITEM "Make Gray", ID_POINTPROCESSES_MAKEGRAY
- MENUITEM "Histo-Equalize", ID_AREAPROCESSES_EQUALIZECONTRAST
- MENUITEM SEPARATOR
- MENUITEM "View Histogram", ID_POINTPROCESSES_VIEWHISTOGRAM
- MENUITEM "Add Noise", ID_ADDNOISE
- END
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Dialog
- //
- IDD_ADDNOISE DIALOG DISCARDABLE 0, 0, 187, 82
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Add Noise"
- FONT 10, "System"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,38,65,38,10
- PUSHBUTTON "Cancel",IDCANCEL,107,65,38,10
- CONTROL "Slider1",IDC_SLIDER_RATIO,"msctls_trackbar32",
- TBS_AUTOTICKS | WS_TABSTOP,22,20,142,15
- EDITTEXT IDC_EDIT_RATIO,69,36,28,12,ES_AUTOHSCROLL
- LTEXT "% Noise",IDC_STATIC,98,38,30,8
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // DESIGNINFO
- //
- #ifdef APSTUDIO_INVOKED
- GUIDELINES DESIGNINFO DISCARDABLE
- BEGIN
- IDD_ADDNOISE, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 180
- TOPMARGIN, 7
- BOTTOMMARGIN, 75
- END
- END
- #endif // APSTUDIO_INVOKED
- #endif // Chinese (P.R.C.) resources
- /////////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////////
- // English (U.S.) resources
- #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
- #ifdef _WIN32
- LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
- #pragma code_page(1252)
- #endif //_WIN32
- /////////////////////////////////////////////////////////////////////////////
- //
- // Menu
- //
- IDR_MAINFRAME MENU PRELOAD DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&Open...tCtrl+O", ID_FILE_OPEN
- MENUITEM SEPARATOR
- MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "E&xit", ID_APP_EXIT
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About ImageView...", ID_APP_ABOUT
- END
- END
- IDR_IMAGEVTYPE MENU PRELOAD DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&Open...tCtrl+O", ID_FILE_OPEN
- MENUITEM "&Close", ID_FILE_CLOSE
- MENUITEM "Save &As...", ID_FILE_SAVE_AS
- MENUITEM SEPARATOR
- MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "E&xit", ID_APP_EXIT
- END
- POPUP "&Operations"
- BEGIN
- MENUITEM "&Extract River", ID_RIVER_EXTRACT
- MENUITEM "&Show Crop Box", ID_OPERATIONS_SHOWCROPBOX
- MENUITEM SEPARATOR
- MENUITEM "&Crop", ID_OPERATIONS_CROP
- MENUITEM "Change Image Color &Depth", ID_OPERATIONS_CHANGEIMAGECOLORDEPTH
- MENUITEM "&Reverse", ID_OPERATIONS_FLIP
- MENUITEM "&Invert", ID_OPERATIONS_INVERT
- MENUITEM "R&otate", ID_OPERATIONS_ROTATE
- MENUITEM "S&tretch", ID_OPERATIONS_STRETCH
- MENUITEM SEPARATOR
- MENUITEM "Set &Palette Creation Type", ID_OPERATIONS_SETPALETTECREATIONTYPE
- END
- POPUP "&Point Processes"
- BEGIN
- MENUITEM "&Change Brightness", ID_POINTPROCESSES_CHANGEBRIGHTNESS
- MENUITEM "C&olorize", ID_POINTPROCESSES_COLORIZE
- MENUITEM "&Make Gray", ID_POINTPROCESSES_MAKEGRAY
- MENUITEM "&Reverse Colors", ID_POINTPROCESSES_REVERSECOLORS
- MENUITEM "&View Histogram", ID_POINTPROCESSES_VIEWHISTOGRAM
- MENUITEM "2D &FFT", ID_POINTPROCESSES_FFT
- MENUITEM "&DCT", ID_POINTPROCESSES_DCT
- END
- POPUP "&Area Processes"
- BEGIN
- MENUITEM "&Change Contrast", ID_AREAPROCESSES_CHANGECONTRACT
- MENUITEM "&Equalize Contrast", ID_AREAPROCESSES_EQUALIZECONTRAST
- MENUITEM "E&dge Enhance", ID_AREAPROCESSES_EDGEENHANCE
- MENUITEM "Edge Detect", ID_EDGEDETECT
- MENUITEM "&High Pass Filter", ID_AREAPROCESSES_HIGHPASSFILTER
- MENUITEM "&Low Pass Filter", ID_AREAPROCESSES_LOWPASSFILTER
- MENUITEM "&Median Filter", ID_AREAPROCESSES_MEDIANFILTER
- END
- POPUP "&Window"
- BEGIN
- MENUITEM "&New Window", ID_WINDOW_NEW
- MENUITEM "&Cascade", ID_WINDOW_CASCADE
- MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
- MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&About ImageView...", ID_APP_ABOUT
- END
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Dialog
- //
- IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 61
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "About ImageView"
- FONT 8, "MS Sans Serif"
- BEGIN
- ICON IDR_MAINFRAME,IDC_STATIC,11,17,21,23
- LTEXT "ImageView Version 1.0",IDC_STATIC,40,10,119,8,
- SS_NOPREFIX
- LTEXT "Kcl lu Copyright (C) 2000",IDC_STATIC,40,25,119,8
- DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
- END
- IDD_EDGEDETECT DIALOG DISCARDABLE 0, 0, 152, 136
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Dialog"
- FONT 10, "System"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,29,120,41,9
- PUSHBUTTON "Cancel",IDCANCEL,87,120,41,9
- CONTROL "Sobel",IDC_RADIO_SOBEL,"Button",BS_AUTORADIOBUTTON |
- WS_GROUP,38,29,35,10
- CONTROL "Prewitt",IDC_RADIO_PREWITT,"Button",BS_AUTORADIOBUTTON,
- 38,42,38,10
- CONTROL "Laplace",IDC_RADIO_LAPLACE,"Button",BS_AUTORADIOBUTTON,
- 38,55,42,10
- CONTROL "Embossed",IDC_CHECK_EMBOSS,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,42,89,51,10
- GROUPBOX "Select Edge Detect Operator",IDC_STATIC,23,14,104,57
- END
- IDD_NEWIMAGESIZE DIALOG DISCARDABLE 0, 0, 145, 95
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "New Image Size"
- FONT 8, "MS Sans Serif"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,15,74,50,14
- PUSHBUTTON "Cancel",IDCANCEL,80,74,50,14
- LTEXT "Width:",IDC_STATIC,20,35,22,8
- LTEXT "Height:",IDC_STATIC,18,52,24,8
- EDITTEXT IDC_EDIT1,46,34,78,11,ES_AUTOHSCROLL
- EDITTEXT IDC_EDIT2,46,51,78,11,ES_AUTOHSCROLL
- CTEXT "Static",IDC_CURRENTSIZE,14,16,114,8
- END
- IDD_FILEOPENPREVIEW DIALOGEX 0, 0, 65, 133
- STYLE DS_3DLOOK | DS_NOFAILCREATE | DS_CONTROL | WS_CHILD | WS_VISIBLE |
- WS_CLIPSIBLINGS
- FONT 8, "MS Sans Serif", 0, 0, 0x1
- BEGIN
- CONTROL "&Preview",IDC_PREVIEW,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,14,112,45,10
- CONTROL "",IDC_IMAGE,"Static",SS_BITMAP | SS_CENTERIMAGE,4,20,57,
- 85,WS_EX_NOPARENTNOTIFY | WS_EX_CLIENTEDGE
- LTEXT "",1119,0,0,2,133
- END
- IDD_ROTATEIMAGE DIALOG DISCARDABLE 0, 0, 210, 74
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Rotate Image"
- FONT 8, "MS Sans Serif"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,47,53,50,14
- PUSHBUTTON "Cancel",IDCANCEL,113,53,50,14
- GROUPBOX "Rotation",IDC_STATIC,7,13,196,31
- CONTROL "90 Degrees",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON |
- WS_GROUP,15,27,53,10
- CONTROL "180 Degrees",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,75,
- 27,57,10
- CONTROL "270 Degrees",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,139,
- 27,57,10
- END
- IDD_CHANGECOLORDEPTH DIALOG DISCARDABLE 0, 0, 186, 95
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Change Color Depth"
- FONT 8, "MS Sans Serif"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,46,74,50,14
- PUSHBUTTON "Cancel",IDCANCEL,107,74,50,14
- END
- IDD_PALETTECREATIONTYPE DIALOG DISCARDABLE 0, 0, 119, 101
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Palette Creation Type"
- FONT 8, "MS Sans Serif"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,6,80,50,14
- PUSHBUTTON "Cancel",IDCANCEL,62,80,50,14
- GROUPBOX "Type",IDC_STATIC,21,15,80,55
- CONTROL "Popularity",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON |
- WS_GROUP,33,29,47,10
- CONTROL "Median Cut",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,33,
- 42,52,10
- CONTROL "Fixed",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,33,55,33,
- 10
- END
- IDD_SETCOLORDEPTH DIALOG DISCARDABLE 0, 0, 165, 90
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Set Color Depth"
- FONT 8, "MS Sans Serif"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,24,69,50,14
- PUSHBUTTON "Cancel",IDCANCEL,90,69,50,14
- GROUPBOX "Depth",IDC_STATIC,17,16,133,45
- CONTROL "8-Bit Color",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON |
- WS_GROUP,23,30,62,10
- CONTROL "16-Bit Color",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,24,
- 44,62,10
- CONTROL "24-Bit Color",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,93,
- 30,62,10
- CONTROL "32-Bit Color",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON,93,
- 44,62,10
- END
- IDD_BRIGHTNESS DIALOG DISCARDABLE 0, 0, 140, 157
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Brightness"
- FONT 8, "MS Sans Serif"
- BEGIN
- DEFPUSHBUTTON "OK",IDOK,13,136,50,14
- PUSHBUTTON "Cancel",IDCANCEL,76,136,50,14
- SCROLLBAR IDC_SCROLLBAR1,31,17,14,105,SBS_VERT
- CTEXT "Static",IDC_BRIGHTNESSVALUE,54,65,79,10
- END
- IDD_HISTOGRAM DIALOGEX 0, 0, 192, 217
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Histogram"
- FONT 8, "MS Sans Serif", 0, 0, 0x1
- BEGIN
- CONTROL "Tab1",IDC_TAB1,"SysTabControl32",0x0,7,7,178,13,
- WS_EX_TRANSPARENT
- DEFPUSHBUTTON "Ok",IDOK,66,195,58,15
- GROUPBOX "",IDC_HISTOGRAM,7,15,178,170
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // DESIGNINFO
- //
- #ifdef APSTUDIO_INVOKED
- GUIDELINES DESIGNINFO DISCARDABLE
- BEGIN
- IDD_ABOUTBOX, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 210
- TOPMARGIN, 7
- BOTTOMMARGIN, 54
- END
- IDD_NEWIMAGESIZE, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 138
- TOPMARGIN, 7
- BOTTOMMARGIN, 88
- END
- IDD_ROTATEIMAGE, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 203
- TOPMARGIN, 7
- BOTTOMMARGIN, 67
- END
- IDD_CHANGECOLORDEPTH, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 179
- TOPMARGIN, 7
- BOTTOMMARGIN, 88
- END
- IDD_PALETTECREATIONTYPE, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 112
- TOPMARGIN, 7
- BOTTOMMARGIN, 94
- END
- IDD_SETCOLORDEPTH, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 158
- TOPMARGIN, 7
- BOTTOMMARGIN, 83
- END
- IDD_BRIGHTNESS, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 133
- TOPMARGIN, 7
- BOTTOMMARGIN, 150
- END
- IDD_HISTOGRAM, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 185
- TOPMARGIN, 7
- BOTTOMMARGIN, 210
- END
- END
- #endif // APSTUDIO_INVOKED
- #ifdef APSTUDIO_INVOKED
- /////////////////////////////////////////////////////////////////////////////
- //
- // TEXTINCLUDE
- //
- 1 TEXTINCLUDE DISCARDABLE
- BEGIN
- "resource.h "
- END
- 2 TEXTINCLUDE DISCARDABLE
- BEGIN
- "#include ""afxres.h""rn"
- "