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
84a65982
Commit
84a65982
authored
Aug 22, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Aug 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Remove the last, unused parameter from LISTVIEW_VScroll and all its invocations.
parent
b93a9b37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
listview.c
dlls/comctl32/listview.c
+7
-7
No files found.
dlls/comctl32/listview.c
View file @
84a65982
...
@@ -456,7 +456,7 @@ static INT LISTVIEW_GetStringWidthT(const LISTVIEW_INFO *, LPCWSTR, BOOL);
...
@@ -456,7 +456,7 @@ static INT LISTVIEW_GetStringWidthT(const LISTVIEW_INFO *, LPCWSTR, BOOL);
static
BOOL
LISTVIEW_KeySelection
(
LISTVIEW_INFO
*
,
INT
,
BOOL
);
static
BOOL
LISTVIEW_KeySelection
(
LISTVIEW_INFO
*
,
INT
,
BOOL
);
static
UINT
LISTVIEW_GetItemState
(
const
LISTVIEW_INFO
*
,
INT
,
UINT
);
static
UINT
LISTVIEW_GetItemState
(
const
LISTVIEW_INFO
*
,
INT
,
UINT
);
static
BOOL
LISTVIEW_SetItemState
(
LISTVIEW_INFO
*
,
INT
,
const
LVITEMW
*
);
static
BOOL
LISTVIEW_SetItemState
(
LISTVIEW_INFO
*
,
INT
,
const
LVITEMW
*
);
static
LRESULT
LISTVIEW_VScroll
(
LISTVIEW_INFO
*
,
INT
,
INT
,
HWND
);
static
LRESULT
LISTVIEW_VScroll
(
LISTVIEW_INFO
*
,
INT
,
INT
);
static
LRESULT
LISTVIEW_HScroll
(
LISTVIEW_INFO
*
,
INT
,
INT
,
HWND
);
static
LRESULT
LISTVIEW_HScroll
(
LISTVIEW_INFO
*
,
INT
,
INT
,
HWND
);
static
BOOL
LISTVIEW_EnsureVisible
(
LISTVIEW_INFO
*
,
INT
,
BOOL
);
static
BOOL
LISTVIEW_EnsureVisible
(
LISTVIEW_INFO
*
,
INT
,
BOOL
);
static
HIMAGELIST
LISTVIEW_SetImageList
(
LISTVIEW_INFO
*
,
INT
,
HIMAGELIST
);
static
HIMAGELIST
LISTVIEW_SetImageList
(
LISTVIEW_INFO
*
,
INT
,
HIMAGELIST
);
...
@@ -6033,7 +6033,7 @@ static BOOL LISTVIEW_EnsureVisible(LISTVIEW_INFO *infoPtr, INT nItem, BOOL bPart
...
@@ -6033,7 +6033,7 @@ static BOOL LISTVIEW_EnsureVisible(LISTVIEW_INFO *infoPtr, INT nItem, BOOL bPart
{
{
INT
diff
=
nVertDiff
/
nScrollPosHeight
;
INT
diff
=
nVertDiff
/
nScrollPosHeight
;
if
(
nVertDiff
%
nScrollPosHeight
)
diff
+=
nVertAdjust
;
if
(
nVertDiff
%
nScrollPosHeight
)
diff
+=
nVertAdjust
;
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
diff
,
0
);
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
diff
);
}
}
return
TRUE
;
return
TRUE
;
...
@@ -7816,7 +7816,7 @@ static BOOL LISTVIEW_Scroll(LISTVIEW_INFO *infoPtr, INT dx, INT dy)
...
@@ -7816,7 +7816,7 @@ static BOOL LISTVIEW_Scroll(LISTVIEW_INFO *infoPtr, INT dx, INT dy)
}
}
if
(
dx
!=
0
)
LISTVIEW_HScroll
(
infoPtr
,
SB_INTERNAL
,
dx
,
0
);
if
(
dx
!=
0
)
LISTVIEW_HScroll
(
infoPtr
,
SB_INTERNAL
,
dx
,
0
);
if
(
dy
!=
0
)
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
dy
,
0
);
if
(
dy
!=
0
)
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
dy
);
return
TRUE
;
return
TRUE
;
}
}
...
@@ -9449,7 +9449,7 @@ static void scroll_list(LISTVIEW_INFO *infoPtr, INT dx, INT dy)
...
@@ -9449,7 +9449,7 @@ static void scroll_list(LISTVIEW_INFO *infoPtr, INT dx, INT dy)
*
*
*/
*/
static
LRESULT
LISTVIEW_VScroll
(
LISTVIEW_INFO
*
infoPtr
,
INT
nScrollCode
,
static
LRESULT
LISTVIEW_VScroll
(
LISTVIEW_INFO
*
infoPtr
,
INT
nScrollCode
,
INT
nScrollDiff
,
HWND
hScrollWnd
)
INT
nScrollDiff
)
{
{
INT
nOldScrollPos
,
nNewScrollPos
;
INT
nOldScrollPos
,
nNewScrollPos
;
SCROLLINFO
scrollInfo
;
SCROLLINFO
scrollInfo
;
...
@@ -9654,7 +9654,7 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
...
@@ -9654,7 +9654,7 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
* should be fixed in the future.
* should be fixed in the future.
*/
*/
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
(
gcWheelDelta
<
0
)
?
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
(
gcWheelDelta
<
0
)
?
-
LISTVIEW_SCROLL_ICON_LINE_SIZE
:
LISTVIEW_SCROLL_ICON_LINE_SIZE
,
0
);
-
LISTVIEW_SCROLL_ICON_LINE_SIZE
:
LISTVIEW_SCROLL_ICON_LINE_SIZE
);
break
;
break
;
case
LV_VIEW_DETAILS
:
case
LV_VIEW_DETAILS
:
...
@@ -9662,7 +9662,7 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
...
@@ -9662,7 +9662,7 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
{
{
int
cLineScroll
=
min
(
LISTVIEW_GetCountPerColumn
(
infoPtr
),
pulScrollLines
);
int
cLineScroll
=
min
(
LISTVIEW_GetCountPerColumn
(
infoPtr
),
pulScrollLines
);
cLineScroll
*=
(
gcWheelDelta
/
WHEEL_DELTA
);
cLineScroll
*=
(
gcWheelDelta
/
WHEEL_DELTA
);
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
cLineScroll
,
0
);
LISTVIEW_VScroll
(
infoPtr
,
SB_INTERNAL
,
cLineScroll
);
}
}
break
;
break
;
...
@@ -11493,7 +11493,7 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
...
@@ -11493,7 +11493,7 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return
LISTVIEW_ThemeChanged
(
infoPtr
);
return
LISTVIEW_ThemeChanged
(
infoPtr
);
case
WM_VSCROLL
:
case
WM_VSCROLL
:
return
LISTVIEW_VScroll
(
infoPtr
,
(
INT
)
LOWORD
(
wParam
),
0
,
(
HWND
)
lParam
);
return
LISTVIEW_VScroll
(
infoPtr
,
(
INT
)
LOWORD
(
wParam
),
0
);
case
WM_MOUSEWHEEL
:
case
WM_MOUSEWHEEL
:
if
(
wParam
&
(
MK_SHIFT
|
MK_CONTROL
))
if
(
wParam
&
(
MK_SHIFT
|
MK_CONTROL
))
...
...
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