|
ReactOS 0.4.16-dev-2491-g3dc6630
|
#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 | 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 1220 of file menu.c.
|
static |
Definition at line 2629 of file menu.c.
Referenced by check_menu_items(), test_AppendMenu(), and test_CheckMenuRadioItem().
Definition at line 2690 of file menu.c.
Referenced by test_CheckMenuRadioItem().
|
static |
Definition at line 2241 of file menu.c.
Referenced by test_menu_input_thread().
Definition at line 2898 of file menu.c.
Definition at line 2837 of file menu.c.
Definition at line 2859 of file menu.c.
|
static |
Definition at line 1190 of file menu.c.
|
static |
Definition at line 3440 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 3691 of file menu.c.
Referenced by test_emptypopup().
|
static |
Definition at line 90 of file menu.c.
Referenced by test_emptypopup(), test_menu_bmp_and_string(), test_menu_ownerdraw(), and test_menu_trackpopupmenu().
|
static |
Definition at line 3387 of file menu.c.
Referenced by test_menu_trackagain().
|
static |
Definition at line 1293 of file menu.c.
|
static |
Definition at line 3264 of file menu.c.
Referenced by test_menu_trackpopupmenu().
Definition at line 193 of file menu.c.
Referenced by START_TEST().
|
static |
Definition at line 1303 of file menu.c.
| START_TEST | ( | menu | ) |
Definition at line 4233 of file menu.c.
|
static |
Definition at line 606 of file menu.c.
Referenced by test_subpopup_locked_by_menu().
Definition at line 3797 of file menu.c.
Referenced by START_TEST().
Definition at line 2702 of file menu.c.
Referenced by START_TEST().
Definition at line 3724 of file menu.c.
Referenced by START_TEST().
Definition at line 212 of file menu.c.
Referenced by START_TEST().
Definition at line 329 of file menu.c.
Referenced by START_TEST().
Definition at line 2943 of file menu.c.
Referenced by START_TEST().
|
static |
Definition at line 794 of file menu.c.
Referenced by test_menu_bmp_and_string().
Definition at line 1063 of file menu.c.
Referenced by START_TEST().
Definition at line 950 of file menu.c.
Referenced by START_TEST().
Definition at line 3462 of file menu.c.
Referenced by START_TEST().
Definition at line 3559 of file menu.c.
Referenced by START_TEST().
Definition at line 2460 of file menu.c.
Referenced by START_TEST().
Definition at line 3070 of file menu.c.
Referenced by START_TEST().
Definition at line 2491 of file menu.c.
Referenced by START_TEST().
Definition at line 2401 of file menu.c.
Referenced by START_TEST().
Definition at line 2270 of file menu.c.
Referenced by test_menu_input().
Definition at line 1365 of file menu.c.
Referenced by START_TEST().
Definition at line 572 of file menu.c.
Referenced by START_TEST().
Definition at line 3531 of file menu.c.
Referenced by START_TEST().
Definition at line 687 of file menu.c.
Referenced by START_TEST().
Definition at line 2749 of file menu.c.
Referenced by START_TEST().
Definition at line 1859 of file menu.c.
Referenced by START_TEST().
Definition at line 3115 of file menu.c.
Referenced by START_TEST().
Definition at line 3410 of file menu.c.
Referenced by START_TEST().
Definition at line 3276 of file menu.c.
Referenced by START_TEST().
Definition at line 3589 of file menu.c.
Referenced by START_TEST().
Definition at line 622 of file menu.c.
Referenced by START_TEST().
Definition at line 385 of file menu.c.
Referenced by START_TEST().
Definition at line 2329 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 54 of file menu.c.
Referenced by test_menu_input_thread(), and WndProc().
|
static |
Definition at line 3438 of file menu.c.
Referenced by menu_cancelmode_wnd_proc(), and test_menu_cancelmode().
|
static |
Definition at line 3385 of file menu.c.
Referenced by menu_track_again_wnd_proc(), and test_menu_trackagain().
|
static |
Definition at line 3439 of file menu.c.
Referenced by menu_cancelmode_wnd_proc(), and test_menu_cancelmode().
|
static |
Definition at line 85 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), and test_emptypopup().
|
static |
Definition at line 83 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), test_emptypopup(), and test_menu_trackpopupmenu().
|
static |
Definition at line 84 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), test_emptypopup(), and test_menu_trackpopupmenu().
|
static |
Definition at line 82 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), test_emptypopup(), and test_menu_trackpopupmenu().
|
static |
Definition at line 56 of file menu.c.
Referenced by test_menu_input_thread(), and WndProc().
|
static |
Definition at line 57 of file menu.c.
Referenced by click_menu(), and test_menu_input().
|
static |
Referenced by test_menu_input_thread().
|
static |
Definition at line 77 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 81 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), and test_mbs_help().
|
static |
Definition at line 77 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), test_mbs_help(), and test_menu_ownerdraw().
Definition at line 75 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), test_menu_bmp_and_string(), and test_menu_ownerdraw().
|
static |
Definition at line 78 of file menu.c.
Referenced by menu_ownerdraw_wnd_proc(), and test_menu_ownerdraw().
|
static |
Definition at line 76 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 66 of file menu.c.
Referenced by test_mbs_help(), and test_menu_bmp_and_string().
|
static |
Definition at line 87 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), and test_emptypopup().
|
static |
Definition at line 86 of file menu.c.
Referenced by menu_fill_in_init(), menu_ownerdraw_wnd_proc(), and test_emptypopup().
Definition at line 65 of file menu.c.
Referenced by IntGetDialogBaseUnits(), and MENU_CalcItemSize().
| LPCSTR text |
Definition at line 64 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().