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
f5d8fa66
Commit
f5d8fa66
authored
Jun 06, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Constify some variables.
parent
a3160779
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
listview.c
dlls/comctl32/listview.c
+1
-1
rebar.c
dlls/comctl32/rebar.c
+1
-1
status.c
dlls/comctl32/status.c
+1
-1
tab.c
dlls/comctl32/tab.c
+2
-2
toolbar.c
dlls/comctl32/toolbar.c
+4
-4
No files found.
dlls/comctl32/listview.c
View file @
f5d8fa66
...
...
@@ -9942,7 +9942,7 @@ static LRESULT LISTVIEW_ShowWindow(LISTVIEW_INFO *infoPtr, BOOL bShown, INT iSta
* RETURN:
* Current version
*/
static
inline
LRESULT
LISTVIEW_GetVersion
(
LISTVIEW_INFO
*
infoPtr
)
static
inline
LRESULT
LISTVIEW_GetVersion
(
const
LISTVIEW_INFO
*
infoPtr
)
{
return
infoPtr
->
iVersion
;
}
...
...
dlls/comctl32/rebar.c
View file @
f5d8fa66
...
...
@@ -452,7 +452,7 @@ static int get_rect_cy(const REBAR_INFO *infoPtr, const RECT *lpRect)
return
lpRect
->
bottom
-
lpRect
->
top
;
}
static
int
round_child_height
(
REBAR_BAND
*
lpBand
,
int
cyHeight
)
static
int
round_child_height
(
const
REBAR_BAND
*
lpBand
,
int
cyHeight
)
{
int
cy
=
0
;
if
(
lpBand
->
cyIntegral
==
0
)
...
...
dlls/comctl32/status.c
View file @
f5d8fa66
...
...
@@ -333,7 +333,7 @@ STATUSBAR_Refresh (STATUS_INFO *infoPtr, HDC hdc)
static
int
STATUSBAR_InternalHitTest
(
const
STATUS_INFO
*
infoPtr
,
const
LPPOINT
pt
)
STATUSBAR_InternalHitTest
(
const
STATUS_INFO
*
infoPtr
,
const
POINT
*
pt
)
{
int
i
;
if
(
infoPtr
->
simple
)
...
...
dlls/comctl32/tab.c
View file @
f5d8fa66
...
...
@@ -1445,7 +1445,7 @@ static void TAB_SetItemBounds (TAB_INFO *infoPtr)
static
void
TAB_EraseTabInterior
(
const
TAB_INFO
*
infoPtr
,
HDC
hdc
,
INT
iItem
,
RECT
*
drawRect
)
TAB_EraseTabInterior
(
const
TAB_INFO
*
infoPtr
,
HDC
hdc
,
INT
iItem
,
const
RECT
*
drawRect
)
{
LONG
lStyle
=
GetWindowLongW
(
infoPtr
->
hwnd
,
GWL_STYLE
);
HBRUSH
hbr
=
CreateSolidBrush
(
comctl32_color
.
clrBtnFace
);
...
...
@@ -3223,7 +3223,7 @@ TAB_SetExtendedStyle (TAB_INFO *infoPtr, DWORD exMask, DWORD exStyle)
}
static
inline
LRESULT
TAB_GetExtendedStyle
(
TAB_INFO
*
infoPtr
)
TAB_GetExtendedStyle
(
const
TAB_INFO
*
infoPtr
)
{
return
infoPtr
->
exStyle
;
}
...
...
dlls/comctl32/toolbar.c
View file @
f5d8fa66
...
...
@@ -240,7 +240,7 @@ typedef enum
static
const
WCHAR
themeClass
[]
=
{
'T'
,
'o'
,
'o'
,
'l'
,
'b'
,
'a'
,
'r'
,
0
};
static
BOOL
TOOLBAR_GetButtonInfo
(
const
TOOLBAR_INFO
*
infoPtr
,
NMTOOLBARW
*
nmtb
);
static
BOOL
TOOLBAR_IsButtonRemovable
(
const
TOOLBAR_INFO
*
infoPtr
,
int
iItem
,
PCUSTOMBUTTON
btnInfo
);
static
BOOL
TOOLBAR_IsButtonRemovable
(
const
TOOLBAR_INFO
*
infoPtr
,
int
iItem
,
const
CUSTOMBUTTON
*
btnInfo
);
static
HIMAGELIST
TOOLBAR_GetImageList
(
const
PIMLENTRY
*
pies
,
INT
cies
,
INT
id
);
static
PIMLENTRY
TOOLBAR_GetImageListEntry
(
const
PIMLENTRY
*
pies
,
INT
cies
,
INT
id
);
static
VOID
TOOLBAR_DeleteImageList
(
PIMLENTRY
**
pies
,
INT
*
cies
);
...
...
@@ -1770,7 +1770,7 @@ TOOLBAR_LayoutToolbar(TOOLBAR_INFO *infoPtr)
static
INT
TOOLBAR_InternalHitTest
(
TOOLBAR_INFO
*
infoPtr
,
const
POINT
*
lpPt
)
TOOLBAR_InternalHitTest
(
const
TOOLBAR_INFO
*
infoPtr
,
const
POINT
*
lpPt
)
{
TBUTTON_INFO
*
btnPtr
;
INT
i
;
...
...
@@ -3676,7 +3676,7 @@ TOOLBAR_HideButton (TOOLBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
static
inline
LRESULT
TOOLBAR_HitTest
(
TOOLBAR_INFO
*
infoPtr
,
LPARAM
lParam
)
TOOLBAR_HitTest
(
const
TOOLBAR_INFO
*
infoPtr
,
LPARAM
lParam
)
{
return
TOOLBAR_InternalHitTest
(
infoPtr
,
(
LPPOINT
)
lParam
);
}
...
...
@@ -7039,7 +7039,7 @@ static BOOL TOOLBAR_GetButtonInfo(const TOOLBAR_INFO *infoPtr, NMTOOLBARW *nmtb)
}
static
BOOL
TOOLBAR_IsButtonRemovable
(
const
TOOLBAR_INFO
*
infoPtr
,
int
iItem
,
PCUSTOMBUTTON
btnInfo
)
static
BOOL
TOOLBAR_IsButtonRemovable
(
const
TOOLBAR_INFO
*
infoPtr
,
int
iItem
,
const
CUSTOMBUTTON
*
btnInfo
)
{
NMTOOLBARW
nmtb
;
...
...
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