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
0352a708
Commit
0352a708
authored
Feb 14, 2012
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Feb 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Apply 3D effects to sample text area.
parent
5b3082a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
comdlg32.rc
dlls/comdlg32/comdlg32.rc
+1
-1
fontdlg.c
dlls/comdlg32/fontdlg.c
+1
-15
No files found.
dlls/comdlg32/comdlg32.rc
View file @
0352a708
...
...
@@ -264,7 +264,7 @@ FONT 8, "MS Shell Dlg"
COMBOBOX cmb4,6,124,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Sample",grp2,98,72,120,36,WS_GROUP
CTEXT "",stc5,103,8
0
,109,24,SS_NOPREFIX | NOT WS_VISIBLE
CTEXT "",stc5,103,8
1
,109,24,SS_NOPREFIX | NOT WS_VISIBLE
LTEXT "Scr&ipt:",stc7 ,98,114,40,9
COMBOBOX cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
...
...
dlls/comdlg32/fontdlg.c
View file @
0352a708
...
...
@@ -1115,7 +1115,6 @@ static LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSE
{
PAINTSTRUCT
ps
;
HDC
hdc
;
HPEN
hOrigPen
;
HFONT
hOrigFont
;
LOGFONTW
lf
=
*
(
lpcf
->
lpLogFont
);
...
...
@@ -1127,22 +1126,9 @@ static LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSE
ps
.
rcPaint
.
right
,
ps
.
rcPaint
.
bottom
);
/* Paint frame */
MoveToEx
(
hdc
,
info
.
rcWindow
.
left
,
info
.
rcWindow
.
bottom
,
NULL
);
hOrigPen
=
SelectObject
(
hdc
,
CreatePen
(
PS_SOLID
,
2
,
GetSysColor
(
COLOR_3DSHADOW
)
));
LineTo
(
hdc
,
info
.
rcWindow
.
left
,
info
.
rcWindow
.
top
);
LineTo
(
hdc
,
info
.
rcWindow
.
right
,
info
.
rcWindow
.
top
);
DeleteObject
(
SelectObject
(
hdc
,
CreatePen
(
PS_SOLID
,
2
,
GetSysColor
(
COLOR_3DLIGHT
)
)));
LineTo
(
hdc
,
info
.
rcWindow
.
right
,
info
.
rcWindow
.
bottom
);
LineTo
(
hdc
,
info
.
rcWindow
.
left
,
info
.
rcWindow
.
bottom
);
DeleteObject
(
SelectObject
(
hdc
,
hOrigPen
));
DrawEdge
(
hdc
,
&
info
.
rcWindow
,
EDGE_SUNKEN
,
BF_RECT
|
BF_ADJUST
);
/* Draw the sample text itself */
info
.
rcWindow
.
right
--
;
info
.
rcWindow
.
bottom
--
;
info
.
rcWindow
.
top
++
;
info
.
rcWindow
.
left
++
;
hOrigFont
=
SelectObject
(
hdc
,
CreateFontIndirectW
(
&
lf
)
);
SetTextColor
(
hdc
,
lpcf
->
rgbColors
);
...
...
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