Commit Graph

791 Commits

Author SHA1 Message Date
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
Michael R Sweet 80247acbc2 Add Fl_Wizard widget...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:39:01 +00:00
Michael R Sweet b0e56bb248 Documentation...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:31:29 +00:00
Michael R Sweet 58b0f306be Don't build OpenGL demos if OpenGL is not available or disabled.
Fix depend rule for src directory (wasn't doing OpenGL files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:15:44 +00:00
Michael R Sweet bff75e491a OpenGL stuff is now in libfltkgl.*
Added support for shared libraries under AIX.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:08:36 +00:00
Michael R Sweet eabd932d41 Changelog update.
Also forgot: FLUID updated to support source/header files starting
with "../" (previously it thought these indicated an extension)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 16:19:15 +00:00
Michael R Sweet 75b6b221ce FileIcon, FileBrowser, FileChooser stuff.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 16:17:04 +00:00
Michael R Sweet 836d2fac26 Fix tooltips a la 2.0.
Update 1.1 tooltip interface to be identical to the 2.0 interface for
most things (no enter_area function right now...)

Add localized makedepend files (no system include files, just ../FL/bla.h)
so that builds recompile as necessary.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 15:32:00 +00:00
Michael R Sweet bd06913057 First bunch of changes for the 1.1 branch - tooltips.
NOTE: looking into a problem with the tooltip not going away when
you ESCape a window (close it)...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-01 21:24:49 +00:00
No Author 3cb5ebe0e8 This commit was manufactured by cvs2svn to create branch 'branch-1.1'.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-01 21:24:49 +00:00
Michael R Sweet 4477e16640 Update changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-01 19:02:40 +00:00
Michael R Sweet bed1db18b7 Fix scrollbar direction.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1510 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-30 18:30:39 +00:00
Bill Spitzak 8060de2f30 Does not blink the OpenGl cursor on NT except when a gl overlay is being done, should make display faster when a cursor is set
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-18 08:11:02 +00:00
Michael R Sweet da83aa4eb4 HTMLDOC book file for docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-10 00:30:01 +00:00
Michael R Sweet 58c1428b71 Fl_Tabs, not Fl_Tab
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-09 23:59:52 +00:00
Michael R Sweet 83968f19a9 Fl_Menu_Item::add() didn't use myflags.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-09 23:04:56 +00:00
Michael R Sweet f72a3ce60a Fix scrollbar bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-09 17:59:17 +00:00
Michael R Sweet 3f5ad43d64 Fixed crash if you shift+click on a multibrowser below the last item
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-07-05 00:20:41 +00:00
Michael R Sweet 61b94f7f0b Add #ifdef for SGI 5.3 C++ compiler, which doesn't support the
explicit keyword (hopefully it's the only one left...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-06-07 13:16:08 +00:00
Michael R Sweet 2321fdd181 Use explicit keyword for pixmap constructors...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-06-06 19:42:56 +00:00
Bill Spitzak eb734da4ac Added const to help Borland compiler
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-30 16:18:33 +00:00
Bill Spitzak 07656afb7d Fl_Menu_add of a menu item with the same name as an existing submenu
title would mess up by replacing that menu title, it now adds a new
item.

Fl_Menu::add() of text starting with '/' to a menu is assummed to be a
filename. So "/foo/bar" creates a single menu item. You can also put
filenames into submenus by doing "submenu//foo/bar", this will create
a submenu called "submenu" with an item "/foo/bar". Menu items
starting with "\_" will insert an item starting with '_' rather than a
divider line. These changes make the menus compatable with fltk 2.0.

Another little fix for the BoXX OpenGL overlays.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-19 21:30:23 +00:00
Michael R Sweet 9c19542bd2 Changes for AIX (still have menu problems)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-11 18:37:08 +00:00
Michael R Sweet eb474956cc Forgot to update RPM spec and EPM list files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-07 14:51:10 +00:00
Michael R Sweet f50ac7f22e Fix Mesa test in configure script.
Update changelog.

Update revision number for manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-07 14:34:22 +00:00
Michael R Sweet 336996c7ab Update documentation files to eliminate most of the warnings
and errors reported by HTML Tidy.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-06 16:25:05 +00:00
Michael R Sweet ecfb817427 OS/2 updates from Alexander Mai.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1453 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-06 13:32:48 +00:00
Bill Spitzak 38c947bd09 Compiling with -DBOXX_BUGS will work around some problems with the newest
X drivers that BoXX delivers, the problems all affect use of Overlays for
normal X drawing and OpenGL drawing. Normal compilation is unchanged.

The file chooser buttons use user_data() rather than the label to decide
what to do, allowing the label to be somewhat cleaner.

Selection color on X changed to blue, to match what happens on Windows now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-05 23:39:01 +00:00
Michael R Sweet 325c0838f4 Add new text to license agreement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-05 00:36:08 +00:00
Michael R Sweet 09f987eeb1 Separate test for GLU and GL...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-30 17:17:01 +00:00
Michael R Sweet f2d2d347e9 Fix configure script and configh.in...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-27 17:00:23 +00:00