mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
fl_line_style() used "." instead of "->" for setting the pen.
Added fl_line_style.cxx to the static and DLL library projects. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -27,7 +27,7 @@ void fl_line_style(int style, int width, char* dashes) {
|
|||||||
}
|
}
|
||||||
HPEN oldpen = (HPEN)SelectObject(fl_gc, newpen);
|
HPEN oldpen = (HPEN)SelectObject(fl_gc, newpen);
|
||||||
DeleteObject(oldpen);
|
DeleteObject(oldpen);
|
||||||
fl_current_xmap.pen = newpen;
|
fl_current_xmap->pen = newpen;
|
||||||
#else
|
#else
|
||||||
int ndashes = dashes ? strlen(dashes) : 0;
|
int ndashes = dashes ? strlen(dashes) : 0;
|
||||||
// emulate the WIN32 dash patterns on X
|
// emulate the WIN32 dash patterns on X
|
||||||
|
|||||||
@@ -311,6 +311,10 @@ SOURCE=..\src\Fl_Light_Button.cxx
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\src\fl_line_style.cxx
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\src\Fl_Menu.cxx
|
SOURCE=..\src\Fl_Menu.cxx
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|||||||
+8
-4
@@ -1,5 +1,5 @@
|
|||||||
# Microsoft Developer Studio Project File - Name="fltkdll" - Package Owner=<4>
|
# Microsoft Developer Studio Project File - Name="fltkdll" - Package Owner=<4>
|
||||||
# Microsoft Developer Studio Generated Build File, Format Version 5.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# ** DO NOT EDIT **
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
||||||
@@ -17,12 +17,12 @@ CFG=fltkdll - Win32 Debug
|
|||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE Possible choices for configuration are:
|
!MESSAGE Possible choices for configuration are:
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
!MESSAGE "fltkdll - Win32 Release" (based on\
|
!MESSAGE "fltkdll - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
||||||
"Win32 (x86) Dynamic-Link Library")
|
|
||||||
!MESSAGE "fltkdll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
!MESSAGE "fltkdll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
||||||
!MESSAGE
|
!MESSAGE
|
||||||
|
|
||||||
# Begin Project
|
# Begin Project
|
||||||
|
# PROP AllowPerConfigDependencies 0
|
||||||
# PROP Scc_ProjName ""
|
# PROP Scc_ProjName ""
|
||||||
# PROP Scc_LocalPath ""
|
# PROP Scc_LocalPath ""
|
||||||
CPP=cl.exe
|
CPP=cl.exe
|
||||||
@@ -70,7 +70,7 @@ LINK32=link.exe
|
|||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MTd /GX /Od /I "." /I ".." /D "FL_DLL" /D "FL_LIBRARY" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /ZI /c
|
# ADD CPP /nologo /MTd /GX /ZI /Od /I "." /I ".." /D "FL_DLL" /D "FL_LIBRARY" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /c
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o /win32 "NUL"
|
||||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
@@ -818,6 +818,10 @@ DEP_CPP_FL_LI=\
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=..\src\fl_line_style.cxx
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\src\Fl_Menu.cxx
|
SOURCE=..\src\Fl_Menu.cxx
|
||||||
DEP_CPP_FL_ME=\
|
DEP_CPP_FL_ME=\
|
||||||
"..\fl\enumerations.h"\
|
"..\fl\enumerations.h"\
|
||||||
|
|||||||
Reference in New Issue
Block a user