Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
dfacb6ef
Commit
dfacb6ef
authored
22 years ago
by
György 'Nog' Jeney
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Initial implementation of custom control header.
parent
6f5dd37b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/Makefile.in
+1
-0
1 addition, 0 deletions
include/Makefile.in
include/custcntl.h
+127
-0
127 additions, 0 deletions
include/custcntl.h
with
128 additions
and
0 deletions
include/Makefile.in
+
1
−
0
View file @
dfacb6ef
...
...
@@ -14,6 +14,7 @@ INSTALLED_INCLUDES = \
commdlg.h
\
compobj.h
\
cpl.h
\
custcntl.h
\
d3d.h
\
d3d8.h
\
d3d8caps.h
\
...
...
This diff is collapsed.
Click to expand it.
include/custcntl.h
0 → 100644
+
127
−
0
View file @
dfacb6ef
/*
* Copyright (C) 2002 Gyrgy 'Nog' Jeney
*
* 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 _INC_CUSTCNTL
#define _INC_CUSTCNTL
#ifdef __cplusplus
extern
"C"
{
#endif
/* Size defs */
#define CCHCCCLASS 32
#define CCHCCDESC 32
#define CCHCCTEXT 256
/* Custom Control Syte Structure */
typedef
struct
tagCCSYLEA
{
DWORD
flStyle
;
DWORD
flExtStyle
;
char
szText
[
CCHCCTEXT
];
LANGID
lgid
;
WORD
wReserved1
;
}
CCSTYLEA
,
*
LPCCSTYLEA
;
typedef
struct
tagCCSYLEW
{
DWORD
flStyle
;
DWORD
flExtStyle
;
WCHAR
szText
[
CCHCCTEXT
];
LANGID
lgid
;
WORD
wReserved1
;
}
CCSTYLEW
,
*
LPCCSTYLEW
;
#define CCSTYLE WINELIB_NAME_AW(CCSTYLE)
#define LPCCSTYLE WINELIB_NAME_AW(LPCCSTYLE)
typedef
BOOL
(
CALLBACK
*
LPFNCCSTYLEA
)(
HWND
,
LPCCSTYLEA
);
typedef
BOOL
(
CALLBACK
*
LPFNCCSTYLEW
)(
HWND
,
LPCCSTYLEW
);
#define LPFNCCSTYLE WINELIB_NAME_AW(LPFNCCSTYLE)
typedef
int
(
CALLBACK
*
LPFNCCSIZETOTEXTA
)(
DWORD
,
DWORD
,
HFONT
,
LPSTR
);
typedef
int
(
CALLBACK
*
LPFNCCSIZETOTEXTW
)(
DWORD
,
DWORD
,
HFONT
,
LPWSTR
);
#define LPFNCCSIZETOTEXT WINELIB_NAME_AW(LPFNCCSIZETOTEXT)
/* Custom Control style flags sturcture */
typedef
struct
tagCCSTYLEFLAGA
{
DWORD
flStyle
;
DWORD
flStyleMask
;
LPSTR
pszStyle
;
}
CCSTYLEFLAGA
,
*
LPCCSTYLEFLAGA
;
typedef
struct
tagCCSTYLEFLAGW
{
DWORD
flStyle
;
DWORD
flStyleMask
;
LPWSTR
pszStyle
;
}
CCSTYLEFLAGW
,
*
LPCCSTYLEFLAGW
;
#define CCSTYLEFLAG WINELIB_NAME_AW(CCSTYLEFLAG)
/* Custom Control Flags */
#define CCF_NOTEXT 0x00000001
/* CustomControl info structure */
typedef
struct
tagCCINFOA
{
char
szClass
[
CCHCCCLASS
];
DWORD
flOptions
;
char
szDesc
[
CCHCCDESC
];
UINT
cxDefault
;
UINT
cyDefault
;
DWORD
flStyleDefault
;
DWORD
flExtStyleDefault
;
DWORD
flCtrlTypeMask
;
char
szTextDefault
[
CCHCCTEXT
];
int
cStyleFlags
;
LPCCSTYLEFLAGA
aStyleFlags
;
LPFNCCSTYLEA
lpfnStyle
;
LPFNCCSIZETOTEXTA
lpfnSizeToText
;
DWORD
dwReserved1
;
DWORD
dwReserved2
;
}
CCINFOA
,
*
LPCCINFOA
;
typedef
struct
tagCCINFOW
{
WCHAR
szClass
[
CCHCCCLASS
];
DWORD
flOptions
;
WCHAR
szDesc
[
CCHCCDESC
];
UINT
cxDefault
;
UINT
cyDefault
;
DWORD
flStyleDefault
;
DWORD
flExtStyleDefault
;
DWORD
flCtrlTypeMask
;
int
cStyleFlags
;
LPCCSTYLEFLAGW
aStyleFlags
;
WCHAR
szTextDefault
[
CCHCCTEXT
];
LPFNCCSTYLEW
lpfnStyle
;
LPFNCCSIZETOTEXTW
lpfnSizeToText
;
DWORD
dwReserved1
;
DWORD
dwReserved2
;
}
CCINFOW
,
*
LPCCINFOW
;
#define CCINFO WINELIB_NAME_AW(CCINFO)
typedef
UINT
(
CALLBACK
*
LPFNCCINFOA
)(
LPCCINFOA
);
typedef
UINT
(
CALLBACK
*
LPFNCCINFOW
)(
LPCCINFOW
);
#define LPFNCCINFO WINELIB_NAME_AW(LPFNCCINFO)
#ifdef __cplusplus
}
#endif
#endif
/* _INC_CUSTCNTL */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment