Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
290a5314
Commit
290a5314
authored
Jun 27, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Move menu object declarations to menu.c.
And drop typedefs.
parent
e411b981
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
49 deletions
+0
-49
menu.c
dlls/win32u/menu.c
+0
-0
ntuser_private.h
dlls/win32u/ntuser_private.h
+0
-49
No files found.
dlls/win32u/menu.c
View file @
290a5314
This diff is collapsed.
Click to expand it.
dlls/win32u/ntuser_private.h
View file @
290a5314
...
...
@@ -205,55 +205,6 @@ enum builtin_winprocs
NB_BUILTIN_AW_WINPROCS
=
WINPROC_DESKTOP
};
/* FIXME: make it private to menu.c */
/* Menu item structure */
typedef
struct
menu_item
{
/* ----------- MENUITEMINFO Stuff ----------- */
UINT
fType
;
/* Item type. */
UINT
fState
;
/* Item state. */
UINT_PTR
wID
;
/* Item id. */
HMENU
hSubMenu
;
/* Pop-up menu. */
HBITMAP
hCheckBit
;
/* Bitmap when checked. */
HBITMAP
hUnCheckBit
;
/* Bitmap when unchecked. */
LPWSTR
text
;
/* Item text. */
ULONG_PTR
dwItemData
;
/* Application defined. */
LPWSTR
dwTypeData
;
/* depends on fMask */
HBITMAP
hbmpItem
;
/* bitmap */
/* ----------- Wine stuff ----------- */
RECT
rect
;
/* Item area (relative to the items_rect),
* see MENU_AdjustMenuItemRect(). */
UINT
xTab
;
/* X position of text after Tab */
SIZE
bmpsize
;
/* size needed for the HBMMENU_CALLBACK bitmap */
}
MENUITEM
;
typedef
struct
{
struct
user_object
obj
;
WORD
wFlags
;
/* Menu flags (MF_POPUP, MF_SYSMENU) */
WORD
Width
;
/* Width of the whole menu */
WORD
Height
;
/* Height of the whole menu */
UINT
nItems
;
/* Number of items in the menu */
HWND
hWnd
;
/* Window containing the menu */
struct
menu_item
*
items
;
/* Array of menu items */
UINT
FocusedItem
;
/* Currently focused item */
HWND
hwndOwner
;
/* window receiving the messages for ownerdraw */
BOOL
bScrolling
;
/* Scroll arrows are active */
UINT
nScrollPos
;
/* Current scroll position */
UINT
nTotalHeight
;
/* Total height of menu items inside menu */
RECT
items_rect
;
/* Rectangle within which the items lie. Excludes margins and scroll arrows */
LONG
refcount
;
/* ------------ MENUINFO members ------ */
DWORD
dwStyle
;
/* Extended menu style */
UINT
cyMax
;
/* max height of the whole menu, 0 is screen height */
HBRUSH
hbrBack
;
/* brush for menu background */
DWORD
dwContextHelpID
;
ULONG_PTR
dwMenuData
;
/* application defined value */
HMENU
hSysMenuOwner
;
/* Handle to the dummy sys menu holder */
WORD
textOffset
;
/* Offset of text when items have both bitmaps and text */
}
POPUPMENU
,
*
LPPOPUPMENU
;
/* FIXME: make it private to class.c */
typedef
struct
tagWINDOWPROC
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment