Commit Graph

1584 Commits

Author SHA1 Message Date
Michael R Sweet
07fd0cc413 Fix default link color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-07 03:50:24 +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
Michael R Sweet
1c61b1297d Fix glXGetProcAddressARB() usage and support for POSIX threads on HP-UX 11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 03:20:30 +00:00
Michael R Sweet
502f83219d Fix DLL generation via MingW/Cygwin (STR #1546)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:23:31 +00:00
Michael R Sweet
a4814c41c3 Fix scheme background image bug on X11.
Drop changelog for hidden mouse pointer problems since that change was
not made until after 1.1.7 was released (CHANGES only shows changes/fixes
to the previous release...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 19:37:30 +00:00
Matthias Melcher
2368590ecd Fixed first window behavior in OS X (STR #1548)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 16:10:19 +00:00
Matthias Melcher
c005f9956f Added glut files to vc2005 solution.
Fixed popup menus that would not stay popped up when clicke once and the first item was disabled.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 15:14:42 +00:00
Matthias Melcher
3df9bdf5c5 Avoiding a hidden mouse pointer after a window is hidden
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 13:52:37 +00:00
Michael R Sweet
6bc5329935 Don't use ARB function unless available (still need to do the autoconf
test...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 21:52:11 +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
Matthias Melcher
eef6353369 Fixed calculation of character widths for OS X Quartz rendering. Fixed OS X mouse click handling (STR #1504).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 20:13:57 +00:00
Michael R Sweet
bda374b386 Add GLUT support functions from FreeGLUT (STR #1522)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 18:10:07 +00:00
Michael R Sweet
56eb04fc67 Incorporate run-time check and initialization of recursive mutexes.
This adds support for system-supplied recursive mutexes on OS's other
than Linux (not all define the _NP static initializer) while making
sure that the mutex we do use works as we expect (STR #1575)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-29 17:15:41 +00:00
Michael R Sweet
b7be6fb47e Drop recursive mutex code since the running kernel may not support it
(STR #1575)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 20:26:50 +00:00
Michael R Sweet
2fcd3610d5 Fl::awake() could block on X11 and OSX (STR #1537)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 20:03:31 +00:00
Michael R Sweet
ae8675a45f Fix order of idle/check processing compared to events (STR #1535)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:48:31 +00:00
Michael R Sweet
48a997d0ad Hide window before doing callback for OK button (STR #1565)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:41:56 +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
4980b42829 Improved GTK+ schemed round box (STR #1531)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-25 15:41:13 +00:00
Matthias Melcher
e36d3a07ce - Fluid avoids writing unsopported combinations of the
"when()" flags (STR #1501)
- Fl_Browser_ would allow keyboard callbacks even though
  "when()" was set to "never" (STR #1501)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 20:32:54 +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
Michael R Sweet
f8d84949c4 Refine the weak-binding solution...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 21:48:17 +00:00
Michael R Sweet
28b3753946 Don't need path_find() on Mac OS X...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 20:45:28 +00:00
Michael R Sweet
c8f1e91448 Rename fl_filename_isdir_quick to _fl_filename_isdir_quick, do not
export it, and add comments to indicate that it is a private API we
do not support outside of FLTK.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 15:02:00 +00:00
Matthias Melcher
7401cf37bf Hopefully some improvement to the 'bring to the foreground'-hack. Please folks, test this on every available platform!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 10:27:44 +00:00
Matthias Melcher
930d62b9f6 Fixed comment on trailing slashes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22 11:18:30 +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
9e79fd13d2 I changed the Fl_Tabs drawing routine to only redraw the tabs themsleves on a PUSH event, instead of the whole current group. This also allows for a visual feedback from the clicked tab. (str #1520)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-21 15:54:53 +00:00
Matthias Melcher
30be5f711b Added code to support OS X weak'n;lazy linking.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-21 14:57:42 +00:00
Matthias Melcher
e9e0826d10 Made resource fork on OS X obsolete. We still do add it just in case, but should the data be lost during a copy process through a different file system, the app will still put itself in the foreground if using a GUI (STR #1453)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-20 15:28:11 +00:00
Matthias Melcher
4ee2c1fafa Somewhat improved the system menu bar for OS X (STR #1505)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 19:20:13 +00:00
Matthias Melcher
fbd01308b9 Fixed Quartz image drawing and screen reading
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 15:25:09 +00:00
Matthias Melcher
32a8df787c overlay drawing is now avoiding XOR mode (STR #1438)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 12:59:37 +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
Matthias Melcher
bc842ea528 Fixed drawing issues of a tile in a scroll (STR #1507)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 10:01:24 +00:00
Matthias Melcher
5f0156cd02 Fixed dismissing buttons in menu bars (STR #1494)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 09:30:04 +00:00
Michael R Sweet
08216b4fac Fix fl_open_uri() on WIN32
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-10 21:11:34 +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
230a2a4332 Added a fe comments to explain multi-monitor support on Win32 better.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-01 18:29:20 +00:00
Matthias Melcher
2c16ddb964 Fixed silly bug in OS X that would free a pixmap multiple times within Fl_RGB_Image::unchache.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-21 22:39:11 +00:00
Michael R Sweet
1c47b9826d Fix fl_measure with symbols.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-21 19:39:26 +00:00
Matthias Melcher
baed853fe3 STR #1542: implemented the prototyped Fl::has_check() function
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-20 20:29:08 +00:00
Matthias Melcher
e8550d89b3 Enabled 'add_check()' on OS X (STR #1534)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-12-20 20:13:22 +00:00
Matthias Melcher
67f87f0285 STR #1463, STR #449: Better event mouse handling fixing detached menus and sticky tooltips.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-19 21:04:11 +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
839ac66401 Fix text alignment - wasn't resetting the default alignment after
closing a table cell...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-15 04:29:45 +00:00
Michael R Sweet
0789a8a18e Fix endian problem with fl_read_image() and QuickDraw on Intel-based Macs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-15 01:52:20 +00:00
Michael R Sweet
b6a66645e0 Reject invalid workarea rectangle.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-15 00:44:13 +00:00
Matthias Melcher
725efb3569 STR #1492: Fl_Progress was using the wrong width to calculate progress
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-12 20:44:12 +00:00
Michael R Sweet
095ed29a7f Add NULL check for _NET_WORKAREA property value.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-01 15:30:11 +00:00