Commit Graph

1249 Commits

Author SHA1 Message Date
Michael R Sweet
ba95cce4a8 Fix HTML errors...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 18:51:07 +00:00
Michael R Sweet
ae36f91c3b Fix line endings on OS/2 files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 18:47:02 +00:00
Michael R Sweet
d09063e317 Remove old bc5 files which don't work...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 17:38:17 +00:00
Michael R Sweet
fdf2e2e690 Make all implementations of cut/paste/dnd consistent with global
fl_selection_xyz state vars...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 17:37:42 +00:00
Michael R Sweet
e178550fb5 Fix MacOS cut/paste (fl_selection_requestor not defined, and some
mixup between selection_ and fl_selection_...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 17:35:18 +00:00
Michael R Sweet
44b28b56ef Improve appearance of Fl_Choice when scheme is set to plastic.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 00:50:16 +00:00
Michael R Sweet
96d4075b52 OS/2 update from Alexander Mai.
Add $(EXEEXT) to test program makefile dependencies on FLUID...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-26 00:05:18 +00:00
Michael R Sweet
887fe14a2b Fix Fl_Choice drawing bugs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 22:11:52 +00:00
Michael R Sweet
b6c5ed9c33 Define USE_XDBE to HAVE_XDBE value...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:56:41 +00:00
Michael R Sweet
c33486c904 Fix spelling error in spelling check message...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:55:41 +00:00
Michael R Sweet
a36605449a Don't use the snprintf() and vsnprintf() names; instead, use fl_snprintf()
and fl_vsnprintf() and define snprintf and vsnprintf to fl_...

(Some compilers treat snprintf() and vsnprintf() differently, and we
also don't want to collide with other libraries that might provide their
own implementation...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:55:05 +00:00
Michael R Sweet
915d0a748b Fixup the VC++ project files for fltkforms.lib.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:52:07 +00:00
Michael R Sweet
2454c390a9 Split out forms stuff in MSVC++ project.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:41:50 +00:00
Michael R Sweet
5c360947ee Move forms code to fltk_forms library, a la 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:39:01 +00:00
Michael R Sweet
6c796f88c7 Rename all remaining functions that don't start with fl_ to
fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes
fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX,
etc.)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 21:08:42 +00:00
Michael R Sweet
d7f353ddd1 Add the BC++ project file for the FLTK library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:44:37 +00:00
Michael R Sweet
4fb400528e Maybe get FLUID project working for BC++.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:22:15 +00:00
Michael R Sweet
158ca81620 Remove old GIF reading code that isn't used anymore...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:09:12 +00:00
Michael R Sweet
da22e563d0 Add the first bunch of BC++ Builder files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 20:06:58 +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
Michael R Sweet
9700e540c1 WIN32 fixes for DND.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2016 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 19:17:05 +00:00
Michael R Sweet
b5400e6d2e Add Borland C++ config header.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 18:31:30 +00:00
Michael R Sweet
37a6529627 Update migration docos for 1.1.x.
Reupdate the 2.0 documentation, which MUST be processed by HTMLDOC for
the web site...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 18:30:16 +00:00
Michael R Sweet
98c9f2cc6b Stereo OpenGL patch from Stuart Levy...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2012 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 16:41:01 +00:00
Michael R Sweet
ba2eae871a Wasn't enabling XDND...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2011 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25 02:36:59 +00:00
Michael R Sweet
1d451aada0 Finish changes to FLUID chapter...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-24 21:51:32 +00:00
Michael R Sweet
e07da88179 Doco updates for 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-24 17:26:00 +00:00
Michael R Sweet
1d7aef987d Automatically resize the convenience dialogs as needed...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-23 15:35:08 +00:00
Michael R Sweet
285dd4020e Working on the FLUID chapter, to do a new FLTK 1.1.0 beta release...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-22 22:40:10 +00:00
Bill Spitzak
1a8da69ca3 Same change as for fltk2.0 to fix warning messages from Xft.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-09 21:33:54 +00:00
Michael R Sweet
2addf953f0 Purge and re-make dependencies...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-08 14:38:27 +00:00
Michael R Sweet
35b3c47628 Fix 1.1.x makefile - it had the wrong depend target (Bill, you can use
makedepend or "-I" with no directory with your 2.0 target to eliminate
the system include files...) and thus the dependency file contained
system headers in it...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-08 13:13:15 +00:00
Michael R Sweet
6660f52740 Disable Xft by default.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-08 01:18:09 +00:00
Michael R Sweet
16f67527bf Changelog update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-07 19:58:54 +00:00
Michael R Sweet
f230500ffc Re-add dependency files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-07 19:56:32 +00:00
Bill Spitzak
5f55e1cd63 Back-ported cut & paste code from fltk2.0.
This code splits the cut & paste into two buffers. The "SELECTION" is
used for the currently highlighted text and for middle-mouse paste and
(if possible) for handling drag & drop. The "CLIPBOARD" is for Ctrl+C
and Ctrl+V style cut & paste.

This matches how Motif, GTK, and KDE 3.0 work. But many older X
applications (including KDE 2) can only see SELECTION, this results in
cut & paste incompatability that is familiar to X users. However this
now moves fltk over to the majority camp.  On all systems this
eliminates the annoying inability to select a region and replace it
with Ctrl+V.

On Mac and Win32 the SELECTION is local to the application, so
middle-mouse paste only works between fields in the application. There
may be tricks (special clipboard data types? use drag & drop?) to make
it communicate, but unless there are standards it would be fltk-only.

The file Fl_cutpaste.cxx has been deleted, so update the IDE files!
The Win32 and Mac versions have NOT BEEN TESTED! I tried to be careful
editing them but they may need some work.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-07 19:22:58 +00:00
Michael R Sweet
cab1dedbd1 Fix non-Xft build.
Add "--disable-xft" option to configure script.

Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-06 19:42:30 +00:00
Michael R Sweet
e52b682a99 Add Xft support to 1.1.x.
TODO: Fl::set_fonts() should add all of the fonts returned by Xft;
right now it is a no-op.

BUG: Getting X messages like "XRequest.155: 202 0x260002b" for some
reason on my system.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-06 18:11:01 +00:00
Michael R Sweet
394286265a Fix rendering of background color in table cells.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-05 11:26:41 +00:00
Michael R Sweet
c2221d5552 Fix Fl_Browser item width problem when column_widths() is set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-05 10:42:13 +00:00
Michael R Sweet
2d90deead9 Fix focus "bug" - Fl_Button didn't check to see if the widget would
accept keyboard focus before taking focus when clicked on.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-05 00:46:39 +00:00
Michael R Sweet
ddffcdf328 Fix from Greg - Fl_Help_View didn't preserve the target in a link when
following it.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-04 21:48:50 +00:00
Michael R Sweet
da2e0f27de Remove unused images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-02 15:35:40 +00:00
Matthias Melcher
9f3e38fb4d Updated OSIssues documentation for Mac
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-27 18:31:54 +00:00
Michael R Sweet
0d2f146f61 Changes to get DND to compile under X11; get a coredump when dragging
text between different input demo windows (sometimes the target gets it,
sometimes the target dumps core, too...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-26 05:25:11 +00:00
Matthias Melcher
7a6ed8c941 - added DDrag'N'Drop support for MacOS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-26 00:34:55 +00:00
No Author
5dd2625d03 This commit was manufactured by cvs2svn to create branch 'branch-1.1'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-25 09:00:23 +00:00
Matthias Melcher
2cde58f966 Update documentation to contain DND stuff.
I am missing a decent Linux machine. Could someone please check
if DND works smoothly on those machines?

Just run the 'Input' test and mark and drag text out of the
text widgets into another app. Then drag'n'drop text into the FLTK
widgets. Finally drag text from one widget into another widget
within the same FLTK app.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-24 21:09:51 +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
0372675ee1 Always resize cells in table if set/max width not the same as the
column width.

Pass UNFOCUS events to parent groups, too (for Fl_Tabs)

Conditionally compile in support for TrackMouseEvent(), since support
for it is spotty at best.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-02-20 19:29:57 +00:00