summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-11-16 19:56:22 +0000
committerManolo Gouy <Manolo>2016-11-16 19:56:22 +0000
commit2baeda448b2680e2cca5cf314dd6430db721feab (patch)
tree1e643118496df481e715b615ec88b3b00c16ec36 /src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
parent44ce401d455c7a017993c3a19f1324dc307db2b5 (diff)
Replace global fl_line_width_ used only by X11 platform by Fl_Xlib_Graphics_Driver::line_width_
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
index 28422599a..26dd842d9 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
@@ -34,15 +34,9 @@
#include "Fl_GDI_Graphics_Driver.H"
-extern int fl_line_width_; // defined in src/fl_line_style.cxx
-
void Fl_GDI_Graphics_Driver::line_style(int style, int width, char* dashes) {
- // save line width in global variable for X11 clipping
- if (width == 0) fl_line_width_ = 1;
- else fl_line_width_ = width>0 ? width : -width;
-
// According to Bill, the "default" cap and join should be the
// "fastest" mode supported for the platform. I don't know why
// they should be different (same graphics cards, etc., right?) MRS