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
a17f2ecb
Commit
a17f2ecb
authored
Oct 16, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of BaseWindowImpl_OnSize().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b0b2c7d6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
12 deletions
+7
-12
videorenderer.c
dlls/quartz/videorenderer.c
+2
-1
vmr9.c
dlls/quartz/vmr9.c
+2
-1
window.c
dlls/strmbase/window.c
+3
-9
strmbase.h
include/wine/strmbase.h
+0
-1
No files found.
dlls/quartz/videorenderer.c
View file @
a17f2ecb
...
...
@@ -415,7 +415,8 @@ static BOOL WINAPI VideoRenderer_OnSize(BaseWindow *iface, LONG Width, LONG Heig
This
->
DestRect
.
top
,
This
->
DestRect
.
right
-
This
->
DestRect
.
left
,
This
->
DestRect
.
bottom
-
This
->
DestRect
.
top
);
return
BaseWindowImpl_OnSize
(
iface
,
Width
,
Height
);
return
TRUE
;
}
static
const
BaseRendererFuncTable
BaseFuncTable
=
...
...
dlls/quartz/vmr9.c
View file @
a17f2ecb
...
...
@@ -589,7 +589,8 @@ static BOOL WINAPI VMR9_OnSize(BaseWindow *This, LONG Width, LONG Height)
pVMR9
->
target_rect
.
top
,
pVMR9
->
target_rect
.
right
-
pVMR9
->
target_rect
.
left
,
pVMR9
->
target_rect
.
bottom
-
pVMR9
->
target_rect
.
top
);
return
BaseWindowImpl_OnSize
(
This
,
Width
,
Height
);
return
TRUE
;
}
static
const
BaseWindowFuncTable
renderer_BaseWindowFuncTable
=
{
...
...
dlls/strmbase/window.c
View file @
a17f2ecb
...
...
@@ -74,20 +74,14 @@ static LRESULT CALLBACK WndProcW(HWND hwnd, UINT message, WPARAM wparam, LPARAM
case
WM_SIZE
:
if
(
This
->
pFuncsTable
->
pfnOnSize
)
return
This
->
pFuncsTable
->
pfnOnSize
(
This
,
LOWORD
(
lparam
),
HIWORD
(
lparam
));
else
return
BaseWindowImpl_OnSize
(
This
,
LOWORD
(
lparam
),
HIWORD
(
lparam
));
This
->
Width
=
LOWORD
(
lparam
);
This
->
Height
=
HIWORD
(
lparam
);
}
return
DefWindowProcW
(
hwnd
,
message
,
wparam
,
lparam
);
}
BOOL
WINAPI
BaseWindowImpl_OnSize
(
BaseWindow
*
This
,
LONG
Width
,
LONG
Height
)
{
This
->
Width
=
Width
;
This
->
Height
=
Height
;
return
TRUE
;
}
HRESULT
WINAPI
BaseWindow_Init
(
BaseWindow
*
pBaseWindow
,
const
BaseWindowFuncTable
*
pFuncsTable
)
{
if
(
!
pFuncsTable
)
...
...
include/wine/strmbase.h
View file @
a17f2ecb
...
...
@@ -381,7 +381,6 @@ HRESULT WINAPI BaseWindow_Destroy(BaseWindow *pBaseWindow);
HRESULT
WINAPI
BaseWindowImpl_PrepareWindow
(
BaseWindow
*
This
);
HRESULT
WINAPI
BaseWindowImpl_DoneWithWindow
(
BaseWindow
*
This
);
BOOL
WINAPI
BaseWindowImpl_OnSize
(
BaseWindow
*
This
,
LONG
Height
,
LONG
Width
);
enum
strmbase_type_id
{
...
...
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