summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-01-31 00:39:57 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-01-31 00:39:57 +0000
commit5c32d3b24ceec2005c38ec7e3335fead43b26d1d (patch)
tree1453890859ba59b6ccc35715730045a91965d5cf /src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
parent6cc67c18f24d76ce890e16fb9e55217b8665680b (diff)
Update build system to compile all drivers as indiviual objects.
Removed obsolete files that served only one purpose: to #include different driver files. Updated CMake and Makefiles to reflect the changes. Build tested with: - MinGW + configure/make - MinGW + CMake/make - Visual Studio 2010 generated by CMake git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11092 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.cxx10
1 files changed, 10 insertions, 0 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 cd84aae0a..385586b2c 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx
@@ -19,6 +19,14 @@
#ifndef FL_CFG_GFX_GDI_LINE_STYLE_CXX
#define FL_CFG_GFX_GDI_LINE_STYLE_CXX
+#include "../../config_lib.h"
+#include <FL/Fl.H>
+#include <FL/fl_draw.H>
+#include <FL/x.H>
+#include <FL/Fl_Printer.H>
+#include "../../flstring.h"
+#include <stdio.h>
+
/**
\file gdi_line_style.cxx
\brief Line style drawing utility hiding different platforms.
@@ -26,6 +34,8 @@
#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) {