ReactOS
0.4.15-dev-4923-g379188a
|
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | TEST_INPUT |
struct | menu_item_pair_s |
struct | menu_mouse_tests_s |
struct | menu_data |
Macros | |
#define | OEMRESOURCE /* For OBM_MNARROW */ |
#define | MOD_SIZE 10 |
#define | MOD_NRMENUS 8 |
#define | TMII_INSMI(c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1, eret1) |
#define | TMII_GMII(c2, l2, d3, e3, f3, g3, h3, i3, j3, k3, l3, m3, expname, eret2, eret3) |
#define | TMII_DONE |
#define | TMII_MODM(flags, id, data) modify_menu( __LINE__, hmenu, ansi, flags, id, data ) |
#define | TMII_SMII(c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1) set_menu_item_info( __LINE__, hmenu, ansi, c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1 ) |
#define | OK 1 |
#define | ER 0 |
#define | create_menu(a) create_menu_from_data((a), ARRAY_SIZE(a)) |
#define | create_menuitem(a) create_menuitem_from_data((a), ARRAY_SIZE(a)) |
#define | compare_menu(h, a) compare_menu_data((h), (a), ARRAY_SIZE(a)) |
#define | NR_MENUS 100 |
Variables | |
static ATOM | atomMenuCheckClass |
static BOOL | bMenuVisible |
static INT | popmenu |
static BOOL | got_input |
static HMENU | hMenus [4] |
struct { | |
LPCSTR text | |
SIZE size | |
SIZE sc_size | |
} | MOD_txtsizes [] |
static unsigned int | MOD_maxid |
static RECT | MOD_rc [MOD_NRMENUS] |
static int | MOD_avec |
static int | MOD_hic |
static int | MOD_odheight |
static SIZE | MODsizes [MOD_NRMENUS] |
static BOOL | MOD_GotDrawItemMsg = FALSE |
static int | gflag_initmenupopup |
static int | gflag_entermenuloop |
static int | gflag_initmenu |
static int | gflag_enteridle |
static WPARAM | selectitem_wp |
static LPARAM | selectitem_lp |
static struct menu_mouse_tests_s | menu_tests [] |
static HMENU | g_hmenu |
static int | g_got_enteridle |
static HWND | g_hwndtosend |
#define compare_menu | ( | h, | |
a | |||
) | compare_menu_data((h), (a), ARRAY_SIZE(a)) |
#define create_menu | ( | a | ) | create_menu_from_data((a), ARRAY_SIZE(a)) |
#define create_menuitem | ( | a | ) | create_menuitem_from_data((a), ARRAY_SIZE(a)) |
#define NR_MENUS 100 |
#define OEMRESOURCE /* For OBM_MNARROW */ |
#define TMII_DONE |
#define TMII_SMII | ( | c1, | |
d1, | |||
e1, | |||
f1, | |||
g1, | |||
h1, | |||
i1, | |||
j1, | |||
k1, | |||
l1, | |||
m1 | |||
) | set_menu_item_info( __LINE__, hmenu, ansi, c1, d1, e1, f1, g1, h1, i1, j1, k1, l1, m1 ) |
|
static |
Definition at line 1248 of file menu.c.
|
static |
Definition at line 2657 of file menu.c.
Referenced by test_AppendMenu(), and test_CheckMenuRadioItem().
Definition at line 2718 of file menu.c.
Referenced by test_CheckMenuRadioItem().
|
static |
Definition at line 2269 of file menu.c.
Referenced by test_menu_input_thread().
Definition at line 2926 of file menu.c.
Definition at line 2865 of file menu.c.
Definition at line 2887 of file menu.c.
Definition at line 3808 of file menu.c.
Referenced by test_AppendMenu().
|
static |
Definition at line 1218 of file menu.c.
|
static |
Definition at line 3457 of file menu.c.
Referenced by test_menu_cancelmode().
|
static |
Definition at line 38 of file menu.c.
Referenced by register_menu_check_class().
|
static |
Definition at line 3708 of file menu.c.
Referenced by test_emptypopup().
|
static |
Definition at line 103 of file menu.c.
Referenced by test_emptypopup(), test_menu_bmp_and_string(), test_menu_ownerdraw(), and test_menu_trackpopupmenu().
|
static |
Definition at line 3404 of file menu.c.
Referenced by test_menu_trackagain().
|
static |
Definition at line 1321 of file menu.c.
|
static |
Definition at line 3281 of file menu.c.
Referenced by test_menu_trackpopupmenu().
Definition at line 206 of file menu.c.
Referenced by START_TEST().
Definition at line 2259 of file menu.c.
Referenced by test_menu_input_thread().
|
static |
Definition at line 1331 of file menu.c.
|
static |
Definition at line 619 of file menu.c.
Referenced by test_subpopup_locked_by_menu().
Definition at line 3814 of file menu.c.
Referenced by START_TEST().
Definition at line 2730 of file menu.c.
Referenced by START_TEST().
Definition at line 3741 of file menu.c.
Referenced by START_TEST().
Definition at line 225 of file menu.c.
Referenced by START_TEST().
Definition at line 342 of file menu.c.
Referenced by START_TEST().
Definition at line 2971 of file menu.c.
Referenced by START_TEST().
|
static |
Definition at line 807 of file menu.c.
Referenced by test_menu_bmp_and_string().
Definition at line 1076 of file menu.c.