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
d081a735
Commit
d081a735
authored
Dec 18, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Simplify window procedure allocation for the builtin classes.
parent
6b0cdc19
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
15 additions
and
29 deletions
+15
-29
button.c
dlls/user32/button.c
+1
-2
class.c
dlls/user32/class.c
+1
-1
combo.c
dlls/user32/combo.c
+1
-2
controls.h
dlls/user32/controls.h
+1
-2
desktop.c
dlls/user32/desktop.c
+1
-2
dialog.c
dlls/user32/dialog.c
+1
-2
edit.c
dlls/user32/edit.c
+1
-2
icontitle.c
dlls/user32/icontitle.c
+1
-2
listbox.c
dlls/user32/listbox.c
+2
-4
mdi.c
dlls/user32/mdi.c
+1
-2
menu.c
dlls/user32/menu.c
+1
-2
message.c
dlls/user32/message.c
+1
-2
scroll.c
dlls/user32/scroll.c
+1
-2
static.c
dlls/user32/static.c
+1
-2
No files found.
dlls/user32/button.c
View file @
d081a735
...
...
@@ -162,8 +162,7 @@ const struct builtin_class_descr BUTTON_builtin_class =
{
buttonW
,
/* name */
CS_DBLCLKS
|
CS_VREDRAW
|
CS_HREDRAW
|
CS_PARENTDC
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_BUTTON
),
/* procW */
WINPROC_BUTTON
,
/* proc */
NB_EXTRA_BYTES
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/class.c
View file @
d081a735
...
...
@@ -400,7 +400,7 @@ static void register_builtin( const struct builtin_class_descr *descr )
classPtr
->
hCursor
=
LoadCursorA
(
0
,
(
LPSTR
)
descr
->
cursor
);
classPtr
->
hbrBackground
=
descr
->
brush
;
classPtr
->
winproc
=
WINPROC_AllocProc
(
descr
->
procA
,
descr
->
procW
);
classPtr
->
winproc
=
BUILTIN_WINPROC
(
descr
->
proc
);
release_class_ptr
(
classPtr
);
}
...
...
dlls/user32/combo.c
View file @
d081a735
...
...
@@ -94,8 +94,7 @@ const struct builtin_class_descr COMBO_builtin_class =
{
comboboxW
,
/* name */
CS_PARENTDC
|
CS_DBLCLKS
|
CS_HREDRAW
|
CS_VREDRAW
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_COMBO
),
/* procW */
WINPROC_COMBO
,
/* proc */
sizeof
(
HEADCOMBO
*
),
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/controls.h
View file @
d081a735
...
...
@@ -60,8 +60,7 @@ struct builtin_class_descr
{
LPCWSTR
name
;
/* class name */
UINT
style
;
/* class style */
WNDPROC
procA
;
/* ASCII window procedure */
WNDPROC
procW
;
/* Unicode window procedure */
enum
builtin_winprocs
proc
;
INT
extra
;
/* window extra bytes */
ULONG_PTR
cursor
;
/* cursor id */
HBRUSH
brush
;
/* brush or system color */
...
...
dlls/user32/desktop.c
View file @
d081a735
...
...
@@ -46,8 +46,7 @@ const struct builtin_class_descr DESKTOP_builtin_class =
{
(
LPCWSTR
)
DESKTOP_CLASS_ATOM
,
/* name */
CS_DBLCLKS
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
BUILTIN_WINPROC
(
WINPROC_DESKTOP
),
/* procW */
WINPROC_DESKTOP
,
/* proc */
0
,
/* extra */
IDC_ARROW
,
/* cursor */
(
HBRUSH
)(
COLOR_BACKGROUND
+
1
)
/* brush */
...
...
dlls/user32/dialog.c
View file @
d081a735
...
...
@@ -97,8 +97,7 @@ const struct builtin_class_descr DIALOG_builtin_class =
{
(
LPCWSTR
)
DIALOG_CLASS_ATOM
,
/* name */
CS_SAVEBITS
|
CS_DBLCLKS
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_DIALOG
),
/* procW */
WINPROC_DIALOG
,
/* proc */
DLGWINDOWEXTRA
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/edit.c
View file @
d081a735
...
...
@@ -4978,8 +4978,7 @@ const struct builtin_class_descr EDIT_builtin_class =
{
editW
,
/* name */
CS_DBLCLKS
|
CS_PARENTDC
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_EDIT
),
/* procW */
WINPROC_EDIT
,
/* proc */
#ifdef __i386__
sizeof
(
EDITSTATE
*
)
+
sizeof
(
HLOCAL16
),
/* extra */
#else
...
...
dlls/user32/icontitle.c
View file @
d081a735
...
...
@@ -45,8 +45,7 @@ const struct builtin_class_descr ICONTITLE_builtin_class =
{
(
LPCWSTR
)
ICONTITLE_CLASS_ATOM
,
/* name */
0
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
BUILTIN_WINPROC
(
WINPROC_ICONTITLE
),
/* procW */
WINPROC_ICONTITLE
,
/* proc */
0
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/listbox.c
View file @
d081a735
...
...
@@ -138,8 +138,7 @@ const struct builtin_class_descr LISTBOX_builtin_class =
{
listboxW
,
/* name */
CS_DBLCLKS
/*| CS_PARENTDC*/
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_LISTBOX
),
/* procW */
WINPROC_LISTBOX
,
/* proc */
sizeof
(
LB_DESCR
*
),
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
@@ -154,8 +153,7 @@ const struct builtin_class_descr COMBOLBOX_builtin_class =
{
combolboxW
,
/* name */
CS_DBLCLKS
|
CS_SAVEBITS
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_LISTBOX
),
/* procW */
WINPROC_LISTBOX
,
/* proc */
sizeof
(
LB_DESCR
*
),
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/mdi.c
View file @
d081a735
...
...
@@ -186,8 +186,7 @@ const struct builtin_class_descr MDICLIENT_builtin_class =
{
mdiclientW
,
/* name */
0
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_MDICLIENT
),
/* procW */
WINPROC_MDICLIENT
,
/* proc */
sizeof
(
MDICLIENTINFO
),
/* extra */
IDC_ARROW
,
/* cursor */
(
HBRUSH
)(
COLOR_APPWORKSPACE
+
1
)
/* brush */
...
...
dlls/user32/menu.c
View file @
d081a735
...
...
@@ -194,8 +194,7 @@ const struct builtin_class_descr MENU_builtin_class =
{
(
LPCWSTR
)
POPUPMENU_CLASS_ATOM
,
/* name */
CS_DROPSHADOW
|
CS_SAVEBITS
|
CS_DBLCLKS
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
BUILTIN_WINPROC
(
WINPROC_MENU
),
/* procW */
WINPROC_MENU
,
/* proc */
sizeof
(
HMENU
),
/* extra */
IDC_ARROW
,
/* cursor */
(
HBRUSH
)(
COLOR_MENU
+
1
)
/* brush */
...
...
dlls/user32/message.c
View file @
d081a735
...
...
@@ -96,8 +96,7 @@ const struct builtin_class_descr MESSAGE_builtin_class =
{
messageW
,
/* name */
0
,
/* style */
NULL
,
/* procA (winproc is Unicode only) */
BUILTIN_WINPROC
(
WINPROC_MESSAGE
),
/* procW */
WINPROC_MESSAGE
,
/* proc */
0
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/scroll.c
View file @
d081a735
...
...
@@ -124,8 +124,7 @@ const struct builtin_class_descr SCROLL_builtin_class =
{
scrollbarW
,
/* name */
CS_DBLCLKS
|
CS_VREDRAW
|
CS_HREDRAW
|
CS_PARENTDC
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_SCROLLBAR
),
/* procW */
WINPROC_SCROLLBAR
,
/* proc */
sizeof
(
SCROLLBAR_INFO
),
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
dlls/user32/static.c
View file @
d081a735
...
...
@@ -102,8 +102,7 @@ const struct builtin_class_descr STATIC_builtin_class =
{
staticW
,
/* name */
CS_DBLCLKS
|
CS_PARENTDC
,
/* style */
NULL
,
/* procA */
BUILTIN_WINPROC
(
WINPROC_STATIC
),
/* procW */
WINPROC_STATIC
,
/* proc */
STATIC_EXTRA_BYTES
,
/* extra */
IDC_ARROW
,
/* cursor */
0
/* brush */
...
...
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