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
a413afa3
Commit
a413afa3
authored
Jun 24, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Make print_preview() and preview_page_hittest() static.
parent
a56375fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
print.c
programs/wordpad/print.c
+2
-2
wordpad.h
programs/wordpad/wordpad.h
+0
-1
No files found.
programs/wordpad/print.c
View file @
a413afa3
...
@@ -891,7 +891,7 @@ static void update_preview_buttons(HWND hMainWnd)
...
@@ -891,7 +891,7 @@ static void update_preview_buttons(HWND hMainWnd)
EnableWindow
(
GetDlgItem
(
hReBar
,
ID_PREVIEW_ZOOMOUT
),
preview
.
zoomlevel
>
0
);
EnableWindow
(
GetDlgItem
(
hReBar
,
ID_PREVIEW_ZOOMOUT
),
preview
.
zoomlevel
>
0
);
}
}
LRESULT
print_preview
(
HWND
hwndPreview
)
static
LRESULT
print_preview
(
HWND
hwndPreview
)
{
{
HDC
hdc
;
HDC
hdc
;
RECT
window
,
background
;
RECT
window
,
background
;
...
@@ -1039,7 +1039,7 @@ static void toggle_num_pages(HWND hMainWnd)
...
@@ -1039,7 +1039,7 @@ static void toggle_num_pages(HWND hMainWnd)
/* Returns the page shown that the point is in (1 or 2) or 0 if the point
/* Returns the page shown that the point is in (1 or 2) or 0 if the point
* isn't inside either page */
* isn't inside either page */
int
preview_page_hittest
(
POINT
pt
)
static
int
preview_page_hittest
(
POINT
pt
)
{
{
RECT
rc
;
RECT
rc
;
rc
.
left
=
preview
.
spacing
.
cx
;
rc
.
left
=
preview
.
spacing
.
cx
;
...
...
programs/wordpad/wordpad.h
View file @
a413afa3
...
@@ -247,7 +247,6 @@ LRESULT preview_command(HWND, WPARAM);
...
@@ -247,7 +247,6 @@ LRESULT preview_command(HWND, WPARAM);
void
init_preview
(
HWND
,
LPWSTR
);
void
init_preview
(
HWND
,
LPWSTR
);
void
close_preview
(
HWND
);
void
close_preview
(
HWND
);
BOOL
preview_isactive
(
void
);
BOOL
preview_isactive
(
void
);
LRESULT
print_preview
(
HWND
);
void
get_default_printer_opts
(
void
);
void
get_default_printer_opts
(
void
);
void
registry_set_pagemargins
(
HKEY
);
void
registry_set_pagemargins
(
HKEY
);
void
registry_read_pagemargins
(
HKEY
);
void
registry_read_pagemargins
(
HKEY
);
...
...
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