Commit Graph

553 Commits

Author SHA1 Message Date
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
Michael R Sweet
888ca55da6 The Fl_Text_Display widget did not redraw selections when focus
changed (STR #390)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-26 02:42:10 +00:00
Michael R Sweet
998f74be9f Fl_Scroll now uses a full redraw when the scheme is set to
plastic and the box type is a frame (STR #205)

Fl_Window::resize() did not work properly with KDE 3.2 (STR
#356)

FLTK didn't delete font bitmaps when the last OpenGL window was
deleted, preventing future text from displaying (STR #310)

FLUID didn't include a full initialization record for the
trailing NULL menu items (STR #375)

Fl_Browser::item_width() did not properly handle format
modifiers (STR #372)

Fl_Browser::item_height() did not handle columns properly (STR
#371)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-15 22:58:19 +00:00
Michael R Sweet
e643c17eea Fl_Gl_Window's on WIN32 now prefer accelerated pixel formats
over generic formats (STR #382)

Fl_Window::resize() did not work on some systems if the window
was not shown (STR #373)

FLUID did not write the user_data type if the user_data field
was empty (STR #374)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-13 21:02:41 +00:00
Michael R Sweet
03a4621432 Documentation updates (STR #365)
The value(const Fl_Menu_Item*) method was not implemented for
Fl_Choice (STR #366)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3402 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-29 02:47:09 +00:00
Michael R Sweet
13fbd26b99 Fl_Pack didn't draw child widget labels the same way as
Fl_Group, causing display problems (STR #360)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3400 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-25 01:39:36 +00:00
Michael R Sweet
04af81c07e Use fl_red/green/bluemask/shift for undefined pixmaps.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-25 01:22:56 +00:00
Michael R Sweet
1477ff9268 Changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3398 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-24 04:11:44 +00:00
Michael R Sweet
2605c0a320 1.1.5rc1 updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3394 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 15:02:54 +00:00
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
26dcd2e085 Fix fl_scroll() on WIN32 (STR #315)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 01:40:12 +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
76d03987d5 Fl_Menu now uses the boxtype to redraw the menu background (STR
#204)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-10 00:54:51 +00:00