~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/osd/winui/properties.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 
3
 
  M.A.M.E.UI  -  Multiple Arcade Machine Emulator with User Interface
4
 
  Win32 Portions Copyright (C) 1997-2003 Michael Soderstrom and Chris Kirmse,
5
 
  Copyright (C) 2003-2007 Chris Kirmse and the MAME32/MAMEUI team.
6
 
 
7
 
  This file is part of MAMEUI, and may only be used, modified and
8
 
  distributed under the terms of the MAME license, in "readme.txt".
9
 
  By continuing to use, modify or distribute this file you indicate
10
 
  that you have read the license and understand and accept it fully.
11
 
 
12
 
 ***************************************************************************/
13
 
 
14
 
#ifndef PROPERTIES_H
15
 
#define PROPERTIES_H
16
 
 
17
 
/* Get title string to display in the top of the property page,
18
 
 * Called also in ui_audit.c
19
 
 */
20
 
char * GameInfoTitle(OPTIONS_TYPE opt_type, UINT nIndex);
21
 
 
22
 
/* Called in winui.c to create the property page */
23
 
void    InitPropertyPage(HINSTANCE hInst, HWND hWnd, HICON hIcon, OPTIONS_TYPE opt_type, int folder_id, int game_num);
24
 
 
25
 
#define PROPERTIES_PAGE 0
26
 
#define AUDIT_PAGE      1
27
 
 
28
 
void    InitPropertyPageToPage(HINSTANCE hInst, HWND hWnd, HICON hIcon, OPTIONS_TYPE opt_type, int folder_id, int game_num, int start_page);
29
 
void    InitDefaultPropertyPage(HINSTANCE hInst, HWND hWnd);
30
 
 
31
 
/* Get Help ID array for WM_HELP and WM_CONTEXTMENU */
32
 
DWORD_PTR   GetHelpIDs(void);
33
 
 
34
 
/* Get Game status text string */
35
 
const char *GameInfoStatus(int driver_index, BOOL bRomStatus);
36
 
 
37
 
/* Property sheet info for layout.c */
38
 
typedef struct
39
 
{
40
 
        BOOL bOnDefaultPage;
41
 
        BOOL (*pfnFilterProc)(const machine_config *drv, const game_driver *gamedrv);
42
 
        DWORD dwDlgID;
43
 
        DLGPROC pfnDlgProc;
44
 
} PROPERTYSHEETINFO;
45
 
 
46
 
extern const PROPERTYSHEETINFO g_propSheets[];
47
 
 
48
 
BOOL PropSheetFilter_Vector(const machine_config *drv, const game_driver *gamedrv);
49
 
 
50
 
INT_PTR CALLBACK GamePropertiesDialogProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam);
51
 
INT_PTR CALLBACK GameOptionsProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam);
52
 
 
53
 
int PropertiesCurrentGame(HWND hDlg);
54
 
 
55
 
#endif