|
ReactOS 0.4.16-dev-1946-g52006dd
|
#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 TMII_DONE |
|
static |
Definition at line 1248 of file menu.c.
|
static |
Definition at line 2657 of file menu.c.
Referenced by check_menu_items(), 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.
|
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().
|
static |
Definition at line 1331 of file menu.c.
| START_TEST | ( | menu | ) |
Definition at line 4250 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.
Referenced by START_TEST().
Definition at line 963 of file menu.c.
Referenced by START_TEST().
Definition at line 3479 of file menu.c.
Referenced by START_TEST().
Definition at line 3576 of file menu.c.
Referenced by START_TEST().
Definition at line 2488 of file menu.c.
Referenced by START_TEST().
Definition at line 3087 of file menu.c.
Referenced by START_TEST().
Definition at line 2519 of file menu.c.
Referenced by START_TEST().
Definition at line 2429 of file menu.c.
Referenced by START_TEST().
Definition at line 2298 of file menu.c.
Referenced by test_menu_input().
Definition at line 1393 of file menu.c.
Referenced by START_TEST().
Definition at line 585 of file menu.c.
Referenced by START_TEST().
Definition at line 3548 of file menu.c.
Referenced by START_TEST().
Definition at line 700 of file menu.c.
Referenced by START_TEST().
Definition at line 2777 of file menu.c.
Referenced by START_TEST().
Definition at line 1887 of file menu.c.
Referenced by START_TEST().
Definition at line 3132 of file menu.c.
Referenced by START_TEST().
Definition at line 3427 of file menu.c.
Referenced by START_TEST().
Definition at line 3293 of file menu.c.
Referenced by START_TEST().
Definition at line 3606 of file menu.c.
Referenced by START_TEST().
Definition at line 635 of file menu.c.
Referenced by START_TEST().
Definition at line 398 of file menu.c.
Referenced by START_TEST().
Definition at line 2357 of file menu.c.
Referenced by test_menu_hilitemenuitem(), and test_menu_input().
|
static |
Definition at line 36 of file menu.c.
Referenced by register_menu_check_class(), test_emptypopup(), test_getmenubarinfo(), test_GetMenuItemRect(), test_menu_bmp_and_string(), test_menu_cancelmode(), test_menu_locked_by_window(), test_menu_ownerdraw(), test_menu_trackagain(), test_menu_trackpopupmenu(), test_subpopup_locked_by_menu(), and test_system_menu().
|
static |
Definition at line 67 of file menu.c.
Referenced by test_menu_input_thread(), and WndProc().
|
static |
Definition at line 3455 of file menu.c.
Referenced by menu_cancelmode_wnd_proc(), and test_menu_cancelmode().
|
static |
Definition at line 3402 of file menu.c.
Referenced by menu_track_again_wnd_proc(), and test_menu_trackagain().
|
static |
Definition at line 3456 of file menu.c.
Referenced by menu_cancelmode_wnd_proc(), and test_menu_cancelmode().
|
static |
Definition at line 98 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), and test_emptypopup().
|
static |
Definition at line 96 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), test_emptypopup(), and test_menu_trackpopupmenu().
|
static |
Definition at line 97 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), test_emptypopup(), and test_menu_trackpopupmenu().
|
static |
Definition at line 95 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), test_emptypopup(), and test_menu_trackpopupmenu().
|
static |
Definition at line 69 of file menu.c.
Referenced by test_menu_input_thread(), and WndProc().
|
static |
Definition at line 70 of file menu.c.
Referenced by click_menu(), and test_menu_input().
|
static |
Referenced by test_menu_input_thread().
|
static |
Definition at line 90 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), test_mbs_help(), test_menu_bmp_and_string(), and test_menu_ownerdraw().
Definition at line 94 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), and test_mbs_help().
|
static |
Definition at line 90 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), test_mbs_help(), and test_menu_ownerdraw().
Definition at line 88 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), test_menu_bmp_and_string(), and test_menu_ownerdraw().
|
static |
Definition at line 91 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), and test_menu_ownerdraw().
|
static |
Definition at line 89 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), test_mbs_help(), and test_menu_ownerdraw().
| struct { ... } MOD_txtsizes[] |
Referenced by menu_ownerdraw_wnd_proc(), and test_menu_bmp_and_string().
|
static |
| SIZE sc_size |
Definition at line 79 of file menu.c.
Referenced by test_mbs_help(), and test_menu_bmp_and_string().
|
static |
Definition at line 100 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), and test_emptypopup().
|
static |
Definition at line 99 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), and test_emptypopup().
Definition at line 78 of file menu.c.
Referenced by IntGetDialogBaseUnits(), and MENU_CalcItemSize().
| LPCSTR text |
Definition at line 77 of file menu.c.
Referenced by GetMenuItemInfo_common(), GetMenuStringA(), GetMenuStringW(), MENU_FindItemByKey(), menu_ownerdraw_wnd_proc(), test_mbs_help(), and test_menu_bmp_and_string().