Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dac19768
Commit
dac19768
authored
Jul 20, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of cursoricon.h.
parent
4fad9ddc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
89 additions
and
93 deletions
+89
-93
olepicture.c
dlls/oleaut32/olepicture.c
+23
-1
cursoricon.c
dlls/user/cursoricon.c
+26
-1
exticon.c
dlls/user/exticon.c
+1
-1
user16.c
dlls/user/user16.c
+0
-1
user_private.h
dlls/user/user_private.h
+39
-0
cursoricon.h
include/cursoricon.h
+0
-89
No files found.
dlls/oleaut32/olepicture.c
View file @
dac19768
...
...
@@ -76,7 +76,6 @@
#include "wine/unicode.h"
#include "wine/wingdi16.h"
#include "cursoricon.h"
#ifdef HAVE_JPEGLIB_H
/* This is a hack, so jpeglib.h does not redefine INT32 and the like*/
...
...
@@ -93,6 +92,29 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
#include "pshpack1.h"
typedef
struct
{
BYTE
bWidth
;
BYTE
bHeight
;
BYTE
bColorCount
;
BYTE
bReserved
;
WORD
xHotspot
;
WORD
yHotspot
;
DWORD
dwDIBSize
;
DWORD
dwDIBOffset
;
}
CURSORICONFILEDIRENTRY
;
typedef
struct
{
WORD
idReserved
;
WORD
idType
;
WORD
idCount
;
CURSORICONFILEDIRENTRY
idEntries
[
1
];
}
CURSORICONFILEDIR
;
#include "poppack.h"
/*************************************************************************
* Declaration of implementation class
*/
...
...
dlls/user/cursoricon.c
View file @
dac19768
...
...
@@ -60,7 +60,6 @@
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "wine/exception.h"
#include "cursoricon.h"
#include "wine/debug.h"
#include "user_private.h"
...
...
@@ -68,6 +67,32 @@ WINE_DEFAULT_DEBUG_CHANNEL(cursor);
WINE_DECLARE_DEBUG_CHANNEL
(
icon
);
WINE_DECLARE_DEBUG_CHANNEL
(
resource
);
#include "pshpack1.h"
typedef
struct
{
BYTE
bWidth
;
BYTE
bHeight
;
BYTE
bColorCount
;
BYTE
bReserved
;
WORD
xHotspot
;
WORD
yHotspot
;
DWORD
dwDIBSize
;
DWORD
dwDIBOffset
;
}
CURSORICONFILEDIRENTRY
;
typedef
struct
{
WORD
idReserved
;
WORD
idType
;
WORD
idCount
;
CURSORICONFILEDIRENTRY
idEntries
[
1
];
}
CURSORICONFILEDIR
;
#include "poppack.h"
#define CID_RESOURCE 0x0001
#define CID_WIN32 0x0004
#define CID_NONSHARED 0x0008
static
RECT
CURSOR_ClipRect
;
/* Cursor clipping rect */
...
...
dlls/user/exticon.c
View file @
dac19768
...
...
@@ -39,7 +39,7 @@
#include "winerror.h"
#include "winuser.h"
#include "wine/winbase16.h"
#include "
cursoricon
.h"
#include "
user_private
.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
icon
);
...
...
dlls/user/user16.c
View file @
dac19768
...
...
@@ -31,7 +31,6 @@
#include "user_private.h"
#include "win.h"
#include "winproc.h"
#include "cursoricon.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
user
);
...
...
dlls/user/user_private.h
View file @
dac19768
...
...
@@ -240,4 +240,43 @@ extern int SPY_Init(void);
#define HINSTANCE_32(h16) ((HINSTANCE)(ULONG_PTR)(h16))
#define HMODULE_32(h16) ((HMODULE)(ULONG_PTR)(h16))
#include "pshpack1.h"
typedef
struct
{
BYTE
bWidth
;
BYTE
bHeight
;
BYTE
bColorCount
;
BYTE
bReserved
;
}
ICONRESDIR
;
typedef
struct
{
WORD
wWidth
;
WORD
wHeight
;
}
CURSORDIR
;
typedef
struct
{
union
{
ICONRESDIR
icon
;
CURSORDIR
cursor
;
}
ResInfo
;
WORD
wPlanes
;
WORD
wBitCount
;
DWORD
dwBytesInRes
;
WORD
wResId
;
}
CURSORICONDIRENTRY
;
typedef
struct
{
WORD
idReserved
;
WORD
idType
;
WORD
idCount
;
CURSORICONDIRENTRY
idEntries
[
1
];
}
CURSORICONDIR
;
#include "poppack.h"
extern
void
CURSORICON_FreeModuleIcons
(
HMODULE16
hModule
);
#endif
/* __WINE_USER_PRIVATE_H */
include/cursoricon.h
deleted
100644 → 0
View file @
4fad9ddc
/*
* Cursor and icon definitions
*
* Copyright 1995 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_CURSORICON_H
#define __WINE_CURSORICON_H
#include <windef.h>
#include <pshpack1.h>
typedef
struct
{
BYTE
bWidth
;
BYTE
bHeight
;
BYTE
bColorCount
;
BYTE
bReserved
;
}
ICONRESDIR
;
typedef
struct
{
WORD
wWidth
;
WORD
wHeight
;
}
CURSORDIR
;
typedef
struct
{
union
{
ICONRESDIR
icon
;
CURSORDIR
cursor
;
}
ResInfo
;
WORD
wPlanes
;
WORD
wBitCount
;
DWORD
dwBytesInRes
;
WORD
wResId
;
}
CURSORICONDIRENTRY
;
typedef
struct
{
WORD
idReserved
;
WORD
idType
;
WORD
idCount
;
CURSORICONDIRENTRY
idEntries
[
1
];
}
CURSORICONDIR
;
typedef
struct
{
BYTE
bWidth
;
BYTE
bHeight
;
BYTE
bColorCount
;
BYTE
bReserved
;
WORD
xHotspot
;
WORD
yHotspot
;
DWORD
dwDIBSize
;
DWORD
dwDIBOffset
;
}
CURSORICONFILEDIRENTRY
;
typedef
struct
{
WORD
idReserved
;
WORD
idType
;
WORD
idCount
;
CURSORICONFILEDIRENTRY
idEntries
[
1
];
}
CURSORICONFILEDIR
;
#include <poppack.h>
#define CID_RESOURCE 0x0001
#define CID_WIN32 0x0004
#define CID_NONSHARED 0x0008
extern
void
CURSORICON_FreeModuleIcons
(
HMODULE16
hModule
);
#endif
/* __WINE_CURSORICON_H */
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