mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
pcsx related refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@914 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
5cf498af45
commit
5d1672cbc0
4 changed files with 88 additions and 48 deletions
|
@ -1,4 +1,12 @@
|
|||
// (c) Copyright 2006-2009 notaz, All rights reserved.
|
||||
/*
|
||||
* (C) Gražvydas "notaz" Ignotas, 2006-2010
|
||||
*
|
||||
* This work is licensed under the terms of any of these licenses
|
||||
* (at your option):
|
||||
* - GNU GPL, version 2 or later.
|
||||
* - GNU LGPL, version 2.1 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
@ -29,12 +37,18 @@ typedef struct
|
|||
const char *help;
|
||||
} menu_entry;
|
||||
|
||||
#define mee_handler_id_h(name, id, handler, help) \
|
||||
{ name, MB_NONE, id, NULL, 0, 0, 0, 1, 0, 1, handler, NULL, NULL, help }
|
||||
|
||||
#define mee_handler_id(name, id, handler) \
|
||||
{ name, MB_NONE, id, NULL, 0, 0, 0, 1, 0, 1, handler, NULL, NULL, NULL }
|
||||
mee_handler_id_h(name, id, handler, NULL)
|
||||
|
||||
#define mee_handler(name, handler) \
|
||||
mee_handler_id(name, MA_NONE, handler)
|
||||
|
||||
#define mee_handler_h(name, handler, help) \
|
||||
mee_handler_id_h(name, MA_NONE, handler, help)
|
||||
|
||||
#define mee_label(name) \
|
||||
{ name, MB_NONE, MA_NONE, NULL, 0, 0, 0, 1, 0, 0, NULL, NULL, NULL, NULL }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue