Commit Graph

565 Commits

Author SHA1 Message Date
Michael R Sweet
a50a8b702a Changelog.
Prep for 1.1.7.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-29 15:01:43 +00:00
Matthias Melcher
7aca156564 Fl_Text_Display would hang if the user pressed Ctrl-left with the cursor
in the first columna and line (pos 0)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 23:10:26 +00:00
Michael R Sweet
a42ded75e2 Added the 2.0 Fl_Widget::copy_label() method to allow FLTK 1.x
applications to have their label strings managed by FLTK (STR
#630)

Added Fl::delete_widget() method to safely delete widgets in
callback methods (STR #629)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 19:47:52 +00:00
Michael R Sweet
5cc0f07c8a Fl_Widget::damage(uchar,int,int,int,int) didn't clip the
bounding box properly (STR #626)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 19:09:55 +00:00
Michael R Sweet
85c0090b7c More watcom fixes (STR #627)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-23 18:48:10 +00:00
Michael R Sweet
6849c43a05 Check for a NULL off-screen buffer before copying...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 15:33:24 +00:00
Michael R Sweet
876e29acef Fix FLUID menu items with images bug (STR #564)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 14:53:48 +00:00
Michael R Sweet
33173bf4e5 Update the documentation for add_timeout().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 14:44:38 +00:00
Michael R Sweet
4dd8dd654f Fl_Sys_Menu_Bar didn't compile on case-sensitive file-systems
(STR #622)

More Watcom changes (STR #623)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-21 14:32:22 +00:00
Michael R Sweet
bc1a32f000 FLUID didn't handle default function parameters properly (STR
#579)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 16:19:04 +00:00
Michael R Sweet
696e2d3219 - Moving or resizing widgets in FLUID didn't always update the
widget panel (STR #600)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 15:42:25 +00:00
Michael R Sweet
64f0dbc2a5 - FLTK windows could appear off-screen on X11 (STR #586)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 04:18:44 +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
23bb059065 Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)

fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)

Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:19:59 +00:00
Michael R Sweet
b2f9a532e7 Shortcuts were incorrectly underlined in multi-line labels (STR
#566)

Remove Winline from GCC options.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:40:36 +00:00
Michael R Sweet
ca005c4067 Documentation updates (STR #568)
More CMake updates (STR #499)

The Watcom C++ compiler needed a small change (STR #567)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:29:58 +00:00
Michael R Sweet
bf910884cc Documentation updates (STR #570)
Added DESTDIR support and now remove all man pages for the
"uninstall" target (STR #545)

Fix PNG drawing on buggy WIN32 graphics cards (STR #548)

The configure script didn't propagate the CPPFLAGS environment
variable (STR #549)

The numpad keys didn't work properly on WIN32 (STR #502)

fl_input() and friends now set the input focus to the text field
when the dialog is shown (STR #553)

Fixed background color mixup when drawing Fl_Choice menus (STR
#544)

Fixed MingW makefiles (STR #550)

More VC++ project file tweaking (STR #559)

Fl_PNG_Image didn't use the png_set_trns_to_alpha function when
available (STR #547)

The FL_UNFOCUS event wasn't always sent when switching tabs (STR
#558)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:22:25 +00:00
Michael R Sweet
18ad096722 Now look for 8 bits of alpha when the developer has requested
FL_RGB8 (STR #541)

The last line in an Fl_Help_View widget was not aligned properly
(STR #536)

The "search" symbol looked like a Q (STR #536)

Changed Fl_Help_View::get_color() to use a lookup table to avoid
serious Borland C++ 5.5 compiler bugs (STR #533)

Fixed Watcom compiler warnings with FL/Fl_Widget.H (STR #540)

The image class copy() methods did not always make a separate
copy of the image data (STR #539)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-24 16:00:11 +00:00
Michael R Sweet
4e70f60070 libpng 1.2.7
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-24 03:04:23 +00:00
Michael R Sweet
fdd10af508 fl_old_shortcut() might read past the end of the shortcut string.
Add comment concerning pointer arithmetic in Fl_Input_::put().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-21 13:35:40 +00:00
Michael R Sweet
1ca225e19d Added (unsupported) CMake files (STR #499)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-13 02:12:41 +00:00
Michael R Sweet
70dd6151c1 Tooltips would not reappear on the same widget, and the initial
tooltip delay was not used after a tooltip was shown (STR #465)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-12 20:26:23 +00:00
Michael R Sweet
35af1c00cc Fixed a compile problem with the Linux 2.6 threading support
(STR #483)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-12 03:46:21 +00:00
Michael R Sweet
421904a7c1 Fixed problems with 2-byte Xpm files on 64-bit platforms (STR
#525)

FLTK didn't handle the ReparentNotify event on X11 (STR #524)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-11 19:32:43 +00:00
Michael R Sweet
88ff012c44 Update PNG to 1.2.6 + wutil patch.
Update ZLIB to 1.2.1.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-08 16:04:43 +00:00
Michael R Sweet
a8b58dc223 Documentation updates (STR #505, STR #513)
The old source file "fl_set_gray.cxx" is not needed (STR #516)

Fl_Text_Display still called delete[] instead of free() in one
place (STR #503)

Fl_File_Chooser didn't correctly call isprint() and isspace()
when checking to see if the current file was text that can be
previewed (STR #517)

FLUID didn't compile with Borland C++ due to a compiler bug (STR
#496)

Fl_Positioner did not handle reversed min and max values (STR
#510)

fl_descent(), fl_height(), and fl_width() would crash a program
if you didn't call fl_font() first; they now return -1 if no
font is set (STR #500)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-07 20:59:18 +00:00
Michael R Sweet
d7fe9245b4 Install image header files in FL/images so that FLTK apps will use the
same headers as the image libraries FLTK uses.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-06 11:20:53 +00:00
Matthias Melcher
c29b4b5e16 FLTK1.1 Quartz support:
- added a 'test/unittests' which wil check for identical drawing on all
  platforms. This was desperatly needed to fix tremendous problems in
  getting the Quartz drawing routines right
- disabled anti-aliasing for functions that draw straight lines at integer
  coordinates


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-26 22:24:24 +00:00
Michael R Sweet
504abf708f Fl_Menu_::find_item() didn't determine the menu path properly
(STR #481)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-09 03:16:22 +00:00
Michael R Sweet
db983c71b1 Changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-29 18:18:07 +00:00
Michael R Sweet
1c77b75f73 Fl_Text_Display did not handle drawing of overlapping text
(italic next to plain, etc.) properly (STR #381)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-27 18:40:29 +00:00
Michael R Sweet
62c19c63d6 More doco updates.
All of the core widgets now consistently set changed() before
calling the callback function for a change in value; this allows
programs to check the changed() state in a callback to see why
they are being called (STR #475)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-27 16:02:21 +00:00
Michael R Sweet
a529510e5b More documentation updates...
Fl_File_Chooser did not handle some cases for filename
completion (STR #376)

Fl_Help_View didn't properly compute the default maximum width
of the page properly, resulting in non-wrapped text in table
cells (STR #464)

Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A
shortcut to move to the first column, since there is a key for
that and the widget does not emulate any other Emacs keys (STR
#421)

Fl_File_Chooser always disabled the OK button when the user
pressed DELETE or BACKSPACE (STR #397)

Added Fl_Browser::swap() methods (STR #459)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26 20:52:52 +00:00
Michael R Sweet
8f4fa00574 Fl_Counter didn't use a thin down box for the text field if the
box type was set to FL_THIN_UP_BOX (STR #467)

Fl_Help_View now resets the scrollbars if they go outside the
current view (STR #464)

fl_dir_chooser() did not show the previous selection as
documented (STR #443)

Fl_Text_Display used delete[] instead of free() in some places
(STR #466)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 21:12:24 +00:00
Michael R Sweet
7ee19d1140 Fix local image library build bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 19:26:27 +00:00
Michael R Sweet
c1525a2062 Add copies of the JPEG, PNG, and Z libraries...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 14:12:39 +00:00
Michael R Sweet
24fcc5aa29 The fltk-config script did not include the "-mno-cygwin" option
under CygWin (STR #434)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 13:20:28 +00:00
Michael R Sweet
8d6e6e40c5 Fl_Help_View::find() did not check for a NULL value (STR #442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 23:27:48 +00:00
Michael R Sweet
dbcc6cab01 Fix FLTK symbol - need to use complex polygons for concave shapes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 23:21:52 +00:00
Matthias Melcher
47276e733d In order to make the whitte text field at the bottom left of the
Help Dialog clearer, I added a magnifying glass in front of the
field sybolising "search".

I made the scaleable magnifying glass available as a symbol via
"@search"

I added yet another symbol that draw a vectorized version of
the FLTK logo. Available via "@FLTK".

Lastly, I changed the 'symbol' test program to show the additional
symbols, and added a slider to changae the relative symbol size.

I hope the new symbols look good enough on other platforms, too. I
tested only OS X.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-04 06:49:34 +00:00
Michael R Sweet
0384c86957 Changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-19 12:26:01 +00:00
Matthias Melcher
6d3a6c8a5b Fixed Mac NumLock mixup (Macs do not have a PC style NumLock)
Added keylookups and keycodes for FL_Menu and FL_Delete keys.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-19 01:50:31 +00:00
Michael R Sweet
5e81201a04 Fl_File_Icon::draw() did not support drawing of complex polygons
in icon descriptions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-14 15:58:52 +00:00
Michael R Sweet
849c90e53b The configure script now offers options for JPEG, PNG, and ZLIB
libraries (STR #416)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-09 12:09:39 +00:00
Matthias Melcher
e85d7a8752 The first menuitem in a menulist would not honor teh MENU_INVISIBLE flag.
I added the function Fl_Menu_Item::first() whi returns the first visible
menuitem, just like ::next() returns the next visible item, and added the
::first() call in the Menu code.

first() is an inline function that calls next(0). I updated next() to
correctly handle list where the current item is invisible.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-07 19:23:12 +00:00
Matthias Melcher
8b298e1b9b Documentation fix (STR #412).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3447 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-07 17:17:24 +00:00
Michael R Sweet
eeef51de66 Fl_Text_Buffer::replace() now range checks its input (STR #385)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 20:33:26 +00:00
Michael R Sweet
c3fea65696 Fl_Widget::handle() doco update (STR #399)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:52:43 +00:00
Michael R Sweet
213be08972 FLTK now builds with the current release of MinGW (STR #325, STR
#401, STR #402)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:49:51 +00:00
Michael R Sweet
ca116a1b6c FLTK now honors the numlock key state (STR #369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 01:08:50 +00:00