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 45