Commit Graph

44 Commits

Author SHA1 Message Date
Matthias Melcher b6bde2e456 Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10 23:56:49 +00:00
Fabien Costantini e77a5d14d8 wsock32 static lib dependency removal from win build files.
error msg if wsock load fails changed by Fl::fatal() API use.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-08-28 17:33:56 +00:00
Michael R Sweet bda374b386 Add GLUT support functions from FreeGLUT (STR #1522)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 18:10:07 +00:00
Matthias Melcher d029ff2f16 VisualC 6 project was missing fl_read_image in fltk.ddl project.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:31:13 +00:00
Michael R Sweet 5456a2b8fc Add fl_open_uri() function as discussed on fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-04 14:53:54 +00:00
Matthias Melcher a962c9222e Updated VisualC 6 Workspace for new GTK widget look
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-18 09:49:04 +00:00
Matthias Melcher 6fd58ca7cf Added fl_encoding_... files to VC6 dll build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5082 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:41:04 +00:00
Michael R Sweet cc593f6b64 Add Fl::screen_count() and Fl::screen_xywh() APIs to support multi-
screen displays (currently only X11 support with Xinerama)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-31 16:01:24 +00:00
Michael R Sweet 0184365c80 Fl_Help_View::topline() incorrectly set the changed() flag (STR
#631)

Fl_Choice::value() now supports NULL or -1 to deselect the
current item (STR #637)

More VC++ 6 project file fixes (STR #638)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-12-03 02:48:22 +00:00
Michael R Sweet fc8d065cd7 The configure script did not support --disable-localfoo to
completely disable image file support (STR #582)

The Visual C++ 6.0 project files still listed the old JPEG, PNG,
and ZLIB library names (STR #577)

Fixed the scandir() conditional code for HP-UX 11i (STR #585)

Fl_Text_Display didn't support CTRL/CMD-A/C (STR #601)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:44:18 +00:00
Michael R Sweet a5a683f35f WIN32 compile fixes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-19 18:21:55 +00:00
Michael R Sweet 77aca2728f Fix drive letter entry for file chooser (STR #339)
Fix linker warnings with VC++


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 21:35:45 +00:00
Michael R Sweet d3c1d6b8ad OK DLLs now work again under VC++...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-14 17:05:38 +00:00
Michael R Sweet 6a6e4ab66c Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:04:37 +00:00
Michael R Sweet 88d54cd78b Massive update to use strlcpy() and strlcat() instead of strncpy()
and strncat() in almost all places (there are still a few strncpy's
that need to be used...)

Added configure check for strlcat() and strlcpy().

Added emulation code for strlcat() and strlcpy().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-16 12:47:44 +00:00
Michael R Sweet a368380f80 Update VC++ project files.
Fix double-definition in Fl_File_Chooser.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2160 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 14:15:50 +00:00
Michael R Sweet 44bb5f60de Add Fl_Preferences class to base library.
Add FLTK_DATADIR definition to config.h for system-wide configuration
data.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2126 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-28 16:41:17 +00:00
Michael R Sweet aab290b503 Remove Fl_Output.cxx from VC++ project files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2075 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-12 18:17:35 +00:00
Michael R Sweet 5ca343014f WIN32 project and build fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 19:35:13 +00:00
Matthias Melcher 4603756ed1 - added Win32 native drag'n'drop code
- added dnd support for Fl_Group (not tested with X!)
- added dnd support for Fl_Input (not tested with X!)
- no Mac implementation yet!

Go ahead: drag text or a file from the explorer into
a text widget! Tadaa!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1971 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-24 17:52:18 +00:00
Michael R Sweet d96fa88743 Fix WIN32 build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-09 15:23:11 +00:00
Michael R Sweet d16dbc1486 Add Fl_BMP_Image.cxx to VC++ project files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1920 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-08 17:17:53 +00:00
Michael R Sweet ba2be02ab2 FLTK 2.0 threading support under FLTK 1.1. Needs porting to OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 22:16:49 +00:00
Michael R Sweet 4b23d4c6d5 VC++ fixes, plus add new tiled_image project file.
Use the plastic box type for the tiled_image demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 00:24:43 +00:00
Michael R Sweet 79d6a32be9 Add new plastic box types (kindof a shiny translucent box type...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-28 21:37:35 +00:00
Michael R Sweet 13e7d76397 WIN32 fixes for the new image stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 20:59:59 +00:00
Michael R Sweet f31fe66f8c Put all OpenGL stuff back in FLTKDLL; no separate shared
libraries under WIN32 since WIN32 is so braindead about
export/import crap anyways...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-19 16:26:51 +00:00
Michael R Sweet 9208e9d007 Windows doesn't have case-sensitive filenames, so we can't have two
fl_file_chooser.cxx's...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 12:30:13 +00:00
Michael R Sweet e7f3ad8691 Updates for 1.1.0b2...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 21:17:17 +00:00
Michael R Sweet 91b72d0918 Update VC++ project files.
Add support for FLTK_DOCDIR env var. to FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-23 13:08:03 +00:00
Michael R Sweet e864789db9 Fix Visual C++ projects.
One more fix for makesrcdist...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-19 00:14:12 +00:00
Michael R Sweet 9ab0bb195e WIN32 updates to make the DLL project work again...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-06 23:51:39 +00:00
Michael R Sweet 5994addeca Fixed tooltips under WIN32 - no more toolbar buttons...
Fl_Group::handle() didn't pass FL_RELEASE events to
Fl_Browser_ and similar subclasses of Fl_Group; updated to
pass only to widget that should receive the event.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 15:48:20 +00:00
Michael R Sweet 0771e7cc7d Update WIN32 projects and config file.
Fix sign of Fl::e_dy to match screen coordinate directions under WIN32.

Note: tooltips not working under WIN32...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 02:28:32 +00:00
Michael R Sweet e641d6eb49 Forgot to add fl_compose.cxx to DLL project.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:28:39 +00:00
Michael R Sweet d7f026e02e 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
2000-05-17 21:16:42 +00:00
Michael R Sweet 6c25ba6d73 Added fl_add_idle.cxx to project files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-23 19:42:44 +00:00
Carl E. Thompson 81c7d9b215 Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I
compiled this on BC++ 5.0 upgraded to 5.0B via the two monster patches.
I didn't turn on optimization because my version of BC++ doesn't seem to
do much in the way of optimization (FLUID was only 1k smaller when
optimized for size).  VC++ generates smaller code.

The examples that use OpenGL don't work because Borland's linker can't find
"wglShareLists".  I'm sure this is a simple problem, but I don't know how
to fix it.

Borland's C++ compiler won't allow you to call main() from C++, so I had
to add a c function in "fl_call_main.c" to call it so that you don't have
to do that WinMain crap.  However, when I added this file to the Visual C++
project it converted the whole thing from 5.0 format to 6.0 format.  The
files look the nearly identical so I don't think this should be a problem
for 5.0 users, but if it is then you can revert them back to the previous
version and just add this one source file.

Borland really doesn't suck that bad.  It doesn't look as polished as VC++
and it refused to supress some warnings for no reason, but I forgot how
much I liked the feel of Borlands compilers...  Much more intuitive then
MS VC++.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-29 17:39:46 +00:00
Michael R Sweet d5bcde4f48 Changed WIN32 Debug targets to use incremental linkage.
git-svn-id: file:///fltk/svn/fltk/trunk@299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:49:02 +00:00
Michael R Sweet b3ef28260e Updated DLL stuff yet again... sigh...
git-svn-id: file:///fltk/svn/fltk/trunk@296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 22:07:40 +00:00
Michael R Sweet 40df358bdb Updated headers to only support DLLs under MSVC++.
Updated WIN32 Debug target to not change inlining option
from the default (causes an error with VC++ 6.0)


git-svn-id: file:///fltk/svn/fltk/trunk@292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 14:26:52 +00:00
Michael R Sweet ca41e69c27 Updated headers to support WIN32 and OS/2 DLLs.
Updated VC++ project files.

Removed dummymain.c (no longer needed).


git-svn-id: file:///fltk/svn/fltk/trunk@278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 22:00:04 +00:00
Michael R Sweet bbbec0bbfb Updated project files for new FD stuff - need to link with wsock32.lib.
git-svn-id: file:///fltk/svn/fltk/trunk@200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 19:08:28 +00:00
Michael R Sweet b95db33f2c Lots of changes:
- Added #defines for Visual C++ to speed up compiles.
    - Added FLTK.DLL project to visualc directory.
    - Added editor project to visualc directory.
    - Added icon() method to Fl_Window class.
    - Implemented xclass() method for WIN32.
    - Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx.
    - scandir_win32.c needed to include <stdlib.h>.
    - Added fix from Bill for fl_width() bug.
    - Updated fix for Fl_Input to default to FL_DOWN_BOX.
    - Added visible() check for children of Fl_Pack.
    - Added WinMain() function to library.
    - Now show console window in debug mode.
    - Fixed demo.menu and demo.cxx to work under WIN32.


git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-04 19:25:40 +00:00