wordpad: Make print_preview() and preview_page_hittest() static.
This commit is contained in:
parent
a56375fcb5
commit
a413afa3e5
|
@ -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)
|
||||||
|
|
||||||
/* 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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue