310 lines
9.7 KiB
Plaintext
310 lines
9.7 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include <windows.h>
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// 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
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include <windows.h>\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDM_MAINMENU MENU DISCARDABLE
|
|
BEGIN
|
|
MENUITEM "Test", IDM_TEST
|
|
POPUP "Font"
|
|
BEGIN
|
|
MENUITEM "Create Font", IDM_CREATEFONT
|
|
END
|
|
MENUITEM "DrawGlyphs", IDM_DRAWGLYPHS
|
|
MENUITEM "PathGlyphs", IDM_PATHGLYPHS
|
|
POPUP "FontManager"
|
|
BEGIN
|
|
MENUITEM "AddFontFile", ID_ADDFONTFILE
|
|
MENUITEM "RemoveFontFile", ID_REMOVEFONTFILE
|
|
END
|
|
POPUP "TextSmoothing"
|
|
BEGIN
|
|
MENUITEM "AntiAliasText On", ID_ANTIALIAS_ON
|
|
MENUITEM "AntiAliasText Off", ID_ANTIALIAS_OFF
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_CREATEFONT DIALOG DISCARDABLE 0, 0, 357, 196
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Create Font"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,180,155,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,270,155,50,14
|
|
LTEXT "Font Family Name:",ID_FAMILY,13,14,59,8,NOT WS_GROUP
|
|
EDITTEXT IDC_FONT_FAMILYNAME,25,30,86,12,ES_AUTOHSCROLL
|
|
LTEXT "Font Size:",ID_FONTSIZE,13,59,64,10,NOT WS_GROUP
|
|
EDITTEXT IDC_FONT_SIZE,25,75,38,12,ES_AUTOHSCROLL
|
|
GROUPBOX "Font Style",ID_FAMILY,20,120,129,62,WS_GROUP
|
|
CONTROL "Regular",IDC_FONT_REGULAR,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,30,140,41,10
|
|
CONTROL "Bold",IDC_FONT_BOLD,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,30,160,30,10
|
|
CONTROL "BoldItalic",IDC_FONT_BOLDITALIC,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,100,160,45,10
|
|
CONTROL "Italic",IDC_FONT_ITALIC,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,100,140,31,10
|
|
GROUPBOX "Font Unit",ID_FONTUNIT,170,15,160,115,WS_GROUP
|
|
CONTROL "UnitWorld",IDC_UNITWORLD,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,185,30,47,10
|
|
CONTROL "UnitDisplay",IDC_UNITDISPLAY,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,255,30,51,10
|
|
CONTROL "UnitPixel",IDC_UNITPIXEL,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,185,55,43,10
|
|
CONTROL "UnitInch",IDC_UNITINCH,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,185,80,43,10
|
|
CONTROL "UnitPt",IDC_UNITPT,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,255,55,35,10
|
|
CONTROL "UnitDocument",IDC_UNITDOC,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,255,80,61,10
|
|
CONTROL "UnitMillimeter",IDC_UNITMM,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,185,105,57,10
|
|
END
|
|
|
|
IDD_DRAWGLYPHS DIALOG DISCARDABLE 0, 0, 292, 151
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Draw Glyphs"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,165,25,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,235,25,50,14
|
|
LTEXT "Glyph Indices:",IDC_GLYPHINDEX,10,10,46,8,NOT WS_GROUP
|
|
EDITTEXT IDC_DG_GLYPHINDICES,15,25,110,15,ES_AUTOHSCROLL
|
|
LTEXT "Px:",IDC_PX,10,50,11,8
|
|
EDITTEXT IDC_DG_PX,15,65,110,15,ES_AUTOHSCROLL
|
|
LTEXT "Py:",IDC_PY,10,95,11,8
|
|
EDITTEXT IDC_DG_PY,15,110,110,15,ES_AUTOHSCROLL
|
|
GROUPBOX "Flags:",IDC_FLAGS,155,60,125,75,WS_GROUP
|
|
CONTROL "using GDI+",IDC_DG_GDIPLUS,"Button",BS_AUTOCHECKBOX |
|
|
WS_TABSTOP,170,115,95,10
|
|
END
|
|
|
|
IDD_GETGLYPHMETRICS DIALOG DISCARDABLE 0, 0, 327, 106
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "GetGlyphMetrics"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,150,65,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,240,65,50,14
|
|
GROUPBOX "Flags",IDC_GGM_FLAGS,15,5,80,95,WS_GROUP
|
|
CONTROL "FL_DEFAULT",IDC_GGM_FL_DEFAULT,"Button",
|
|
BS_AUTORADIOBUTTON,25,20,61,10
|
|
CONTROL "FL_VMTX",IDC_GGM_FL_VMTX,"Button",BS_AUTORADIOBUTTON,25,
|
|
40,48,10
|
|
CONTROL "FL_SIM_BOLD",IDC_GGM_FL_SIMBOLD,"Button",
|
|
BS_AUTORADIOBUTTON,25,60,64,10
|
|
CONTROL "FL_SIM_ITALIC",IDC_GGM_FL_SIMITALIC,"Button",
|
|
BS_AUTORADIOBUTTON,25,80,67,10
|
|
LTEXT "Glyph Indices:",ID_GGM_GLYPHINDICES,140,15,55,13,NOT
|
|
WS_GROUP
|
|
EDITTEXT IDC_GGM_GLYPHINDICES,140,30,170,15,ES_AUTOHSCROLL
|
|
END
|
|
|
|
IDD_PATHGLYPHS DIALOG DISCARDABLE 0, 0, 292, 151
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Add Glyphs To Path"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,195,25,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,195,55,50,14
|
|
LTEXT "Glyph Indices:",IDC_GLYPHINDEX,10,10,46,8,NOT WS_GROUP
|
|
EDITTEXT IDC_DG_GLYPHINDICES,15,25,110,15,ES_AUTOHSCROLL
|
|
LTEXT "Px:",IDC_PX,10,50,11,8
|
|
EDITTEXT IDC_DG_PX,15,65,110,15,ES_AUTOHSCROLL
|
|
LTEXT "Py:",IDC_PY,10,95,11,8
|
|
EDITTEXT IDC_DG_PY,15,110,110,15,ES_AUTOHSCROLL
|
|
END
|
|
|
|
IDD_ADDFONTFILE DIALOG DISCARDABLE 0, 0, 282, 126
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "AddFontFile Dialog"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,195,70,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,195,95,50,14
|
|
LTEXT "Font file name:",IDC_FILENAME,5,6,47,8
|
|
EDITTEXT IDC_FONTFILENAME,10,25,110,15,ES_AUTOHSCROLL
|
|
GROUPBOX "Flag:",IDC_ADDFONTFLAG,5,60,150,55
|
|
CONTROL "Installed font collection",IDC_PUBLIC,"Button",BS_AUTORADIOBUTTON,40,70,100,
|
|
10
|
|
CONTROL "Private font collection",IDC_PRIVATE,"Button",BS_AUTORADIOBUTTON,
|
|
40,95,100,10
|
|
CONTROL "Add Font File as Image",IDD_LOADASIMAGE,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,160,25,115,15
|
|
END
|
|
|
|
IDD_REMOVEFONT DIALOG DISCARDABLE 0, 0, 186, 55
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Remove Font File"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,130,30,50,14
|
|
LTEXT "path",IDC_REMOVEFONT,10,10,40,10
|
|
EDITTEXT IDC_FILEPATH,10,25,95,12,ES_AUTOHSCROLL
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_CREATEFONT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 350
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 189
|
|
END
|
|
|
|
IDD_DRAWGLYPHS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 285
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 144
|
|
END
|
|
|
|
IDD_GETGLYPHMETRICS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 320
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 99
|
|
END
|
|
|
|
IDD_ADDFONTFILE, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 275
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 119
|
|
END
|
|
|
|
IDD_REMOVEFONT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 48
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
#ifndef _MAC
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 5,0,1636,1
|
|
PRODUCTVERSION 5,0,1636,1
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Microsoft Corporation\0"
|
|
VALUE "FileDescription", "GDI+ test\0"
|
|
VALUE "FileVersion", "5.00.1636.1\0"
|
|
VALUE "InternalName", "unknown\0"
|
|
VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1981-1999\0"
|
|
VALUE "OriginalFilename", "unknown\0"
|
|
VALUE "ProductName", "Microsoft(R) Windows NT(R) Operating System\0"
|
|
VALUE "ProductVersion", "5.00.1636.1\0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
#endif // !_MAC
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|