summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-04-25 17:05:17 +0000
committerManolo Gouy <Manolo>2017-04-25 17:05:17 +0000
commit18a84d073dd67f81685611739c588441e3b881ea (patch)
treec1f2112addba6298d13e6b8e6d2b5db1466164d1 /src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx
parent2ddc89fb6167b9c28795a20318576a98783e6c46 (diff)
Remove Fl_Translated_GDI_Graphics_Driver and have its functions performed by Fl_GDI_Graphics_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx b/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx
index 2d0ab4760..1e7584fa8 100644
--- a/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx
+++ b/src/drivers/GDI/Fl_GDI_Copy_Surface_Driver.cxx
@@ -3,7 +3,7 @@
//
// Copy-to-clipboard code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2017 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -48,7 +48,7 @@ Fl_Copy_Surface_Driver *Fl_Copy_Surface_Driver::newCopySurfaceDriver(int w, int
Fl_GDI_Copy_Surface_Driver::Fl_GDI_Copy_Surface_Driver(int w, int h) : Fl_Copy_Surface_Driver(w, h) {
- driver(new Fl_Translated_GDI_Graphics_Driver);
+ driver(new Fl_GDI_Graphics_Driver);
oldgc = (HDC)Fl_Surface_Device::surface()->driver()->gc();
// exact computation of factor from screen units to EnhMetaFile units (0.01 mm)
HDC hdc = GetDC(NULL);
@@ -96,12 +96,12 @@ void Fl_GDI_Copy_Surface_Driver::set_current() {
void Fl_GDI_Copy_Surface_Driver::translate(int x, int y) {
- ((Fl_Translated_GDI_Graphics_Driver*)driver())->translate_all(x, y);
+ ((Fl_GDI_Graphics_Driver*)driver())->translate_all(x, y);
}
void Fl_GDI_Copy_Surface_Driver::untranslate() {
- ((Fl_Translated_GDI_Graphics_Driver*)driver())->untranslate_all();
+ ((Fl_GDI_Graphics_Driver*)driver())->untranslate_all();
}
#endif // FL_CFG_GFX_GDI