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
7d0b6bd4
Commit
7d0b6bd4
authored
Jul 12, 2008
by
Eric Pouech
Committed by
Alexandre Julliard
Jul 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhelp: Implemented SetPopupColor macro.
parent
448fed20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
hlpfile.h
programs/winhlp32/hlpfile.h
+3
-0
macro.c
programs/winhlp32/macro.c
+4
-2
winhelp.c
programs/winhlp32/winhelp.c
+4
-1
No files found.
programs/winhlp32/hlpfile.h
View file @
7d0b6bd4
...
...
@@ -133,6 +133,9 @@ typedef struct tagHlpFileFile
HLPFILE_WINDOWINFO
*
windows
;
HICON
hIcon
;
BOOL
has_popup_color
;
COLORREF
popup_color
;
LPSTR
help_on_file
;
}
HLPFILE
;
...
...
programs/winhlp32/macro.c
View file @
7d0b6bd4
...
...
@@ -904,9 +904,11 @@ void CALLBACK MACRO_SetHelpOnFile(LPCSTR str)
strcpy
(
Globals
.
active_win
->
page
->
file
->
help_on_file
,
str
);
}
void
CALLBACK
MACRO_SetPopupColor
(
LONG
u1
,
LONG
u2
,
LONG
u3
)
void
CALLBACK
MACRO_SetPopupColor
(
LONG
r
,
LONG
g
,
LONG
b
)
{
WINE_FIXME
(
"(%u, %u, %u)
\n
"
,
u1
,
u2
,
u3
);
WINE_TRACE
(
"(%x, %x, %x)
\n
"
,
r
,
g
,
b
);
Globals
.
active_win
->
page
->
file
->
has_popup_color
=
TRUE
;
Globals
.
active_win
->
page
->
file
->
popup_color
=
RGB
(
r
,
g
,
b
);
}
void
CALLBACK
MACRO_ShellExecute
(
LPCSTR
str1
,
LPCSTR
str2
,
LONG
u1
,
LONG
u2
,
LPCSTR
str3
,
LPCSTR
str4
)
...
...
programs/winhlp32/winhelp.c
View file @
7d0b6bd4
...
...
@@ -228,7 +228,10 @@ static HLPFILE_WINDOWINFO* WINHELP_GetPopupWindowInfo(HLPFILE* hlpfile,
wi
.
style
=
SW_SHOW
;
wi
.
win_style
=
WS_POPUP
|
WS_BORDER
;
wi
.
sr_color
=
parent
->
info
->
sr_color
;
if
(
parent
->
page
->
file
->
has_popup_color
)
wi
.
sr_color
=
parent
->
page
->
file
->
popup_color
;
else
wi
.
sr_color
=
parent
->
info
->
sr_color
;
wi
.
nsr_color
=
0xFFFFFF
;
return
&
wi
;
...
...
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