mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 03:45:57 +00:00
Sun Feb 15 12:02:59 1998 Alexandre Julliard <julliard@lrc.epfl.ch> * [graphics/x11drv/*.c] [objects/*.c] A few X11 critical section optimizations, mostly with XGet/PutPixel. * [scheduler/sysdeps.c] [misc/main.c] Make sure X11 critical section is available before any Xlib call. * [if1632/relay.c] [tools/build.c] Yet another attempt at fixing Catch/Throw. * [loader/pe_image.c] Fixed broken PE DLL loading. * [include/winnt.h] [scheduler/handle.c] [scheduler/*.c] Implemented handle access rights. Added Get/SetHandleInformation. Sun Feb 15 09:45:23 1997 Andreas Mohr <100.30936@germany.net> * [misc/winsock.c] Fixed bug in WSACleanup which lead to crashes in WINSOCK_HandleIO. * [graphics/fontengine.c] [include/font.h] Minor improvements. * [memory/global.c] Implemented GlobalEntryHandle. * [misc/toolhelp.c] Fixed a memory bug in Notify*register. * [misc/w32scomb.c] Improved Get16DLLAddress. * [objects/gdiobj.c] Implemented GdiSeeGdiDo. Sat Feb 14 14:57:39 1998 John Richardson <jrichard@zko.dec.com> * [win32/console.c] Added the console implementation, AllocConsole, FreeConsole, CONSOLE_InheritConsole. * [documentation/console] Some documentation on the console. * [include/winerror.h] Added some error defines. * [scheduler/k32obj.c] Registered the scheduler ops. Fri Feb 13 19:35:35 1998 James Moody <013263m@dragon.acadiau.ca> * [ole/ole2nls.c] Some English language fixes for missing values. * [controls/listbox.c] Fix to allow an empty listbox to deselect all items. * [relay32/user32.spec] [windows/keyboard.c] CreateAcceleratorTableA stub method. * [windows/sysmetrics.c] Added missing SM_CXCURSOR & SM_CYCURSOR initializers. * [windows/message.c] PostThreadMessage32A stub method. Fri Feb 13 17:12:24 1998 Jim Peterson <jspeter@roanoke.infi.net> * [libtest/hello3res.rc] [libtest/hello3.c] [libtest/Makefile.in] Updated the 'hello3' test so that it functions properly again. Fri Feb 13 14:08:07 1998 Martin Boehme <boehme@informatik.mu-luebeck.de> * [graphics/mapping.c] Fixed the embarrassing bugs I introduced into DPtoLP and LPtoDP. * [windows/scroll.c] Prevent ScrollWindow32 from sending WM_ERASEBKGND. Thu Feb 12 22:46:53 1998 Huw D M Davies <h.davies1@physics.oxford.ac.uk> * [objects/metafile] [include/ldt.h] Fix to cope with records longer than 64K. * [windows/clipboard.c] Clean up bitmaps and metapicts properly. Mon Feb 3 21:52:18 1998 Karl Backström <karl_b@geocities.com> * [programs/winhelp/Sw.rc] [resources/sysres_Sw.rc] Minor update of Swedish language support.
118 lines
2.9 KiB
C
118 lines
2.9 KiB
C
/*
|
|
* Notepad (notepad.h)
|
|
*
|
|
* Copyright 1997 Marcel Baur <mbaur@g26.ethz.ch>
|
|
*/
|
|
|
|
#define MAX_STRING_LEN 255
|
|
#define MAX_PATHNAME_LEN 1024
|
|
#define MAX_LANGUAGE_NUMBER (NP_LAST_LANGUAGE - NP_FIRST_LANGUAGE)
|
|
|
|
#define HELPFILE "notepad.hlp"
|
|
#define DEFAULTICON OIC_WINEICON
|
|
|
|
/* hide the following from winerc */
|
|
#ifndef RC_INVOKED
|
|
|
|
typedef struct
|
|
{
|
|
HANDLE hInstance;
|
|
HWND hMainWnd;
|
|
HICON hMainIcon;
|
|
HICON hDefaultIcon;
|
|
HMENU hMainMenu;
|
|
HMENU hFileMenu;
|
|
HMENU hEditMenu;
|
|
HMENU hSearchMenu;
|
|
HMENU hLanguageMenu;
|
|
HMENU hHelpMenu;
|
|
LPCSTR lpszIniFile;
|
|
LPCSTR lpszIcoFile;
|
|
LPCSTR lpszLanguage;
|
|
UINT wStringTableOffset;
|
|
BOOL bWrapLongLines;
|
|
} NOTEPAD_GLOBALS;
|
|
|
|
extern NOTEPAD_GLOBALS Globals;
|
|
|
|
/* function prototypes */
|
|
|
|
/* class names */
|
|
VOID MAIN_SelectLanguageByName(LPCSTR);
|
|
VOID MAIN_SelectLanguageByNumber(UINT);
|
|
|
|
/* Resource names */
|
|
extern CHAR STRING_MENU_Xx[];
|
|
extern CHAR STRING_PAGESETUP_Xx[];
|
|
|
|
#define STRINGID(id) (0x##id + Globals.wStringTableOffset)
|
|
|
|
#else /* RC_INVOKED */
|
|
|
|
#define STRINGID(id) id
|
|
|
|
#endif
|
|
|
|
/* string table index */
|
|
#define IDS_LANGUAGE_ID STRINGID(00)
|
|
#define IDS_LANGUAGE_MENU_ITEM STRINGID(01)
|
|
#define IDS_NOTEPAD STRINGID(02)
|
|
#define IDS_TEXT_FILES_TXT STRINGID(03)
|
|
#define IDS_ALL_FILES STRINGID(04)
|
|
|
|
/* main menu */
|
|
|
|
#define NP_FILE_NEW 100
|
|
#define NP_FILE_OPEN 101
|
|
#define NP_FILE_SAVE 102
|
|
#define NP_FILE_SAVEAS 103
|
|
#define NP_FILE_PRINT 104
|
|
#define NP_FILE_PAGESETUP 105
|
|
#define NP_FILE_PRINTSETUP 106
|
|
#define NP_FILE_EXIT 107
|
|
|
|
#define NP_EDIT_UNDO 200
|
|
#define NP_EDIT_CUT 201
|
|
#define NP_EDIT_COPY 202
|
|
#define NP_EDIT_PASTE 203
|
|
#define NP_EDIT_DELETE 204
|
|
#define NP_EDIT_SELECTALL 205
|
|
#define NP_EDIT_TIMEDATE 206
|
|
#define NP_EDIT_WRAP 207
|
|
|
|
#define NP_SEARCH_SEARCH 300
|
|
#define NP_SEARCH_NEXT 301
|
|
|
|
#define NP_FIRST_LANGUAGE 400
|
|
#define NP_LAST_LANGUAGE 499
|
|
|
|
#define NP_HELP_CONTENTS 500
|
|
#define NP_HELP_SEARCH 501
|
|
#define NP_HELP_ON_HELP 502
|
|
#define NP_HELP_LICENSE 503
|
|
#define NP_HELP_NO_WARRANTY 504
|
|
#define NP_HELP_ABOUT_WINE 505
|
|
|
|
|
|
/* Dialog `Page Setup' */
|
|
|
|
#define NP_PAGESETUP_HEAD 1000
|
|
#define NP_PAGESETUP_HEAD_TXT 1001
|
|
#define NP_PAGESETUP_TAIL 1002
|
|
#define NP_PAGESETUP_TAIL_TXT 1003
|
|
#define NP_PAGESETUP_LEFT 1005
|
|
#define NP_PAGESETUP_LEFT_TXT 1006
|
|
#define NP_PAGESETUP_RIGHT 1007
|
|
#define NP_PAGESETUP_RIGHT_TXT 1008
|
|
#define NP_PAGESETUP_TOP 1009
|
|
#define NP_PAGESETUP_TOP_TXT 1010
|
|
#define NP_PAGESETUP_BOTTOM 1011
|
|
#define NP_PAGESETUP_BOTTOM_TXT 1012
|
|
#define NP_HELP 1013
|
|
#define NP_PAGESETUP_BORDER 1014
|
|
|
|
|
|
/* Local Variables: */
|
|
/* c-file-style: "GNU" */
|
|
/* End: */
|