home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
delphi
/
imagelib
/
imagevw.rc_
/
imagevw.rc
Wrap
Text File
|
1995-09-23
|
6KB
|
151 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991 by Borland International
//----------------------------------------------------------------------------
#ifndef WORKSHOP_INVOKED
#include <windows.h>
#endif
#include "imagevw.h"
JPGMENU MENU
{
POPUP "&File"
{
MENUITEM "&Open JPG file...", CM_OPENJPG
MENUITEM "Open &BMP file...", CM_OPENBMP
MENUITEM "Open &GIF file...", CM_OPENGIF
MENUITEM "Open &PCX file...", CM_OPENPCX
MENUITEM "Open P&NG file...", CM_OPENPNG
MENUITEM SEPARATOR
MENUITEM "Save to JPG", CM_SAVETOJPG
MENUITEM "Save to BMP", CM_SAVETOBMP
MENUITEM "Save to GIF", CM_SAVETOGIF
MENUITEM "Save to PCX", CM_SAVETOPCX
MENUITEM "Save to PNG", CM_SAVETOPNG
MENUITEM "E&xit", CM_EXIT
}
POPUP "&View"
{
MENUITEM "&Fit to window", CM_FIT
}
POPUP "&Info"
{
MENUITEM "&Image Info...", CM_INFO
}
}
JPGVIEW ICON
{
'00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
'00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
'00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
'00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
'00 00 80 00 80 00 80 80 00 00 80 80 80 00 C0 C0'
'C0 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
'00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 07 77'
'77 77 77 77 77 77 77 77 77 77 77 77 77 70 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 70 08 70'
'88 88 88 88 08 70 88 88 88 80 87 08 80 70 0F 80'
'88 88 88 88 0F 80 88 88 88 80 F8 08 80 70 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 70 0E 77'
'77 87 77 72 27 22 77 77 27 72 22 08 70 70 0E E7'
'77 77 77 77 77 00 02 77 70 08 28 0F 80 70 0E EE'
'77 07 88 77 57 25 2F 77 08 88 88 00 00 70 0E EE'
'75 50 77 77 78 8F F8 77 70 78 78 08 80 70 0E EE'
'E7 50 78 78 FF 5F 77 77 78 F8 88 08 80 70 0E EE'
'EE 75 75 FF 78 88 88 F8 FF 88 78 08 80 70 0E EE'
'EE 77 57 7F 7F 50 5F F7 F2 78 88 08 80 70 0E EE'
'EE E7 F5 FF FF 75 50 00 FF 88 88 08 80 70 0E EE'
'EE E7 F7 77 77 EE 75 F7 F2 72 78 08 80 70 0E EE'
'EE EE 77 F7 7E EE E7 50 00 85 00 08 80 70 0E EE'
'EE EE EF FF FE EE EE 70 FF 75 08 08 80 70 0E EE'
'EE EE EE FE EE EE EE 75 88 88 58 00 00 70 0E EE'
'EE EE EE EE EE EE EE E7 FF 8F 58 08 70 70 0E EE'
'EE EE EE EE EE EE EE EF FF 8F 88 0F 80 70 0E EE'
'EE EE EE EE EE EE EE EE FF 8F 88 00 00 70 0E EE'
'EE EE EE EE EE EE EE EE FF FF E7 08 80 70 0E EB'
'BB EE EE EE EE EE EE EE EF FE E7 08 80 70 0E BB'
'BB BE EE EE EE EE EE EE EF EE EE 08 80 70 0E BF'
'FB BE EE EE EE EE EE EE EE EE EE 08 80 70 0E BF'
'FB BE EE EE EE EE EE EE EE EE EE 00 00 70 0E EB'
'BB EE EE EE EE EE EE EE EE EE EE 08 70 70 0E EE'
'EE EE EE EE EE EE EE EE EE EE EE 0F 80 70 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 70 08 8C'
'CC CC CC CC CC CC CC CC CC C0 87 08 70 70 08 8C'
'CC CC CC CC CC CC CC CC CC C0 F8 0F 80 70 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF'
'FF FF 80 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00'
'00 01 00 00 00 01 00 00 00 01 00 00 00 03'
}
IDD_DECOPT DIALOG 17, 21, 179, 133
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Decompression Options"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 118, 75, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 116, 113, 50, 14
GROUPBOX "Bits per Pixel", IDC_RESGRP, 6, 6, 52, 53, BS_GROUPBOX | WS_GROUP
CONTROL "24-bit", IDC_RES24, "BUTTON", BS_AUTORADIOBUTTON, 14, 17, 37, 12
CONTROL "8-bit", IDC_RES8, "BUTTON", BS_AUTORADIOBUTTON, 14, 30, 37, 12
CONTROL "4-bit", IDC_RES4, "BUTTON", BS_AUTORADIOBUTTON, 14, 41, 37, 12
GROUPBOX "Quantize Options", IDC_OPTGRP, 63, 6, 108, 38, BS_GROUPBOX | WS_GROUP
CONTROL "No Dither", IDC_RADONE, "BUTTON", BS_AUTORADIOBUTTON | WS_TABSTOP, 67, 17, 53, 12
CONTROL "FS Dither", IDC_RADONED, "BUTTON", BS_AUTORADIOBUTTON, 68, 28, 89, 12
GROUPBOX "Scale Factor", IDC_SCLGRP, 6, 70, 55, 61, BS_GROUPBOX | WS_GROUP
CONTROL "1/1", IDC_RADSCL1, "BUTTON", BS_AUTORADIOBUTTON | WS_TABSTOP, 11, 82, 37, 12
CONTROL "1/2", IDC_RADSCL2, "BUTTON", BS_AUTORADIOBUTTON, 11, 93, 37, 12
CONTROL "1/4", IDC_RADSCL4, "BUTTON", BS_AUTORADIOBUTTON, 11, 104, 37, 12
CONTROL "1/8", IDC_RADSCL8, "BUTTON", BS_AUTORADIOBUTTON, 11, 115, 37, 12
}
IDD_COMOPT DIALOG 15, 52, 146, 136
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Compression Options"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 12, 112, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 85, 112, 50, 14
LTEXT "Compression Quality", -1, 38, 66, 71, 8
EDITTEXT IDC_QUALITY, 61, 83, 24, 12, ES_WANTRETURN | WS_BORDER | WS_TABSTOP
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 34, 61, 75, 39
CONTROL "", -1, "static", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 35, 11, 74, 39
LTEXT "Smoothing Factor", -1, 44, 16, 59, 8
EDITTEXT IDC_SMOOTH, 61, 31, 24, 13, ES_WANTRETURN | WS_BORDER | WS_TABSTOP
}
IDD_STATUS DIALOG 6, 15, 161, 80
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME
FONT 8, "MS Sans Serif"
{
PUSHBUTTON "Cancel", IDCANCEL, 53, 61, 50, 14
}
IDD_STATUS2 DIALOG 6, 15, 161, 50
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_THICKFRAME
FONT 8, "MS Sans Serif"
{
}
IDD_ENCOPT DIALOG 17, 21, 123, 65
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Decompression Options"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 66, 11, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 67, 41, 50, 14
GROUPBOX "Bits per Pixel", IDC_RESBGRP, 6, 6, 52, 53, BS_GROUPBOX | WS_GROUP
CONTROL "24-bit", IDC_RESB24, "BUTTON", BS_AUTORADIOBUTTON, 14, 17, 37, 12
CONTROL "8-bit", IDC_RESB8, "BUTTON", BS_AUTORADIOBUTTON, 14, 30, 37, 12
CONTROL "4-bit", IDC_RESB4, "BUTTON", BS_AUTORADIOBUTTON, 14, 41, 37, 12
}