mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
068a37b1cd
Support latest MinGW releases. Support building on linux. svn path=/trunk/; revision=3454
388 lines
14 KiB
Text
388 lines
14 KiB
Text
#include <windows.h>
|
||
#include <reactos/resource.h>
|
||
|
||
//Microsoft Developer Studio generated resource script.
|
||
//
|
||
#include "resource.h"
|
||
|
||
#define APSTUDIO_READONLY_SYMBOLS
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 2 resource.
|
||
//
|
||
#define APSTUDIO_HIDDEN_SYMBOLS
|
||
#include "windows.h"
|
||
#undef APSTUDIO_HIDDEN_SYMBOLS
|
||
#include "resource.h"
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#undef APSTUDIO_READONLY_SYMBOLS
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
// English (Australia) resources
|
||
|
||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
|
||
#ifdef _WIN32
|
||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
|
||
#pragma code_page(1252)
|
||
#endif //_WIN32
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Menu
|
||
//
|
||
|
||
IDR_CALC_STANDARD MENU DISCARDABLE
|
||
BEGIN
|
||
POPUP "&Edit"
|
||
BEGIN
|
||
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
|
||
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
|
||
END
|
||
POPUP "&View"
|
||
BEGIN
|
||
MENUITEM "S&tandard", ID_VIEW_STANDARD, CHECKED
|
||
MENUITEM "&Scientific", ID_VIEW_SCIENTIFIC
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "D&igit grouping", ID_VIEW_DIGIT_GROUPING
|
||
END
|
||
POPUP "&Help"
|
||
BEGIN
|
||
MENUITEM "&Help Topics", ID_HELP_TOPICS
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "&About Calculator", ID_HELP_ABOUT
|
||
END
|
||
END
|
||
|
||
IDR_CALC_SCIENTIFIC MENU DISCARDABLE
|
||
BEGIN
|
||
POPUP "&Edit"
|
||
BEGIN
|
||
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
|
||
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
|
||
END
|
||
POPUP "&View"
|
||
BEGIN
|
||
MENUITEM "S&tandard", ID_VIEW_STANDARD
|
||
MENUITEM "&Scientific", ID_VIEW_SCIENTIFIC, CHECKED
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "&Hex\tF5", ID_VIEW_HEX
|
||
MENUITEM "&Decimal\tF6", ID_VIEW_DECIMAL
|
||
MENUITEM "&Octal\tF7", ID_VIEW_OCTAL
|
||
MENUITEM "&Binary\tF8", ID_VIEW_BINARY
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "D&egrees\tF2", ID_VIEW_DEGREES
|
||
MENUITEM "&Radians\tF3", ID_VIEW_RADIANS
|
||
MENUITEM "&Grads\tF4", ID_VIEW_GRADS
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "D&igit grouping", ID_VIEW_DIGIT_GROUPING
|
||
END
|
||
POPUP "&Help"
|
||
BEGIN
|
||
MENUITEM "&Help Topics", ID_HELP_TOPICS
|
||
MENUITEM SEPARATOR
|
||
MENUITEM "&About Scientific Calculator", ID_HELP_ABOUT
|
||
END
|
||
END
|
||
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// TEXTINCLUDE
|
||
//
|
||
|
||
1 TEXTINCLUDE DISCARDABLE
|
||
BEGIN
|
||
"resource.h\0"
|
||
END
|
||
|
||
2 TEXTINCLUDE DISCARDABLE
|
||
BEGIN
|
||
"\r\n"
|
||
"\0"
|
||
END
|
||
|
||
3 TEXTINCLUDE DISCARDABLE
|
||
BEGIN
|
||
"\r\n"
|
||
"\0"
|
||
END
|
||
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog
|
||
//
|
||
|
||
IDD_STANDARD DIALOG DISCARDABLE 0, 0, 170, 126
|
||
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION |
|
||
WS_SYSMENU
|
||
CAPTION "ReactOS Calculator"
|
||
MENU IDR_CALC_STANDARD
|
||
FONT 8, "MS Sans Serif"
|
||
BEGIN
|
||
CONTROL "M+",IDC_MPLUS,"Button",BS_OWNERDRAW,5,106,
|
||
23,16
|
||
CONTROL "MS",IDC_MS,"Button",BS_OWNERDRAW,5,85,23,
|
||
16
|
||
CONTROL "MR",IDC_MR,"Button",BS_OWNERDRAW,5,65,23,
|
||
16
|
||
CONTROL "MC",IDC_MC,"Button",BS_OWNERDRAW,5,45,23,
|
||
16
|
||
CONTROL "0",IDC_0,"Button",BS_OWNERDRAW,37,106,23,
|
||
16
|
||
CONTROL "1",IDC_1,"Button",BS_OWNERDRAW,37,85,23,16
|
||
CONTROL "4",IDC_4,"Button",BS_OWNERDRAW,37,65,23,16
|
||
CONTROL "7",IDC_7,"Button",BS_OWNERDRAW,37,45,23,16
|
||
CONTROL "+/-",IDC_PLUSMINUS,"Button",BS_OWNERDRAW,
|
||
63,106,23,16
|
||
CONTROL "2",IDC_2,"Button",BS_OWNERDRAW,63,85,23,16
|
||
CONTROL "5",IDC_5,"Button",BS_OWNERDRAW,63,65,23,16
|
||
CONTROL "8",IDC_8,"Button",BS_OWNERDRAW,63,45,23,16
|
||
CONTROL ".",IDC_DECPOINT,"Button",BS_OWNERDRAW,89,
|
||
106,23,16
|
||
CONTROL "3",IDC_3,"Button",BS_OWNERDRAW,89,85,23,16
|
||
CONTROL "6",IDC_6,"Button",BS_OWNERDRAW,89,65,23,16
|
||
CONTROL "9",IDC_9,"Button",BS_OWNERDRAW,89,45,23,16
|
||
CONTROL "+",IDC_PLUS,"Button",BS_OWNERDRAW,115,106,
|
||
23,16
|
||
CONTROL "-",IDC_MINUS,"Button",BS_OWNERDRAW,115,85,
|
||
23,16
|
||
CONTROL "*",IDC_MULTIPLY,"Button",BS_OWNERDRAW,115,
|
||
65,23,16
|
||
CONTROL "/",IDC_DIVIDE,"Button",BS_OWNERDRAW,115,45,
|
||
23,16
|
||
CONTROL "=",IDC_EQUALS,"Button",BS_OWNERDRAW,142,
|
||
106,23,16
|
||
CONTROL "1/x",IDC_INVERT,"Button",BS_OWNERDRAW,142,
|
||
85,23,16
|
||
CONTROL "%",IDC_PERCENT,"Button",BS_OWNERDRAW,142,
|
||
65,23,16
|
||
CONTROL "sqrt",IDC_SQRT,"Button",BS_OWNERDRAW,142,
|
||
45,23,16
|
||
CONTROL "C",IDC_CLEAR,"Button",BS_OWNERDRAW,126,23,
|
||
39,16
|
||
CONTROL "CE",IDC_CE,"Button",BS_OWNERDRAW,83,23,39,
|
||
16
|
||
CONTROL "Backspace",IDC_BSPACE,"Button",BS_OWNERDRAW,38,23,41,16
|
||
CTEXT "M",IDC_MEMTEXT,7,23,19,16,SS_CENTERIMAGE | SS_SUNKEN
|
||
EDITTEXT IDC_RESULT,7,0,157,15,ES_RIGHT | ES_AUTOHSCROLL
|
||
END
|
||
|
||
IDD_SCIENTIFIC DIALOG DISCARDABLE 0, 0, 313, 161
|
||
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "ReactOS Scientific Calculator"
|
||
MENU IDR_CALC_SCIENTIFIC
|
||
FONT 8, "MS Sans Serif"
|
||
BEGIN
|
||
CONTROL "M+",IDC_MPLUS,"Button",BS_OWNERDRAW,122,
|
||
121,23,16
|
||
CONTROL "MS",IDC_MS,"Button",BS_OWNERDRAW,122,101,
|
||
23,16
|
||
CONTROL "MR",IDC_MR,"Button",BS_OWNERDRAW,122,81,23,
|
||
16
|
||
CONTROL "MC",IDC_MC,"Button",BS_OWNERDRAW,122,61,23,
|
||
16
|
||
CONTROL "0",IDC_0,"Button",BS_OWNERDRAW,156,121,23,
|
||
16
|
||
CONTROL "1",IDC_1,"Button",BS_OWNERDRAW,156,101,23,
|
||
16
|
||
CONTROL "4",IDC_4,"Button",BS_OWNERDRAW,156,81,23,
|
||
16
|
||
CONTROL "7",IDC_7,"Button",BS_OWNERDRAW,156,61,23,
|
||
16
|
||
CONTROL "+/-",IDC_PLUSMINUS,"Button",BS_OWNERDRAW,
|
||
182,121,23,16
|
||
CONTROL "2",IDC_2,"Button",BS_OWNERDRAW,182,101,23,
|
||
16
|
||
CONTROL "5",IDC_5,"Button",BS_OWNERDRAW,182,81,23,
|
||
16
|
||
CONTROL "8",IDC_8,"Button",BS_OWNERDRAW,182,61,23,
|
||
16
|
||
CONTROL ".",IDC_DECPOINT,"Button",BS_OWNERDRAW,208,
|
||
121,23,16
|
||
CONTROL "3",IDC_3,"Button",BS_OWNERDRAW,208,101,23,
|
||
16
|
||
CONTROL "6",IDC_6,"Button",BS_OWNERDRAW,208,81,23,
|
||
16
|
||
CONTROL "9",IDC_9,"Button",BS_OWNERDRAW,208,61,23,
|
||
16
|
||
CONTROL "+",IDC_PLUS,"Button",BS_OWNERDRAW,234,121,
|
||
23,16
|
||
CONTROL "-",IDC_MINUS,"Button",BS_OWNERDRAW,234,101,
|
||
23,16
|
||
CONTROL "*",IDC_MULTIPLY,"Button",BS_OWNERDRAW,234,
|
||
81,23,16
|
||
CONTROL "/",IDC_DIVIDE,"Button",BS_OWNERDRAW,234,61,
|
||
23,16
|
||
CONTROL "=",IDC_EQUALS,"Button",BS_OWNERDRAW,260,
|
||
121,23,16
|
||
CONTROL "Lsh",IDC_LSH,"Button",BS_OWNERDRAW,260,101,
|
||
23,16
|
||
CONTROL "Or",IDC_OR,"Button",BS_OWNERDRAW,260,81,23,
|
||
16
|
||
CONTROL "Mod",IDC_MOD,"Button",BS_OWNERDRAW,260,61,
|
||
23,16
|
||
CONTROL "C",IDC_CLEAR,"Button",BS_OWNERDRAW,268,38,
|
||
41,16
|
||
CONTROL "CE",IDC_CE,"Button",BS_OWNERDRAW,224,38,40,
|
||
16
|
||
CONTROL "Backspace",IDC_BSPACE,"Button",BS_OWNERDRAW,178,38,42,16
|
||
CTEXT "M",IDC_MEMTEXT,123,38,19,16,SS_CENTERIMAGE | SS_SUNKEN
|
||
CONTROL "Int",IDC_INT,"Button",BS_OWNERDRAW,286,121,
|
||
23,16
|
||
CONTROL "Not",IDC_NOT,"Button",BS_OWNERDRAW,286,101,
|
||
23,16
|
||
CONTROL "Xor",IDC_XOR,"Button",BS_OWNERDRAW,286,81,
|
||
23,16
|
||
CONTROL "And",IDC_AND,"Button",BS_OWNERDRAW,286,61,
|
||
23,16
|
||
CONTROL "pi",IDC_PI,"Button",BS_OWNERDRAW,122,142,
|
||
23,16
|
||
CONTROL "A",IDC_A,"Button",BS_OWNERDRAW,156,142,23,
|
||
16
|
||
CONTROL "B",IDC_B,"Button",BS_OWNERDRAW,182,142,23,
|
||
16
|
||
CONTROL "C",IDC_C,"Button",BS_OWNERDRAW,208,142,23,
|
||
16
|
||
CONTROL "D",IDC_D,"Button",BS_OWNERDRAW,234,142,23,
|
||
16
|
||
CONTROL "E",IDC_E,"Button",BS_OWNERDRAW,260,142,23,
|
||
16
|
||
CONTROL "F",IDC_F,"Button",BS_OWNERDRAW,286,142,23,
|
||
16
|
||
CONTROL "cos",IDC_COS,"Button",BS_OWNERDRAW,37,121,
|
||
23,16
|
||
CONTROL "sin",IDC_SIN,"Button",BS_OWNERDRAW,37,101,
|
||
23,16
|
||
CONTROL "dms",IDC_DMS,"Button",BS_OWNERDRAW,37,81,
|
||
23,16
|
||
CONTROL "F-E",IDC_FE,"Button",BS_OWNERDRAW,37,61,23,
|
||
16
|
||
CONTROL "x^3",IDC_CUBE,"Button",BS_OWNERDRAW,63,121,
|
||
23,16
|
||
CONTROL "x^y",IDC_POWER,"Button",BS_OWNERDRAW,63,
|
||
101,23,16
|
||
CONTROL "Exp",IDC_EXP,"Button",BS_OWNERDRAW,63,81,
|
||
23,16
|
||
CONTROL "(",IDC_OPENBKT,"Button",BS_OWNERDRAW,63,61,
|
||
23,16
|
||
CONTROL "n!",IDC_BANG,"Button",BS_OWNERDRAW,89,121,
|
||
23,16
|
||
CONTROL "log",IDC_LOG,"Button",BS_OWNERDRAW,89,101,
|
||
23,16
|
||
CONTROL "ln",IDC_LN,"Button",BS_OWNERDRAW,89,81,23,
|
||
16
|
||
CONTROL ")",IDC_CLOSEBK,"Button",BS_OWNERDRAW,89,61,
|
||
23,16
|
||
CONTROL "tan",IDC_TAN,"Button",BS_OWNERDRAW,37,142,
|
||
23,16
|
||
CONTROL "x^2",IDC_SQUARE,"Button",BS_OWNERDRAW,63,
|
||
142,23,16
|
||
CONTROL "1/x",IDC_INVERT,"Button",BS_OWNERDRAW,89,
|
||
142,23,16
|
||
CONTROL "s",IDC_S,"Button",BS_OWNERDRAW,4,121,23,16
|
||
CONTROL "Sum",IDC_SUM,"Button",BS_OWNERDRAW,4,101,
|
||
23,16
|
||
CONTROL "Ave",IDC_AVE,"Button",BS_OWNERDRAW,4,81,23,
|
||
16
|
||
CONTROL "Sta",IDC_STA,"Button",BS_OWNERDRAW,4,61,23,
|
||
16
|
||
CONTROL "Dat",IDC_DAT,"Button",BS_OWNERDRAW,4,142,
|
||
23,16
|
||
CTEXT "9",IDC_BKTTEXT,91,38,19,16,SS_CENTERIMAGE | SS_SUNKEN
|
||
GROUPBOX "",IDC_INVHYP,6,34,80,22,WS_GROUP
|
||
CONTROL "Inv",IDC_INV,"Button",BS_AUTOCHECKBOX,9,42,26,10
|
||
CONTROL "Hyp",IDC_HYP,"Button",BS_AUTOCHECKBOX,47,41,29,10
|
||
GROUPBOX "",IDC_BASE,6,13,141,22,WS_GROUP
|
||
CONTROL "Hex",IDC_HEX,"Button",BS_AUTORADIOBUTTON,8,21,29,10
|
||
CONTROL "Dec",IDC_DEC,"Button",BS_AUTORADIOBUTTON,42,21,29,10
|
||
CONTROL "Oct",IDC_OCT,"Button",BS_AUTORADIOBUTTON,76,21,27,10
|
||
CONTROL "Bin",IDC_BIN,"Button",BS_AUTORADIOBUTTON,109,21,26,10
|
||
GROUPBOX "",IDC_UNITS,150,13,160,22,WS_GROUP
|
||
CONTROL "Degrees",IDC_DEGREES,"Button",BS_AUTORADIOBUTTON,152,21,
|
||
43,10
|
||
CONTROL "Radians",IDC_RADIANS,"Button",BS_AUTORADIOBUTTON,204,21,
|
||
42,10
|
||
CONTROL "Grads",IDC_GRADS,"Button",BS_AUTORADIOBUTTON,255,21,35,
|
||
10
|
||
EDITTEXT IDC_RESULT,6,0,303,15,ES_RIGHT | ES_AUTOHSCROLL
|
||
END
|
||
|
||
|
||
#ifndef _MAC
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Version
|
||
//
|
||
|
||
(1) VERSIONINFO
|
||
FILEVERSION 0,0,19,147
|
||
PRODUCTVERSION 0,0,19,0
|
||
FILEFLAGSMASK 0x3fL
|
||
#ifdef _DEBUG
|
||
FILEFLAGS 0x1L
|
||
#else
|
||
FILEFLAGS 0x0L
|
||
#endif
|
||
FILEOS 0x40004L
|
||
FILETYPE 0x1L
|
||
FILESUBTYPE 0x0L
|
||
BEGIN
|
||
BLOCK "StringFileInfo"
|
||
BEGIN
|
||
BLOCK "040904b0"
|
||
BEGIN
|
||
VALUE "Comments", "Absolutely no warranties whatsoever - Use at your own risk\0"
|
||
VALUE "CompanyName", "ReactOS Development Team\0"
|
||
VALUE "FileDescription", "ReactOS Calculator by Robert Dickenson\0"
|
||
VALUE "FileVersion", "1, 0, 0, 1\0"
|
||
VALUE "InternalName", "calc\0"
|
||
VALUE "LegalCopyright", "Copyright <20> 2002 Robert Dickenson\0"
|
||
VALUE "LegalTrademarks", "\0"
|
||
VALUE "OriginalFilename", "calc.exe\0"
|
||
VALUE "PrivateBuild", "\0"
|
||
VALUE "ProductName", "ReactOS Operating System\0"
|
||
VALUE "ProductVersion", "0.0.19\0"
|
||
VALUE "SpecialBuild", "Non-versioned Development Beta Release\0"
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0xc09, 1200
|
||
END
|
||
END
|
||
|
||
#endif // !_MAC
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// String Table
|
||
//
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
IDS_APP_TITLE "ReactOS Calculator"
|
||
IDS_APP_REG_KEY "\\Calculator"
|
||
IDS_APP_REG_PATH "Software\\ReactWare"
|
||
END
|
||
|
||
#endif // English (Australia) resources
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 3 resource.
|
||
//
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#endif // not APSTUDIO_INVOKED
|
||
|