/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/printps.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/printps.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 2260 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: printps.h
3 // Purpose: wxPostScriptPrinter, wxPostScriptPrintPreview
4 // wxGenericPageSetupDialog
5 // Author: Julian Smart
6 // Modified by:
7 // Created: 01/02/97
8 // RCS-ID: $Id: printps.h 35650 2005-09-23 12:56:45Z MR $
9 // Copyright: (c) Julian Smart
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef __PRINTPSH__
14 #define __PRINTPSH__
15
16 #include "wx/prntbase.h"
17
18 #if wxUSE_PRINTING_ARCHITECTURE && wxUSE_POSTSCRIPT
19
20 // ----------------------------------------------------------------------------
21 // Represents the printer: manages printing a wxPrintout object
22 // ----------------------------------------------------------------------------
23
24 class WXDLLEXPORT wxPostScriptPrinter : public wxPrinterBase
25 {
26 public:
27 wxPostScriptPrinter(wxPrintDialogData *data = (wxPrintDialogData *) NULL);
28 virtual ~wxPostScriptPrinter();
29
30 virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
31 virtual wxDC* PrintDialog(wxWindow *parent);
32 virtual bool Setup(wxWindow *parent);
33
34 private:
35 DECLARE_DYNAMIC_CLASS(wxPostScriptPrinter)
36 };
37
38 // ----------------------------------------------------------------------------
39 // wxPrintPreview: programmer creates an object of this class to preview a
40 // wxPrintout.
41 // ----------------------------------------------------------------------------
42
43 class WXDLLEXPORT wxPostScriptPrintPreview : public wxPrintPreviewBase
44 {
45 public:
46 wxPostScriptPrintPreview(wxPrintout *printout,
47 wxPrintout *printoutForPrinting = (wxPrintout *) NULL,
48 wxPrintDialogData *data = (wxPrintDialogData *) NULL);
49 wxPostScriptPrintPreview(wxPrintout *printout,
50 wxPrintout *printoutForPrinting,
51 wxPrintData *data);
52
53 virtual ~wxPostScriptPrintPreview();
54
55 virtual bool Print(bool interactive);
56 virtual void DetermineScaling();
57
58 private:
59 void Init(wxPrintout *printout, wxPrintout *printoutForPrinting);
60
61 private:
62 DECLARE_CLASS(wxPostScriptPrintPreview)
63 };
64
65 #endif
66
67 #endif
68 // __PRINTPSH__

  ViewVC Help
Powered by ViewVC 1.1.22