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
389ffed2
Commit
389ffed2
authored
Mar 09, 2011
by
Erich Hoover
Committed by
Alexandre Julliard
Mar 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add FIXMEs for unsupported animated cursor data.
parent
86a9f20a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
cursoricon.c
dlls/user32/cursoricon.c
+15
-0
No files found.
dlls/user32/cursoricon.c
View file @
389ffed2
...
...
@@ -891,6 +891,7 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO *bmi, HMODULE module, LPCW
#define ANI_anih_ID RIFF_FOURCC('a', 'n', 'i', 'h')
#define ANI_seq__ID RIFF_FOURCC('s', 'e', 'q', ' ')
#define ANI_fram_ID RIFF_FOURCC('f', 'r', 'a', 'm')
#define ANI_rate_ID RIFF_FOURCC('r', 'a', 't', 'e')
#define ANI_FLAG_ICON 0x1
#define ANI_FLAG_SEQUENCE 0x2
...
...
@@ -996,6 +997,7 @@ static HCURSOR CURSORICON_CreateIconFromANI( const LPBYTE bits, DWORD bits_size,
riff_chunk_t
ACON_chunk
=
{
0
};
riff_chunk_t
anih_chunk
=
{
0
};
riff_chunk_t
fram_chunk
=
{
0
};
riff_chunk_t
rate_chunk
=
{
0
};
const
unsigned
char
*
icon_chunk
;
const
unsigned
char
*
icon_data
;
...
...
@@ -1017,6 +1019,19 @@ static HCURSOR CURSORICON_CreateIconFromANI( const LPBYTE bits, DWORD bits_size,
memcpy
(
&
header
,
anih_chunk
.
data
,
sizeof
(
header
)
);
dump_ani_header
(
&
header
);
if
(
!
(
header
.
flags
&
ANI_FLAG_ICON
))
{
FIXME
(
"Raw animated icon/cursor data is not currently supported.
\n
"
);
return
0
;
}
if
(
header
.
flags
&
ANI_FLAG_SEQUENCE
)
FIXME
(
"Animated icon/cursor sequence data is not currently supported, frames may appear out of sequence.
\n
"
);
riff_find_chunk
(
ANI_rate_ID
,
0
,
&
ACON_chunk
,
&
rate_chunk
);
if
(
rate_chunk
.
data
)
FIXME
(
"Animated icon/cursor multiple frame-frate data not currently supported.
\n
"
);
riff_find_chunk
(
ANI_fram_ID
,
ANI_LIST_ID
,
&
ACON_chunk
,
&
fram_chunk
);
if
(
!
fram_chunk
.
data
)
{
...
...
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