Commit Graph

1512 Commits

Author SHA1 Message Date
Michael R Sweet
7a8ba8be1a Changelog update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:18:09 +00:00
Michael R Sweet
0a5f303608 Possible fix for WIN32 redraw lockup (mainly with menus)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:15:24 +00:00
Michael R Sweet
913561c630 Fix handling of directories with \ in them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-28 15:00:56 +00:00
Michael R Sweet
4f75130870 Limit resizes to 1 line minimum.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 17:26:03 +00:00
Michael R Sweet
3d2f4492ea Oops, missed this one...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:54 +00:00
Michael R Sweet
9e0efc1e88 First fixes for 1.1.2 - Fl_Scrollbar shouldn't take keyboard focus,
move Fl_Slider focus stuff to main handle() method, use Fl_Light_Button
in scroll demo.

Bump version numbers to 1.1.2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-24 12:53:41 +00:00
Michael R Sweet
e001b30f18 Define bool=char, true=1, and false=0 for C++ compilers that don't
support bool.  This isn't as nice as the config.h solution, but it will
make sure that apps that use fltk-config to get the CXXFLAGS will work
on all compilers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 15:18:57 +00:00
Michael R Sweet
c300426e4c Fix Fl_Text_Display cursor drawing bug...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 13:21:14 +00:00
Michael R Sweet
5953e69de0 Include "flstring.h" before the FLTK headers, so that bool is defined
as needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-23 12:23:40 +00:00
Michael R Sweet
02b14d5fdd Add section on the main() function to the editor example.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 20:08:37 +00:00
Michael R Sweet
a79e377dc7 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 17:47:23 +00:00
Michael R Sweet
4c0903ad50 WIN32 redraw fixes.
Fl_Tabs now uses FL_DAMAGE_SCROLL for damage to
the tabs themselves.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 17:39:12 +00:00
Michael R Sweet
3939b6cde5 Dammit, the NEdit code update before 1.1.0 introduced "bool" back into
Fl_Text_*.  Rather than breaking binary compatibility, add the necessary
configure check and code in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-22 13:45:23 +00:00
Michael R Sweet
2ba819c6e7 Add missing documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2681 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-21 18:05:28 +00:00
Michael R Sweet
82eeab48e6 Initialize backbuffer_bad under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-20 06:06:31 +00:00
Michael R Sweet
8276f8b307 Implement Fl_Shared_Image::uncache().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-20 03:13:56 +00:00
Michael R Sweet
e50a290d8a No space between #! and /bin/sh!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-18 17:18:33 +00:00
Michael R Sweet
65c019830b Make sure that font names are zeroed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-16 23:02:49 +00:00
Michael R Sweet
7db8fe569d Preliminary OpenGL single-buffering fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-15 20:45:58 +00:00
Michael R Sweet
1d42e4784b BC++ workaround...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 20:48:14 +00:00
Michael R Sweet
9282371cb5 Use 2.0 drawing code for check marks...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 17:03:47 +00:00
Michael R Sweet
f337f43ad7 Documentation tweek from Emanuele.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 16:20:43 +00:00
Michael R Sweet
be58513af7 Use memmove() instead of memcpy() in several key places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 14:17:24 +00:00
Michael R Sweet
fddb73a5f2 Bug #621737: Add range checking for the width and height arguments to the
::copy() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 13:54:10 +00:00
Michael R Sweet
fe8518f37c Fix bug #621740 - tooltips stay up in WIN32 when USE_TRACK_MOUSE is not
defined.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 13:46:56 +00:00
Michael R Sweet
6e39ebd8a0 Add link from Fl_Help_Dialog to Fl_Group.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 12:49:16 +00:00
Michael R Sweet
1907ad9473 Set flag so that destructor will free memory used by PNM images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 02:30:20 +00:00
Michael R Sweet
5d4b4d571b fl_filename_match() was not doing a case-insensitive comparison on UNIX
(only OSX and Windows...)  This makes cross-platform patterns complicated...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-11 02:12:15 +00:00
Michael R Sweet
3a1b6495c4 Fix focus box redraw bug for buttons with FL_NO_BOX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 20:08:16 +00:00
Michael R Sweet
0d2a4632bb Fix SF bug #620633 - crash on redisplay in Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 20:02:58 +00:00
Michael R Sweet
8b7b26b7bf Take focus when the user presses a shortcut.
Call the callback when the user clicks or drags in a readonly input
field.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:39:49 +00:00
Michael R Sweet
77c3efad19 Matthias's fl_filename_relative() fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:33:22 +00:00
Michael R Sweet
8e0ec8482e Matthias's BMP file loader updates (16-bit + transparency support)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-10 19:26:33 +00:00
Michael R Sweet
66e37af681 Add Fl_Check_Browser.html to book...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:51:10 +00:00
Michael R Sweet
008c2937ea Bump patch version in FL/Enumerations.H...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:47:54 +00:00
Michael R Sweet
b40f5fb69e Documentation updates.
Bump version to 1.1.1.

Fix "no change" button in FLUID.

Set dirty flag when changing nodes in Fl_Preferences.

Add the extra include dir options when doing "fltk-config --compile foo.cxx".


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-07 13:19:22 +00:00
Michael R Sweet
5c8ccb8289 Vertical scrollbars didn't draw inactive arrows...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-06 18:37:14 +00:00
Michael R Sweet
c4003cf4dc Forgot this one, too...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 21:04:26 +00:00
Michael R Sweet
90b7be9aca Update documentation and web site intro.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 21:01:36 +00:00
Michael R Sweet
e4731d3f1a Final doco updates for 1.1.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 17:23:09 +00:00
Michael R Sweet
8d552439c7 New Fl_Widget::redraw_label() method to cleanly redraw the label of a
widget (this should eliminate the extra flicker some users have complained
about...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 15:59:29 +00:00
Michael R Sweet
3a0dd9fe23 Fix compile error.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 02:50:50 +00:00
Michael R Sweet
add787dcf7 Update changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 02:31:58 +00:00
Michael R Sweet
5610521910 Doco updates.
Reset cursor when changing the current pane in an Fl_Wizard widget.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-04 02:30:34 +00:00
Michael R Sweet
14f4321330 Fix "create" handling of new-directory button.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03 15:46:30 +00:00
Michael R Sweet
b6e2aceb4a Fix the filename pattern in FLUID for images.
Better KDE installation directory detection at run-time.

Fix Fl_Preferences::entryExists().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03 15:23:46 +00:00
Michael R Sweet
a04d891607 fl_color_average, not fl_average_color... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03 14:53:26 +00:00
Michael R Sweet
68a510da5d If a submenu won't fit to the right of the parent menu, then display it
to the left (instead of on top of the parent...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-02 20:09:12 +00:00
Michael R Sweet
5fe1f6c1ec Fix handling of a trailing "\" in Fl_Menu_::add()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-01 18:37:27 +00:00
Michael R Sweet
fcd05e51c5 Middle mouse click/drag moves scrollbar directly to the mouse position.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-28 12:04:12 +00:00