From 50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 11 Feb 2016 12:02:36 +0000 Subject: Mark places that need to be refactored with // PORTME: Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Printer.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Fl_Printer.cxx') diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx index 3a0db54ed..a08bd109c 100644 --- a/src/Fl_Printer.cxx +++ b/src/Fl_Printer.cxx @@ -66,7 +66,7 @@ const char *Fl_Printer::property_cancel = NULL; #else -#if defined(WIN32) || defined(__APPLE__) +#if defined(WIN32) || defined(__APPLE__) // PORTME: platform printing #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement the printer device specifics" #else @@ -116,7 +116,7 @@ const char *Fl_Printer::property_save = "Save"; /** [this text may be customized at run-time] */ const char *Fl_Printer::property_cancel = "Cancel"; -#if defined(__APPLE__) || defined(WIN32) || defined(FL_DOXYGEN) +#if defined(__APPLE__) || defined(WIN32) || defined(FL_DOXYGEN) // PORTME: platform printing const char *Fl_System_Printer::class_id = Fl_Printer::class_id; #endif #if defined(__APPLE__) || defined(WIN32) @@ -126,10 +126,10 @@ const char *Fl_System_Printer::class_id = Fl_Printer::class_id; const char *Fl_PostScript_Printer::class_id = Fl_Printer::class_id; #endif -#if defined(__APPLE__) || defined(WIN32) +#if defined(__APPLE__) || defined(WIN32) // PORTME: platform printing void Fl_System_Printer::set_current(void) { -#ifdef __APPLE__ +#ifdef __APPLE__ // PORTME: platform printing fl_gc = (CGContextRef)gc; #elif defined(WIN32) fl_gc = (HDC)gc; @@ -145,7 +145,7 @@ void Fl_System_Printer::origin(int *x, int *y) #endif Fl_Printer::Fl_Printer(void) { -#if defined(WIN32) || defined(__APPLE__) +#if defined(WIN32) || defined(__APPLE__) // PORTME: platform printing printer = new Fl_System_Printer(); #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement the printer device specifics" -- cgit v1.2.3