mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 05:52:15 +00:00
1e37a18171
Sun Aug 18 12:17:54 1996 Alexandre Julliard <julliard@lrc.epfl.ch> * [files/drive.c] Added 'Filesystem' option in drives configuration. * [files/dos_fs.c] Added handling of case-insensitive filesystems. * [memory/selector.c] [include/stackframe.h] Removed MAKE_SEGPTR. * [misc/commdlg.c] [multimedia/mcistring.c] Replaced MAKE_SEGPTR by the SEGPTR_* macros. * [objects/bitblt.c] [windows/graphics.c] Use an intermediary pixmap to avoid some BadMatch errors on XGetImage(). Sun Aug 18 09:21:27 1996 Albrecht Kleine <kleine@ak.sax.de> * [windows/message.c] Added handling of WM_NC...mouse messages in JOURNALRECORD hook. * [misc/ver.c] Fixed a bad string result in VerQueryValue[16|32A|32W]. Fri Aug 16 19:55:04 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de> * [if1632/crtdll.spec] [misc/crtdll.c] More additions to get win95 programs further down the road. * [if1632/kernel.spec] [loader/module.c] GetModuleName() added. LoadModule(): params->showCmd can be NULL. * [if1632/kernel32.spec] [if1632/thunk.c] ThunkConnect32() stub added. * [loader/resource.c] Entries include lastentry. * [misc/shell.c] [files/file.c] Made progman work again. Fri Aug 16 09:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu> * [windows/defwnd.c] [windows/winpos.c] [windows/painting.c] Icon painting fixes. * [windows/winpos.c] [windows/painting.c] Enforce and follow hrgnUpdate more closely to cut down on redundant RedrawWindow() calls. * [windows/event.c] Process ConfigureNotify only for managed windows. * [windows/winpos.c] Do not redraw parent if the window was hidden before SetWindowPos(). * [windows/nonclient.c] Omit some nonclient decoration painting for managed windows. * [controls/menu.c] [windows/mdi.c] [windows/nonclient.c] Implemented WM_NEXTMENU. * [controls/listbox.c] Multicolumn listboxes return WVR_VREDRAW on WM_NCCALCSIZE. * [misc/shell.c] Added .ICO file handling to ExtractIcon().
74 lines
1.8 KiB
C
74 lines
1.8 KiB
C
/*
|
|
* Command-line options.
|
|
*
|
|
* Copyright 1994 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef OPTIONS_H
|
|
#define OPTIONS_H
|
|
|
|
#include "wintypes.h"
|
|
|
|
/* Supported languages */
|
|
typedef enum
|
|
{
|
|
LANG_En, /* English */
|
|
LANG_Es, /* Spanish */
|
|
LANG_De, /* German */
|
|
LANG_No, /* Norwegian */
|
|
LANG_Fr, /* French */
|
|
LANG_Fi, /* Finnish */
|
|
LANG_Da, /* Danish */
|
|
LANG_Cz, /* Czech */
|
|
LANG_Eo, /* Esperanto */
|
|
LANG_It, /* Italian */
|
|
LANG_Ko /* Korean */
|
|
} WINE_LANGUAGE;
|
|
|
|
typedef struct
|
|
{
|
|
const char *name;
|
|
WORD langid;
|
|
} WINE_LANGUAGE_DEF;
|
|
|
|
extern const WINE_LANGUAGE_DEF Languages[];
|
|
|
|
/* Supported modes */
|
|
typedef enum
|
|
{
|
|
MODE_STANDARD,
|
|
MODE_ENHANCED
|
|
} WINE_MODE;
|
|
|
|
struct options
|
|
{
|
|
char * desktopGeometry; /* NULL when no desktop */
|
|
char * programName; /* To use when loading resources */
|
|
int usePrivateMap;
|
|
int useFixedMap;
|
|
int synchronous; /* X synchronous mode */
|
|
int backingstore; /* Use backing store */
|
|
short cmdShow;
|
|
int debug;
|
|
int allowReadOnly; /* Opening a read only file will succeed even
|
|
if write access is requested */
|
|
WINE_MODE mode; /* Start Wine in selected mode
|
|
(standard/enhanced) */
|
|
int ipc; /* Use IPC mechanisms */
|
|
WINE_LANGUAGE language; /* Current language */
|
|
int managed; /* Managed windows */
|
|
int perfectGraphics; /* Favor correctness over speed for graphics */
|
|
};
|
|
|
|
extern struct options Options;
|
|
|
|
/* Profile functions */
|
|
|
|
extern int PROFILE_LoadWineIni(void);
|
|
extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
|
|
const char *def, char *buffer, int len );
|
|
extern int PROFILE_GetWineIniInt( const char *section, const char *key_name,
|
|
int def );
|
|
|
|
#endif
|