Code::Blocks
SVN r11506
include
printing_types.h
Go to the documentation of this file.
1
/*
2
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3
* http://www.gnu.org/licenses/lgpl-3.0.html
4
*/
5
6
#ifndef PRINTING_TYPES_H
7
#define PRINTING_TYPES_H
8
9
#include "
settings.h
"
10
#include <
wx/print.h
>
11
12
// Global printer
13
extern
wxPrinter
*
g_printer
;
14
15
// Global page setup data
16
extern
wxPageSetupData*
g_pageSetupData
;
17
18
// printing scope for print dialog
19
enum
PrintScope
20
{
21
psSelection
,
22
psActiveEditor
,
23
psAllOpenEditors
24
};
25
26
// printing colour mode
27
enum
PrintColourMode
28
{
29
pcmBlackAndWhite
,
30
pcmColourOnWhite
,
31
pcmInvertColours
,
32
pcmAsIs
33
};
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
extern
DLLIMPORT
void
InitPrinting
();
39
extern
DLLIMPORT
void
DeInitPrinting
();
40
#ifdef __cplusplus
41
}
42
#endif
43
44
#endif // PRINTING_TYPES_H
print.h
pcmBlackAndWhite
Definition:
printing_types.h:29
g_pageSetupData
wxPageSetupData * g_pageSetupData
pcmColourOnWhite
Definition:
printing_types.h:30
PrintColourMode
PrintColourMode
Definition:
printing_types.h:27
pcmAsIs
Definition:
printing_types.h:32
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
g_printer
wxPrinter * g_printer
Definition:
printing_types.cpp:20
psActiveEditor
Definition:
printing_types.h:22
settings.h
wxPrinter
PrintScope
PrintScope
Definition:
printing_types.h:19
DeInitPrinting
DLLIMPORT void DeInitPrinting()
Definition:
printing_types.cpp:52
InitPrinting
DLLIMPORT void InitPrinting()
Definition:
printing_types.cpp:25
psSelection
Definition:
printing_types.h:21
psAllOpenEditors
Definition:
printing_types.h:23
pcmInvertColours
Definition:
printing_types.h:31
Generated by
1.8.13