Commit Graph

821 Commits

Author SHA1 Message Date
Michael R Sweet
8310941985 Check for png_set_tRNS_to_alpha() in configure script.
Add image and documentation defines to all of the config.h files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-01 16:49:29 +00:00
Michael R Sweet
adda701215 Update check/radio/light button drawing to size the indicator using the
label size.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 22:40:56 +00:00
Michael R Sweet
6cccb7bca1 Revert line style change...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 20:52:04 +00:00
Michael R Sweet
2c61d60470 Documentation updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 20:25:36 +00:00
Michael R Sweet
eb9a83b348 fl_line_style() didn't use the same default cap and join options
for WIN32 and X11.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 18:35:40 +00:00
Michael R Sweet
aa3657817c Update dependencies.
Update install rules.

Update EPM list file and RPM spec file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 17:54:45 +00:00
Michael R Sweet
74bb2305cb Fl_File_Chooser.H and fl_file_chooser.H need to be the same...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 17:37:06 +00:00
Michael R Sweet
f5f0d8a013 Save/restore GDI pen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 12:42:33 +00:00
Michael R Sweet
9208e9d007 Windows doesn't have case-sensitive filenames, so we can't have two
fl_file_chooser.cxx's...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 12:30:13 +00:00
Michael R Sweet
ff1748cd1d Update script to not include empty 2.0 directories...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 23:13:56 +00:00
Michael R Sweet
72b56edc29 Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff.

Fix write_properties so it writes tooltips properly from FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 22:59:45 +00:00
Michael R Sweet
e7f3ad8691 Updates for 1.1.0b2...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 21:17:17 +00:00
Michael R Sweet
ddf259f2bb New fltk-config script for 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 15:57:32 +00:00
No Author
5a64091595 This commit was manufactured by cvs2svn to create branch 'branch-1.1'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 15:57:32 +00:00
Michael R Sweet
6a4714ce12 Fl_FileXYZ -> Fl_File_XYZ
Fl_HelpXYZ -> Fl_Help_XYZ

Fl_File_Chooser now supports directory choosing.

Added fl_dir_chooser() function.

Now set FLTK_DOCDIR env var in test/demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 14:38:59 +00:00
Michael R Sweet
de6c7f66ee File chooser update with new FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 06:40:06 +00:00
Michael R Sweet
4c97599917 Enable all of the new FLUID stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 06:20:15 +00:00
Michael R Sweet
50fc2f4806 Widget panel update with tabs (a la 2.0) with new tooltip, image, and
position/size widgets.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 03:36:27 +00:00
Michael R Sweet
91b72d0918 Update VC++ project files.
Add support for FLTK_DOCDIR env var. to FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-23 13:08:03 +00:00
Michael R Sweet
5aa3ce735e Fix menu shortcuts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-13 18:21:40 +00:00
Michael R Sweet
743cd4f95d HelpView/HelpDialog updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-10 03:09:43 +00:00
Michael R Sweet
c15ea394d0 Script update...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-08 20:16:13 +00:00
Michael R Sweet
9a528400f0 Doco updates.
Add directory-only support to Fl_FileBrowser.

Update button and menu drawing code for check and radio buttons.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-04 13:13:29 +00:00
Michael R Sweet
bc3de1ec15 Fix label/image problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-02 11:23:27 +00:00
Michael R Sweet
e864789db9 Fix Visual C++ projects.
One more fix for makesrcdist...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-19 00:14:12 +00:00
Michael R Sweet
f0dffee999 Finish fixing for Bourne shell instead of C shell.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-19 00:09:06 +00:00
Michael R Sweet
286ebf903f Add missing Fl_Check_Browser file.
Add makesrcdist script.

Updated changelog.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-18 23:42:36 +00:00
Michael R Sweet
00ef77c267 Add new widgets to FLUID.
Add on-line help to FLUID.

Change ALT shortcuts to CTRL shortcuts.

Update config script to set documentation directory in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-11 16:09:26 +00:00
Michael R Sweet
64859c22f7 Add more widgets from the bazaar...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1571 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-11 14:49:51 +00:00
Michael R Sweet
90781ce428 No _INCLUDE_POSIX_SOURCE definition for HP-UX...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-08 12:47:59 +00:00
Michael R Sweet
9ab0bb195e WIN32 updates to make the DLL project work again...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-06 23:51:39 +00:00
Michael R Sweet
45010ee2fe Include config.h in Fl_FileBrowser.cxx.
Remove Fl::enable_symbols() from resizebox.cxx.

Update fl_draw() to support symbols at the beginning and end of the
label (for double symbols on either end, e.g. "@< Bla@>")

Update fl_measure() to understand symbols and add them to the
measurement.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-06 15:19:20 +00:00
Michael R Sweet
28c0d4ffa1 Symbols are now supported by main label drawing code - @@ to insert a
single @. Currently only 1 symbol per label, at the beginning or end of the
label string, with the remaining text (and image) getting formatted as
usual.  The size of the symbol == lines * labelsize, unless there is
no text in which case the size == height of label area.

Fl_Menu_Item::draw() didn't clear the image field in the Fl_Label
structure.

Removed Fl::enable_symbols(), which is now the default.

Dropped FL_IMAGE_LABEL, FL_PIXMAP_LABEL, and FL_BITMAP_LABEL types,
which are no longer needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-06 03:17:43 +00:00
Michael R Sweet
7ebaf77cdc Image labels!
image() method to set active image, deimage() method to set inactive image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 23:58:54 +00:00
Michael R Sweet
208cf399a6 OpenGL demos didn't get built because the "include" was after the
"all" target...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 16:28:03 +00:00
Michael R Sweet
75da2409dc Typo fix...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 16:10:09 +00:00
Michael R Sweet
f6ea21e2fb Keyboard nav for tabs.
Define MAX_PATH for Cygwin.

Update configure script to add *BSD DSO generation rules and X include
directory for Xdbe.h and OpenGL headers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 15:34:28 +00:00
Michael R Sweet
51050b38d8 Keyboard nav for valuators.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 14:00:15 +00:00
Michael R Sweet
03f49329ff New draw_focus() methods.
Keyboard nav for choice, menu button.

Updated Fl_Choice to draw like a combo box.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-04 20:17:10 +00:00
Michael R Sweet
2636d6fcd2 Hide and show overlapping buttons as needed for widgets and windows.
(otherwise keyboard nav goes to "hidden" buttons...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-04 16:56:02 +00:00
Michael R Sweet
11cc024107 Keyboard navigation for buttons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-04 16:43:31 +00:00
Michael R Sweet
e4727142d4 Fl_Text* widgets backported to 1.1 (Carl, please confirm that I haven't
goofed with the layout->resize conversion.  Also check fix for mMaxSize
being 0 so I set it to textsize())

contrast,inactive -> fl_contrast, fl_inactive, with defines for old names.

fl_rect() and fl_rectf() with color args.
fl_height, etc. with font,size args.

Send FL_RELEASE and FL_DRAG events to the pushed() widget by default.

Fix file chooser so it doesn't automatically change dirs if the only
matching name is a dir.

Updated Fl_Browser_ and Fl_Scrollbar for better mouse wheel support.

Moved DLL definitions to new Fl_Export.H.

Restore callback functionality in file chooser.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-04 12:21:34 +00:00
Michael R Sweet
00f126367d Add prototype for snprintf() in Fl_FileBrowser.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 19:45:58 +00:00
Michael R Sweet
03b112773d File chooser cleanup (use fl_ok and fl_cancel for translated label
strings)

Remove fl_file_chooser_cb() function, which is not needed with the
new Fl_FileChooser dialog and related widgets.

List directories first, in boldface.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 18:46:57 +00:00
Michael R Sweet
5994addeca Fixed tooltips under WIN32 - no more toolbar buttons...
Fl_Group::handle() didn't pass FL_RELEASE events to
Fl_Browser_ and similar subclasses of Fl_Group; updated to
pass only to widget that should receive the event.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 15:48:20 +00:00
Michael R Sweet
0771e7cc7d Update WIN32 projects and config file.
Fix sign of Fl::e_dy to match screen coordinate directions under WIN32.

Note: tooltips not working under WIN32...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 02:28:32 +00:00
Michael R Sweet
85533d11be Fix mouse wheel stuff for browser and helpview widgets (move 3 lines at
a time...)

Fl_Group::handle() now sends unknown events to the focus widget first,
then to any other child that will take it...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 21:11:43 +00:00
Michael R Sweet
af75829757 Mousewheel support for browsers and help view.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 20:18:54 +00:00
Michael R Sweet
2d3fd88eeb More mouse wheel stuff (as compatible as possible with the 2.0 code...)
Updated the makefile to use config.status --recheck before calling
config.status (why they can't provide one that does both, I don't
know...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 20:09:25 +00:00
Michael R Sweet
9d81d971f7 Fl_HelpDialog and Fl_HelpView widgets.
"help" demo.

Minor doco updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 19:43:49 +00:00