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
25279d31
Commit
25279d31
authored
Jun 07, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/progress: Set default marquee animation timer to 30 msec.
parent
86b7fc38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
progress.c
dlls/comctl32/progress.c
+3
-1
No files found.
dlls/comctl32/progress.c
View file @
25279d31
...
...
@@ -68,6 +68,7 @@ typedef struct
#define LED_GAP 2
#define MARQUEE_LEDS 5
#define ID_MARQUEE_TIMER 1
#define DEFAULT_MARQUEE_PERIOD 30
/* Helper to obtain size of a progress bar chunk ("led"). */
static
inline
int
get_led_size
(
const
PROGRESS_INFO
*
infoPtr
,
LONG
style
,
...
...
@@ -724,8 +725,9 @@ static LRESULT WINAPI ProgressWindowProc(HWND hwnd, UINT message,
case
PBM_SETMARQUEE
:
if
(
wParam
!=
0
)
{
UINT
period
=
lParam
?
(
UINT
)
lParam
:
DEFAULT_MARQUEE_PERIOD
;
infoPtr
->
Marquee
=
TRUE
;
SetTimer
(
infoPtr
->
Self
,
ID_MARQUEE_TIMER
,
(
UINT
)
lParam
,
NULL
);
SetTimer
(
infoPtr
->
Self
,
ID_MARQUEE_TIMER
,
period
,
NULL
);
}
else
{
...
...
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