Commit a1378190 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

wordpad: Move printing functions to a separate file.

parent 62d90a60
...@@ -10,6 +10,7 @@ EXTRADEFS = -DNO_LIBWINE_PORT ...@@ -10,6 +10,7 @@ EXTRADEFS = -DNO_LIBWINE_PORT
MODCFLAGS = @BUILTINFLAG@ MODCFLAGS = @BUILTINFLAG@
C_SRCS = \ C_SRCS = \
print.c \
wordpad.c wordpad.c
RC_SRCS = rsrc.rc RC_SRCS = rsrc.rc
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <windef.h> #include <windef.h>
#include <winuser.h> #include <winuser.h>
#include "resource.h" #include "wordpad.h"
MAINACCELTABLE ACCELERATORS MAINACCELTABLE ACCELERATORS
BEGIN BEGIN
......
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#define MAX_STRING_LEN 255
#define ID_FILE_EXIT 1000 #define ID_FILE_EXIT 1000
#define ID_FILE_OPEN 1001 #define ID_FILE_OPEN 1001
#define ID_FILE_SAVE 1002 #define ID_FILE_SAVE 1002
...@@ -182,3 +184,16 @@ ...@@ -182,3 +184,16 @@
#define STRING_SAVE_LOSEFORMATTING 1704 #define STRING_SAVE_LOSEFORMATTING 1704
#define STRING_INVALID_NUMBER 1705 #define STRING_INVALID_NUMBER 1705
#define STRING_OLE_STORAGE_NOT_SUPPORTED 1706 #define STRING_OLE_STORAGE_NOT_SUPPORTED 1706
void dialog_printsetup(HWND);
void dialog_print(HWND, LPWSTR);
void target_device(HWND, DWORD);
void print_quick(LPWSTR);
LRESULT preview_command(HWND, WPARAM, LPARAM);
void init_preview(HWND, LPWSTR);
void close_preview(HWND);
BOOL preview_isactive(void);
LRESULT print_preview(HWND);
void get_default_printer_opts(void);
void registry_set_pagemargins(HKEY);
void registry_read_pagemargins(HKEY);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment