Commit Graph

602 Commits

Author SHA1 Message Date
Matthias Melcher
6e8ae36abd STR #1796: fixed documentation for size_range
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-18 10:02:54 +00:00
Michael R Sweet
b3c0a67be8 Add delete/release comments for Fl_Image::copy() (STR #1827)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:19:36 +00:00
Michael R Sweet
b71ca52b7e Add documentation for Fl::event_dx, event_dy, and event_text (STR #1843)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 17:10:13 +00:00
Michael R Sweet
681e6ae946 Add clip_children() method (STR #1844)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-12-15 16:42:00 +00:00
Michael R Sweet
82eb2dde8c Note that Fl_Pack only works with frame box types (STR #1794)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-21 05:00:55 +00:00
Matthias Melcher
4da946c5de Typo...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20 11:09:07 +00:00
Matthias Melcher
ba396b3ea4 STR #1767: Adding "remove" function for the Fl_Check_Browser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5980 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 15:49:51 +00:00
Matthias Melcher
b92ee9f21c Fixed some typos and some funny language (my own) in the documentation of the test applications. ADded a hidden [+] key support for 'Blocks' so that I can increase the level to my prefered one (6) and not have to play through 1-5 ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5976 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-19 14:14:13 +00:00
Matthias Melcher
7455482458 STR #1777: Updated documentation to explain deselecting a line in an Fl_Multi_Browser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 18:49:55 +00:00
Matthias Melcher
a965dff175 STR #1742: Updated documentation to reflect the true nature of "selection()" and "value()" for Fl_Multi_Browser which can be quite surprisin for unsuspecting customers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 18:39:23 +00:00
Matthias Melcher
05cf7832af STR #1792: fixed documentation of FL_HORIZONTAL vs. the correct Fl_Pack::HORIZONTAL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:58:45 +00:00
Matthias Melcher
072398649c STR #1793: Updated docs to reflect the default for Fl_Pack::resizable() to be NULL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:43:10 +00:00
Matthias Melcher
a9456e49f4 STR #1718: added short documentation to Basics that briefly explains automatic parenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5944 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:54:25 +00:00
Matthias Melcher
f6de9c9692 Updated Fl_Menu_ documentation with a warning to not change the structure of a menu during a callback by itself.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:42:05 +00:00
Matthias Melcher
ab3eb7e719 Fixed missing slash in documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-07-19 18:48:15 +00:00
Matthias Melcher
a914d9c27f STR #1688: added missing /UL in documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-23 19:39:55 +00:00
Matthias Melcher
cbfbef8f20 Documentation typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 18:27:37 +00:00
Matthias Melcher
9c7640d047 Added link to documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 18:01:28 +00:00
Matthias Melcher
9ca173a702 Updated Cygwin/Mingw makefiles and documentation (STR #1683)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-18 19:04:14 +00:00
Matthias Melcher
a5c7b92f37 Documentation fix (STR #1686)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-18 18:57:40 +00:00
Matthias Melcher
73016d4919 Documentation fix (STR #1687)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-18 18:52:53 +00:00
Matthias Melcher
ac18bf7609 Replaced '>' with '>' in the documentation where appropriate (STR# 1682, 1684, 1685)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-17 15:52:15 +00:00
Matthias Melcher
2c7bea98fe STR #1678: improved fl_down, fl_frame, added fl_box, updated documentation. Fixed indent in Fl_Input_Choice.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 08:30:48 +00:00
Matthias Melcher
1feb3ed69c More documentation for creating a custom box type. I am sure this could be written more elegantly, but my English seems to get worse every day ;-/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 08:17:45 +00:00
Matthias Melcher
6312531457 Some very minor documentation updates. More to come.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-15 10:08:49 +00:00
Matthias Melcher
22c55a3ca3 STR #1667: fixed wrong link in fl_ask documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-04 09:07:21 +00:00
Matthias Melcher
2559710cac Fl_Help_View was documented as being derived from Fl_Group in teh docs and FL_Widget in the hierarchy view. I updated the documentation to reflect that it isn't derive from any other widget at all.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 14:38:58 +00:00
Matthias Melcher
b4b6776d8f Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626)
Fixed selection of first word in Fl_Help_View


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 23:20:39 +00:00
Matthias Melcher
08d55b7bf2 STR #1644: documenting return values for loading and saving text from the Fl_Text_Buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 15:59:39 +00:00
Matthias Melcher
0556d32f67 STR #1645: Updated documentation for Fl_Text_Buffer
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:40:27 +00:00
Matthias Melcher
a240e88cdc STR #1639: improved documentation to explain the difference between evnt_button() and event_buttons()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:11:59 +00:00
Matthias Melcher
18f2016b1f Removed the Fl::set_awake_cb API and documented the Fl::awake(function, data) API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 10:41:14 +00:00
Michael R Sweet
101c2433ff ">" is "&gt;", not "&lt;" (which is "<")... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 18:39:45 +00:00
Matthias Melcher
8ea59b412e Fixed Watcom compiler setup without verification using a patch by mnieuw
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-20 17:02:41 +00:00
Michael R Sweet
b5d637a4cd Clean up threads example, use new set_awake_cb().
Update chapter 10 of the documentation to provide cleaner examples.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-12 16:00:28 +00:00
Michael R Sweet
d83ddd6d41 Clean up new DND docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 12:41:37 +00:00
Matthias Melcher
ba0d72184c STR 1577: added documentation for Drag And Drop.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-10 12:21:35 +00:00
Michael R Sweet
1fc314c5db Fix HTML errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-09 18:46:32 +00:00
Michael R Sweet
6e9a163035 Add handler for thread messages (STR #1536)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 23:04:20 +00:00
Michael R Sweet
31e948ed4b Update packaging files.
Remove --post code from fltk-config (--post is now ignore on all
platforms)

Remove outdated information from README.mac.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:44:10 +00:00
Michael R Sweet
44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Matthias Melcher
e0381638a0 Fixed typo in documentation (STR #1583)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 16:07:29 +00:00
Michael R Sweet
85c2e38825 Update documentation and move glutDeviceGet() into code so we can return
the correct value for GLUT_NUM_MOUSE_BUTTONS.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 21:11:20 +00:00
Michael R Sweet
51d7304d8b Fix Fl_Input_Choice targets (STR #1578)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-31 23:10:14 +00:00
Michael R Sweet
84fe87f472 Fix indentation of elements (STR #1549)
Update layout of help dialog to look like other help dialogs.

Drop resource fork stuff from fltk-config (no more --post, it is a no-op)

Use a single table for the header on the documentation page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:36:51 +00:00
Matthias Melcher
8cd623c118 Updated Documentation to 1.1.8, updated Copyright year, added myself to the list of authors and called it Revision 9 (humble shmumble ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-25 19:48:39 +00:00
Matthias Melcher
bb96a49d1d Updated documentation to explain which events are sent to an inactive window. This is IMHO better than "fixing" this because old code may rely on that feature. We are not losing out on anything here anyways. STR #1513.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 20:55:25 +00:00
Matthias Melcher
ecdd893933 - Added automated little helpers to Sudoku
(Menu Difficulty->add helpers)
- Added example code for Wizard with the
  Tabs demo (STR #1564)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 12:03:36 +00:00
Matthias Melcher
5724b00c9a Removed fl_filename_isdir_quick from the documentation. I would make it static to File_Chooser2.cxx, but we also need it in File_Browser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 09:53:51 +00:00
Matthias Melcher
e4586d1572 Removed 'optimization' for fl_filename_isdir which would break the original purpose of the fuction (testing the *existence* of a directory). But I did not want to lose the performance in the directory chooser where I *know* that a directory exists, just not if it is a file or directory, so I added the function fl_filename_isdir_quick() to do just that. Please verify that the new version works as expected, especially with regard to the directory chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22 11:14:29 +00:00
Matthias Melcher
84ad997529 Typo. Likely more to come.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 23:15:09 +00:00
Matthias Melcher
8e7e416783 Added chapter 10 with documentation about multithreading
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 22:48:19 +00:00
Matthias Melcher
9bcf8fb046 Added link in Fl_Wizard documentation (STR #1550)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 12:03:29 +00:00
Matthias Melcher
5411396ea6 Fixed mousewheel event propagation (STR #1521)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:40:37 +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
9c9cb4bfde Typo in documentation link (STR #1514)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-29 09:55:54 +00:00
Matthias Melcher
549ef06358 STR #1467: explained tooltip inheritance - and how to avoid it).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-29 09:46:43 +00:00
Matthias Melcher
f49f038cdb Updated the Fl_Tile documentation, hoping that the way it works becomes a bit clearer. I would like to ask a native English speaker to look over my text though. Thanks.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-26 13:48:04 +00:00
Michael R Sweet
8ea3a45772 Merge all of the scrollbar sizes into a single API call
(Fl::scrollbar_size()) rather than a bunch of separate APIs and
hardcoded values (STR #1800)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-16 23:17:13 +00:00
Michael R Sweet
9e3f8a1db6 Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 14:16:03 +00:00
Michael R Sweet
b91935040a Flip the color of Fl_Choice to FL_BACKGROUND2_COLOR when there is no
scheme so the menu uses the same color as the background.

Add -Dname[=value] documentation to fltk-config man page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 13:35:23 +00:00
Michael R Sweet
5be931cebd Update Fl::scheme() documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-20 00:50:34 +00:00
Matthias Melcher
f55b412582 Added documentation for "fl_can_do_alpha_blending()"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-16 13:46:34 +00:00
Matthias Melcher
dac4c56304 Typo in doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-15 10:53:24 +00:00
Matthias Melcher
7ac3b8e5b9 Updated documentation on Fl::box_dx and friends.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06 07:29:20 +00:00
Matthias Melcher
c989ca4bdf Updated documentation to reflect Fl_Window::xclass caveat. STR 1420
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06 07:08:38 +00:00
Matthias Melcher
8247d773d3 STR 1419: two more typos thanks to me being hectic with vim
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5410 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 18:57:49 +00:00
Matthias Melcher
6032a10632 STR #1418: duplicate tag in documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 18:49:37 +00:00
Matthias Melcher
83e724d761 Fixed Win32 vs. WIN32 in documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5400 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-03 18:41:32 +00:00
Michael R Sweet
40846ea887 Add examples.html to list of documentation files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 23:27:58 +00:00
Matthias Melcher
345e0d7c8d Added Sudoku and Blocks to the "examples" documentation page.
I would like to mention at this point that Level 9 of Blocks is very very fast and that I am close to getting blisters on my click-finger... .

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 07:29:17 +00:00
Matthias Melcher
3647295a1b Updated documentation of Fl_Widow::resize to reflect the issues with window managers that want to be smarter than application developers ;-)
(STR #1301)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 07:56:23 +00:00
Matthias Melcher
3f5e81be0e Updated Fl_Widget::resize documentation to reflect the "bogus resize messages" with some window managers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 07:35:56 +00:00
Michael R Sweet
f27180b7cd Do some rearranging of image and desktop support files.
Add new Block Attack! game...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 06:58:33 +00:00
Matthias Melcher
062d347846 Changed description of widgets.html
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24 12:58:04 +00:00
Matthias Melcher
726cf02931 Added alphabetical list of all methods in Appendix A
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24 12:53:11 +00:00
Matthias Melcher
a776975239 All fl_ functions indexed and linked.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5352 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24 11:41:22 +00:00
Matthias Melcher
cda7f61462 Adding more links to the global function reference list
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 20:38:30 +00:00
Matthias Melcher
3bd03e7f18 Fixed Typo in Documentation (STR #1399)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 11:36:46 +00:00
Matthias Melcher
972624d613 STR #1381: added optional "precision" argument when writing floats or doubles to a Preferences file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18 07:29:09 +00:00
Matthias Melcher
49a0693962 Undid the previous Fl_Tabs::value() const change because adding 'const' *does* changed the ABI. Sigh.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 13:43:07 +00:00
Matthias Melcher
2d2e6f9bf8 Added warning on nesting Fl_Scroll widgets
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 10:10:00 +00:00
Matthias Melcher
51d67574ec New context_changed() function for OpenGL windows allowing efficient texture loading (str #1372)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 09:49:43 +00:00
Matthias Melcher
a24e33b36e Fixed bad English. Matt, you need to polish up on you irregular verbs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 17:51:29 +00:00
Matthias Melcher
e6818b19a6 Fixed byte order in OS X cursor shape data. Added Xft font pointer fl_xftfont.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 11:23:20 +00:00
Matthias Melcher
a794dcf8ee Another documentation update (STR #1340)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-27 11:59:14 +00:00
Matthias Melcher
6167376e2b Added two missing html files to the Makefile based installation process (STR #1339)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-27 11:55:20 +00:00
Matthias Melcher
05c80896b2 fixed wrong word
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:58:37 +00:00
Matthias Melcher
ae7fb2af5d Added warning to Fl_Gl_Window documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:56:15 +00:00
Matthias Melcher
0027b5edc3 Documentation fix (STR #1336)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:39:40 +00:00
Matthias Melcher
05bd3ade18 Added support for floating point Fl_Spinner
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-22 07:35:39 +00:00
Matthias Melcher
fee47dba98 STR 1306: udated documentation to reflect limitation in Fl::delete_widget(). For a different bug, I was forced to implement an automated widget deletion system which seems to work well. I would like to reuse that for all cases that depend on 'delete_widget', making 'delete_widget' obsolete. I will change the STR accordingly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 07:24:05 +00:00
Matthias Melcher
d625425d96 STR #1319: added missing '#' in Fl_Clock_Output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-13 06:22:56 +00:00
Matthias Melcher
428a283f83 Added an event variable "Fl::event_original_key()" which returns the current key code (see Fl::event_key()) before it gets mangled through the NumLock keypad conversion. This way, an application can differentiate between an arrow key and a numeric keypad w/NumLock off.
On Win32, releasing a numeric keypad key w/NumLock off wiould return the wrong keycode (keypad instead of arrow key).

Documentation changed accordingly. X11 code is yet to be tested.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 07:48:08 +00:00
Matthias Melcher
007fc30ca4 STR #1316: fixed two html tags
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-07 19:43:23 +00:00
Matthias Melcher
84ac69cd27 Added permission to reproduce the manual as given by Bill Spitzak and agreed upon (or at last not disagreed) by the other developers including Mike Sweet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-28 15:31:25 +00:00
Matthias Melcher
0b98e816d8 Fixed crash in Fl_Preferences if 2nd or 3rd argument in the 'path' constructor were NULL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 04:34:18 +00:00
Matthias Melcher
c9908d97e3 THIS FIX CONTAINS TWO MORE FILES THAT MUST BE COMPILED. I would
like to ask the maintainers of the build environments to please
add these files to the setup:

  src/fl_encoding_latin1.cxx
  src/fl_encoding_mac_roman.cxx

I ADDED SOME DOCUMENTATION THAT NEEDS TO BE FIXED. Beeing not a
native English speaker, I have a hard time writing documentation.
Would someone please update my babbeling in 
documentation/drawing.html? Thanks.

This commit fixes some very basic problems with OS X's code page in
preparation for the compose-character keyboard fix. It also fixes
issues with MS Windows and X11 not rendering the characters
in the Western (Latin-1) set between 0x80 and 0x9F. In the original
ISO font, they were unused, but are now assigned to international
characters like the Euro currency sign.

This patch also tries to fix one basic flaw with FLTK 1 and
font encoding. I will not put much more work into this because
FLTK 1.2 and FLTK 2 fix the problem entirely by using UTF-8
instead of 8-bit "C"-style strings.

All these changes are only meaningful for foreign language
users or users of special characters like the Euro, the Degree
or the Permille symbol. A short explanation follows.

Max OS X uses a different code page than X11 and Win32. This means
that all characters above 0x7f have an entirely different meaning.
If your source code contains international characters, your 
text will appear different if you change to another OS. This patch
provides two functions that convert text with international
characters from the character set of the source code into the
local character set. Two more functions are provided to convert
them back. The functions are fl_latin1_to_local (source is in Win32 
or X11), fl_mac_roman_to_local (source was written on OS X) and the 
corresponding fl_local_to_latin1 and fl_local_to_mac_roman, which
are very useful if yoou want to store strings with intl. characters
that will be moved between systems.

All this is assuming a "Western" code page as it is common in
the Americas and most of Europe. User of other languages will have 
to use FLTK 2.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4975 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-18 13:07:42 +00:00
Matthias Melcher
a33f1f7b35 STR 1167: updated documentation for Fl_Valuator and Fl_Value_Input
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 14:54:39 +00:00
Matthias Melcher
668f127024 Str 1171: added documentation for Fl_Toggle_Button
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 14:40:44 +00:00
Matthias Melcher
4c481a5736 STR 1157: Attempt to make the documentation on Fl_Valuator::format clearer. An native English speaker should check this please.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-29 08:09:26 +00:00
Matthias Melcher
d490097eaa STR 1192: Added documentation for Fl_Clock_Output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28 23:53:15 +00:00
Michael R Sweet
115d539691 More packaging fun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:36:16 +00:00
Michael R Sweet
a10e58204c Update copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:22:54 +00:00
Matthias Melcher
a31071deb4 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 2005-12-19 13:33:08 +00:00
Matthias Melcher
4c338a533f STR #1106: fixed documentation error
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-13 00:21:06 +00:00
Matthias Melcher
fde536626e STR #1102: Typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-12 23:28:12 +00:00
Michael R Sweet
e321cb37bf VC++ 2005 Support, drop old files, add icons for Sudoku
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27 14:45:48 +00:00
Michael R Sweet
5cdf984737 Remove DOS line endings from text files.
Make sure that all files have the proper MIME type and eol-style properties
set.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-02 19:06:55 +00:00
Matthias Melcher
4baeeefabe One typo, one missing link
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-26 09:48:39 +00:00
Matthias Melcher
ba56eeaad5 Added Help_Dialog::value() to the help page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25 17:04:29 +00:00
Matthias Melcher
eca40efb6e This change is controversial. It changes the behavior of fl_filename_list
slightly by adding a forward slash after every directory name on every
supported OS. Included in this patch is a change in the code that 
lists mounted volumes on OS X Mac.

Apple users, please check. Open FLUID, open the file dialog and
clear the current path. You shoudl see a list of mounted volumes.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 21:56:22 +00:00
Michael R Sweet
87a8b2d9c7 Add --cc and --cxx options to fltk-config, which show the compilers that
were used to compile FLTK...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 15:08:06 +00:00
Michael R Sweet
a4f428d82b Doco update for subwindows on OSX, and remove WIN32 note for cut/paste
buffer using \n and not \r\n since we now do \r\n.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 03:03:37 +00:00
Michael R Sweet
a78af9b2b8 Remove Fl_Group from Fl_File_Chooser docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:46:20 +00:00
Michael R Sweet
4d2333525e Doco fix (STR #960)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:41:59 +00:00
Michael R Sweet
7da5a27b40 Add documentation for screen_count() and screen_xywh() (STR #931)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:00:41 +00:00
Matthias Melcher
478950c3bc Documentation fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:50:05 +00:00
Matthias Melcher
40deaf46c6 Added documentation for Fl_Text_Display::wrap_mode which seems to work well enough in the editor demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4418 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14 14:42:00 +00:00
Matthias Melcher
d523a9cc68 Documented the '00360' rotation feature in symbols
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 20:10:53 +00:00
Matthias Melcher
090eb71a26 OK, I admit that I am nuts. But since the code was mostly there anyways adding only a few bytes to the library in total, I added the symbols 'refresh' (formerly known as 'recycle'), 'reload', 'undo', and 'redo', and flags to flip symbols horizontaly '$', and verticaly '%'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 20:05:49 +00:00
Matthias Melcher
7c143c6bfb Fl_Menu_::find_item() was trying to search through submenus created with FL_SUBMENU_POINTER (vs. Fl_SUBMENU and an array of submenu items), but not following the pointer, messing up the search string.
Two fixes were possible: correctly searching linked submenus, or disabeling submenu links alltogether. I decided for the later since the use of FL_SUBMENU_POINTER implies that the user knows the pointer and can search that submenu seperately, saving time when searching the main menu.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-31 20:05:50 +00:00
Michael R Sweet
2eb4d42349 Move docdir definition to makeinclude.in (STR #824)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-21 11:24:18 +00:00
Michael R Sweet
1c399af444 Update source file headers with STR web page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:13:17 +00:00
Michael R Sweet
b41cf28662 Update "clean" targets to properly handle core files, remove backup files,
etc.

Add "install" target to test directory which installs the example programs.

Install the config.h file in the examples directory.

Make sure the example programs compile outside the FLTK source dir.

Add example programs to fltk.list.in.

Fix missing redraw() in x_cb() in FLUID...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:01:49 +00:00
Matthias Melcher
ae865138a6 Documentation update for Fl_Text_Buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4235 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-04 06:29:26 +00:00
Michael R Sweet
a343b0d4e4 Pressing Enter in the file chooser when selecting a directory
will choose that directory if it is currently shown (STR #746)

Added a fl_file_chooser_ok_label() function to set the "OK"
button label for the fl_file_chooser() and fl_dir_chooser()
functions.

Added Fl_File_Chooser::ok_label() methods to set the "OK" button
label.

The fl_ask() function is now deprecated since it does not conform
to the FLTK Human Interface Guidelines.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 16:11:07 +00:00
Michael R Sweet
ce40d4a0e6 The Fl_File_Chooser window now properly resizes its controls (STR
#766)

The Fl_Help_Dialog window now properly resizes its controls (STR
#768)

The Fl_File_Chooser favorites window is now resizable (STR #770)

Added more documentation on the file chooser filter pattern format
(in both functions.html and Fl_File_Chooser.html)

Added Fl_File_Chooser::save_label (for favorites dialog) and
Fl_File_Chooser::ok_label() to change the default "OK" button
label to something more appropriate according to the HIG.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 15:20:26 +00:00
Michael R Sweet
6d65dcba88 Change Fl_Spinner to use double values instead of ints.
Update FLUID dependencies.

The # copies spinner was just a bit too small for 100 copies.

Didn't set the menu divider if there were exactly 10 files in the history.

Add documentation for Fl_Spinner.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4186 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25 02:39:25 +00:00
Michael R Sweet
921dabf5b8 Add "scheme" chooser in GUI settings dialog.
Set window image to scheme_bg image when the window is shown.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-20 00:51:02 +00:00
Matthias Melcher
82a7afa3ac Added documentation for all programs in the 'test' directory (appendix i).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-19 20:13:14 +00:00
Michael R Sweet
2c989c8e4c More browser documentation changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4065 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-05 19:31:42 +00:00
Michael R Sweet
c3a5b61223 Doco fixes (show const modifier on methods)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-05 19:18:07 +00:00
Michael R Sweet
62721060db Using the layout alignment controls on a menu widget would cause
FLUID to crash (STR #742)

The Fl_Input_Choice documentation was not installed (STR #745)

documentation/Makefile:
    - Add Fl_Input_Choice.html to list of doco files.

fluid/align_widget.cxx:
    - Only do a full resize if the widget is not a menu button.
    - Also set modflag when making changes.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-05 15:09:59 +00:00
Michael R Sweet
add37faa25 Copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24 21:55:12 +00:00
Michael R Sweet
2df3459457 Added Greg Ercolano's simple Fl_Input_Choice widget which is a
combination of the Fl_Input and Fl_Menu_Button widgets (STR
#650)

FL/Fl_Input_Choice.H:


documentation/Fl_Input_Choice.html:
    - Added.

documentation/fltk.book:
    - Added Fl_Input_Choice.html + --no-embedfonts option.

documentation/index.html:
    - Update version number and revision.

documentation/input_choice.jpg:
    - Added.

documentation/preface.html:
    - Update version number and revision.

documentation/widgets.html:
    - Add Fl_Input_Choice to lists.

fluid/Fl_Menu_Type.cxx:
    - Add Fl_Input_Choice_Type class and instance.

fluid/Fl_Type.h:
    - Add Fl_Input_Choice_Type class and instance.

fluid/factory.cxx:
    - Add Fl_Input_Choice menu item.

test/Makefile:
    - Add input_choice example.

test/input_choice.cxx:
    - Added.

test/demo.menu:
    - Add input_choice example.




git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4050 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24 21:14:22 +00:00
Michael R Sweet
2bbf66c7a4 Clarify Fl_Choice callback description (STR #692)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-06 00:12:15 +00:00
Michael R Sweet
4d3a3a7f66 Documentation fix (STR #648)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-05 20:35:51 +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
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
ef3cd23883 Update find_item() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 15:58:52 +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
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
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
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
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
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
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
6bed8ffce8 Update Fl_Scroll background image fix...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 03:50:38 +00:00
Michael R Sweet
b4b95029e8 Added a new_directory_tooltip string pointer to allow
localization of the file chooser's new directory button (STR
#340)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 19:33:11 +00:00
Michael R Sweet
af0c12aae6 Add Fl_Menu_::find_item() method (STR #316)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 19:19:41 +00:00
Michael R Sweet
7fdbfc61be More doco updates.
FLUID's Layout->Center In Group functionality did not properly
handle widgets that were children of a Fl_Window widget (STR
#318)

The Fl_Text_Display destructor did not remove the predelete
callback associated with the current buffer (STR #332)

Fixed several bugs in the MacOS X Fl::add_fd() handling (STR
#333, STR #337)

The Fl_Text_Display widget did not display selections set by the
application (STR #322)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-06 17:38:36 +00:00
Michael R Sweet
70ca1d156b Fl_Value_Slider::draw_bg() didn't always apply the clipping
rectangle (STR #235)

fl_filename_relative() returned the wrong string if the absolute
pathname was equal to the current working directory (STR #224)

Fl_Help_Dialog didn't correctly restore the scroll position when
going forward/back in the link history if the file changed (STR
#218)

glutGetModifiers() did not mask off extra state bits, confusing
some GLUT-based applications (STR #213)

Fixed mouse capture problems on MacOS X (STR #209, STR #229)

Fl_Sys_Menu_Bar is now built into the library for MacOS X (STR
#229)

Fl_Menu_ now provides item_pathname() methods to get the
"pathname" of a menu item, e.g. "File/Quit" (STR #283)

Fl_Text_Display now provides cursor_color() methods to get and
set the cursor color (STR #271)

Fl_Scroll didn't honor FL_NO_BOX (STR #305)

FLUID declaration blocks didn't support public/private
definitions (STR #301)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3231 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-11 05:17:12 +00:00
Michael R Sweet
c5d30baf60 Documentation updates (STR #245, STR #250, STR #277, STR #281)
Fl_Preferences incorrectly created the preferences directory
before necessary (STR #247)

The WIN32 project files still defined the (obsolete) FL_STATIC
constant (STR #279)

Fl_Text_Display::buffer() did not support NULL values, making it
impossible to clean up text buffers from a subclass (STR #295)

Fl_Text_Display did not support a NULL unfinishedStyleCB
function (STR #241)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-03-01 02:05:02 +00:00
Michael R Sweet
c8c675fb4b Doco fix (STR #186)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3116 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-11-01 01:46:55 +00:00
Michael R Sweet
f6769cebc6 Add Fl_Tooltip::hoverdelay() method and code (STR #126)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:11:06 +00:00
Michael R Sweet
4e6a41e2cd Bump to 1.1.5rc1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-09 15:15:18 +00:00
Michael R Sweet
f6a1e8ca40 Leave more space for filename label in file chooser.
1.1.4 release.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-08 17:11:45 +00:00
Matthias Melcher
4042047358 updated documentation and Fl_Dial. STR #101, 94, 99
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3049 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-18 05:53:21 +00:00
Michael R Sweet
f438ffa087 Added documentation for all forms of Fl_Widget::damage() (STR
#61)

Fl_Double_Window now has a type() value of FL_DOUBLE_WINDOW, to
allow double-buffered windows to process redraws properly on
WIN32 (STR #46)

Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits for use by
widget developers (STR #57)

Fl_Help_View didn't support numeric character entities (STR #66)

Menu shortcuts didn't use the Mac key names under MacOS X (STR
#71)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-12 01:36:18 +00:00
Michael R Sweet
358816af75 Update documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-20 19:16:26 +00:00
Michael R Sweet
14b142f7a8 Add Fl_Group::clear() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-04-01 20:19:35 +00:00
Michael R Sweet
82a8a171e5 Bump version number for next release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-02-13 21:58:03 +00:00
Michael R Sweet
00cb676e11 Copyright update for 1.1.3 release (not quite yet, but soon...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 21:46:07 +00:00
Michael R Sweet
ebaaba9bd7 GLUT_STEREO is too implemented! :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 15:48:24 +00:00
Michael R Sweet
abcc8d6d89 Position 1 is the first element in a chart, not 0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-27 21:08:41 +00:00
Michael R Sweet
66529aa044 Update browser docos; value(0) doesn't do anything, only deselect() clears
the current selection.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-27 21:05:22 +00:00
Michael R Sweet
a2463df999 Add Fl::event_clicks(int i) docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-16 20:07:01 +00:00
Michael R Sweet
74d47ce80c Doco updates.
Added filename_setext() macro for FLTK_1_0_COMPAT.

Fixed copy() methods so they don't overflow the source image buffer.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-12-19 21:34:26 +00:00
Michael R Sweet
4842030537 Bump version number in CVS...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-25 18:19:46 +00:00
Michael R Sweet
2921ca57a0 Update Fl::get_color() docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-18 20:51:46 +00:00
Michael R Sweet
b579acc9b3 Fix fl_show_colormap() documentation.
Show color chooser window before grabbing it.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-15 02:06:57 +00:00
Matthias Melcher
41d14b074b Added icons to Fluid's menu and object list.
Previous version is tagged in cvs with
'pre_fluid_icon_changes'.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 21:08:39 +00:00
Michael R Sweet
299ebf295a Update tile documentation to be explicit about widgets touching and doing
their own borders.

Support CMD+[cxv] for copy/cut/paste on OSX.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2717 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 14:23:16 +00:00
Matthias Melcher
36656517e6 Unswapped MacOS modifier keys. event_key and event_text should return
the expected values now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-30 01:01:53 +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
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
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
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
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
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
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
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
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
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
1d1c50cc4f Update MacOS and WIN32 issues to be current.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-24 19:21:38 +00:00
Michael R Sweet
11bf9b28da Move Fl_Help_Dialog to fltk_images library.
Add "Additional Libraries" section to docos as needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-16 01:35:34 +00:00
Matthias Melcher
6698be1be8 Mac OS X: modified Fl_Preferences::Node::search to correctly handle groups
inside the root group and to allow for relative and absolute path names.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-05 20:44:36 +00:00
Michael R Sweet
e532d183e4 The documentation for fl_xyline() showed the wrong prototypes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-22 15:32:33 +00:00
Michael R Sweet
8448f781be Doco updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-12 19:44:59 +00:00
Michael R Sweet
a11a31ff78 Range check Fl_Text_Buffer::search_forward().
Don't use png_read_destroy() - it doesn't free all memory.

Add uncache() method to image classes.

Memory/initialization bugs in Fl_File_Chooser (valgrind)

Make sure both Fl_Window constructors have default cursor initialization
code...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-05 17:50:25 +00:00
Michael R Sweet
9456baab50 Fix some problems with the filename field and handling selections in the
root directory (Fl_File_Chooser).

Add documentation for the fl_cursor() function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 18:33:49 +00:00
Michael R Sweet
35308e5c22 Added Fl::get_boxtype() method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-30 14:57:02 +00:00
Michael R Sweet
d240b98ff6 Add missing color function documentation.
Fix Fl_Tabs document WRT coloring of the tabs and pane.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-25 12:46:12 +00:00
Michael R Sweet
d453884e0f Add wrap() method and bit for Fl_Input_, and make word wrap dependent
on this (wrap margin is the width of the widget less box borders)

Don't select the text in value() for a readonly() (output) field.

Display a caret instead of a vertical bar for the cursor in output fields.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-23 16:28:19 +00:00
Michael R Sweet
745cd4204a Make newButton and previewButton public, so that you can hide/disable them
as desired.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-23 15:14:17 +00:00
Michael R Sweet
57cef6a4bd Remove extra 3 pixel offset when the size is below a certain amount;
instead, use a constant +1 offset.

Add another bit to flags_, VISIBLE_FOCUS, which provides
per-widget keyboard focus control.  The default is for all
widgets to participate in keyboard focus navigation.  Use the
set_visible_focus(), clear_visible_focus(), and visible_focus()
methods on Fl_Widget to control this.

Clean up the Fl_Widget documentation and add missing stuff.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-23 15:07:33 +00:00
Michael R Sweet
3346a9fee7 Change the Fl_Group current, add, and remove methods so they are no longer
inline; this should make shared libraries work better on all platforms.

Link FLUID against shared libraries, too, so that the installed fluid is
also using shared libraries (still make a statically linked fluid for the
build)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:03:31 +00:00
Michael R Sweet
16046bf4dd Add Fl::remove_handler() method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 15:14:38 +00:00
Michael R Sweet
031fef8635 File chooser updates - ../ and ./ map properly, now show ".." in the
directory list, added custom filter stuff, added filter_value() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-01 21:14:20 +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
4a6299fbcc Add FLTK_1_0_COMPAT symbol for 1.0.x compatible names.
Document this in the migration appendix, and add a section on keyboard
focus.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 15:22:57 +00:00
Michael R Sweet
1f30c63d32 add_check() example was wrong.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-13 12:08:49 +00:00
Michael R Sweet
34e35db71f Prefer fl_push_clip() over fl_clip().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-11 20:58:12 +00:00
Michael R Sweet
c3cde61e98 Add documentation for using styles in text editor.
Add placeholder for style attributes - hidden + underlined - for
future use.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-09 18:28:49 +00:00
Michael R Sweet
13ae564f03 Add color definitions for "dark red", etc.
Change "text" and "selecion" methods to return char *, not const char *,
since they return a changeable copy of the text.

Add range checking to style lookup in Fl_Text_Display.

Add syntax hilighting to editor example.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-09 13:35:49 +00:00
Michael R Sweet
c651bc29a3 filechooser.gif is gone, long live Fl_File_Chooser.jpg...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 17:23:37 +00:00
Michael R Sweet
c1fe08471c filechooser.gif is gone, long live Fl_File_Chooser.jpg.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 17:21:43 +00:00
Michael R Sweet
861ad9769b New file chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-07 15:06:32 +00:00
Michael R Sweet
085eccc439 Spelling error...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-30 12:12:44 +00:00
Michael R Sweet
62424b33c5 Update docos to describe int/float settings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-25 12:17:18 +00:00
Michael R Sweet
6fb964c36e Add -sgi_version,sgi1.1 to the IRIX DSO command.
Add Fl_Shared_Image.html to the list of HTML files to install.

Change C++ command to C in src/flstring.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-19 17:44:56 +00:00
Matthias Melcher
dc5fa8454c Fl_Preferences: fixed delete/free confusion, updated docu and sample on buffer size issue (buffer needs to allow for additional byte for trailing zero)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-17 21:17:05 +00:00
Michael R Sweet
8b6acd43eb Fix tooltip documentation (too much & quoting... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-15 21:05:14 +00:00
Bill Spitzak
80d05eb962 Updated tooltip documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-13 14:01:38 +00:00
Michael R Sweet
e2084610ad Fix link errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2206 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-10 15:42:44 +00:00
Michael R Sweet
c56bb65a97 Add documentation for readonly() and input_type().
Fix "make distclean" so that it removes all of the library files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-08 12:44:52 +00:00
Michael R Sweet
b010bc55c4 Add sort function to file chooser.
Document sort function and label strings for chooser.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2179 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 15:24:34 +00:00
Michael R Sweet
ae0a956f2e Add sort function as optional argument to Fl_File_Browser::load().
Add docos for sort functions and changes to fl_filename_list() and
Fl_File_Browser::load().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 14:31:10 +00:00
Michael R Sweet
a237472c70 Update fl_filename_list() to accept a sort function to use, and export
fl_alphasort, fl_casealphasort, fl_casenumericsort, and fl_numericsort.

Still need to document this and provide hooks in the file chooser and
browsers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 11:11:01 +00:00
Matthias Melcher
508a9abbc8 Update some FLUID documentation, no snapshots though.
Tiny bug in fluid.cxx that would still show the wrong
message if it was unable to load a file from the history.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2172 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02 04:23:33 +00:00
Michael R Sweet
94a9fb879f Fix backspace "bug" in file chooser - now treat delete and backspace the
same, eliminating any filename completion value.

Added relative argument to fl_file_chooser() and fl_dir_chooser(); both
default to 0 (return absolute paths)

Give focus to the filename field in the chooser when show() is called.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 12:41:21 +00:00
Michael R Sweet
f58d0e15d7 Add docos for Fl_File_Input.
Add Fl_Preferences to docos.

Update screenshot for file chooser.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01 00:55:45 +00:00
Matthias Melcher
adb6fc4eeb added binary support and procedural names to
Fl_Preferences, updated FLUID, update documentation.

Attempted to strip all Win32 CR.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-30 22:25:18 +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
b3f01efb17 Add note about images in menu items.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-26 10:33:03 +00:00
Michael R Sweet
c90c981570 Add -g option to fltk-config.
Fix NULL filename bug in fl_file_chooser().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-24 12:14:57 +00:00
Michael R Sweet
8d187b30e5 Actually use the MEDIA option when generating PS and PDF docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-20 21:07:18 +00:00
Michael R Sweet
74942d0537 Fix links in docos...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-19 11:53:40 +00:00
Michael R Sweet
7e8ec10e6d Add missing docos for Fl_Progress.
Add Fl_File_Chooser::directory_label, filename_label, and filter_label
static string pointers for labels (allows for I18N of the file chooser).

Fix typos in other docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2098 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 20:37:29 +00:00
Michael R Sweet
9ca9171e7a Fl_Text_Buffer docos.
Reformat function reference (still need to add rest of drawing
functions...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-18 19:10:56 +00:00
Michael R Sweet
989b0cd372 Update changelog.
Add missing methods to Fl_Valuator docos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-16 12:14:27 +00:00
Michael R Sweet
8e3cdc0ac1 Propagate events from the tooltip window to the widget we are tooltipping
for...

Add "tooltips" resource for default state of tooltips.

Fix another tooltip cycling problem.

Fix default help and argument processing (didn't have the right min
chars for matching, and didn't list new options)

Update docos to list new tooltip resource and list of standard arguments.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-14 02:43:48 +00:00
Michael R Sweet
dc355ebb54 Add Fl::dnd_text_ops() methods.
Fl_Input now conditionally supports DND out via run-time option.

Fl_Input now clears selection if you click inside the selection when
DND is turned on.

Added support for scheme, dndTextOps, and visibleFocus resources under
X11.

Documented all X resources supported under X11...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-13 22:17:46 +00:00
Michael R Sweet
7482426735 Make Fl_Output a subclass of Fl_Input, and add input_type and readonly
methods/constants to support Fl_Output as a special case of Fl_Input
(you can do everything but change the text in Fl_Output...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2073 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11 11:52:43 +00:00
Michael R Sweet
ef36be385e Redefine FL_ color values to use the color cube.
Add FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR, and FL_FOREGROUND_COLOR,
and use them instead of FL_GRAY, FL_WHITE, and FL_BLACK, respectively.
(FL_GRAY defined to FL_BACKGROUND_COLOR for back-compatibility)

Add fl_rgb_color(uchar g) inline method to map 8-bit grayscale to
24-bit RGB color.

Doco updates for all of this...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11 10:46:19 +00:00
Michael R Sweet
126def8800 Update docos for all configure options.
Bump version numbers to 1.1.0b13.

Need to include <config.h> (via "flstring.h") in src/Fl.cxx to
get Fl_Window::hide() to call fl_destroy_xft_draw()...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2066 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-10 16:26:33 +00:00
Michael R Sweet
4586bf0fcc Tooltip fixes: ignore keyboard events, immediately disable new tooltips,
show tooltips for box widgets.

Add docos for Fl_Widget::tooltip() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 17:20:24 +00:00
Michael R Sweet
17374b20bb Update fl_beep() to use the PC speaker for FL_BEEP_DEFAULT.
Add docos for fl_beep...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-09 09:38:15 +00:00
Michael R Sweet
ed45695bf5 Add Fl_BMP_Image.html to list of HTML files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2055 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-03 22:46:04 +00:00
Michael R Sweet
14e6251b80 More HTML fixed from Alexander.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-27 12:40:59 +00:00
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
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
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