Commit Graph

933 Commits

Author SHA1 Message Date
Matthias Melcher
38cc8c2f4d Fixed rendering of grayscale images with alpha channel on unaccelerated machines. Thanks, Sanel (STR #1703)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:23:41 +00:00
Matthias Melcher
04ced5396e STR #1681: On WIN32 WM_PAINT messages, FLTK would first render the damaged area and then set the area as valid again. While this is mostly fine on single CPU machines, multi-CPU machines may re-invalidate areas that are currently drawn, resulting in unrendered strips when another window was moved quickly across an FLTK window during its redraw phase.
The new implementation validates the damaged area as quickly as possible, allowing new damage requests to be handled correctly, even while we are still redrawing the same damaged area.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 12:47:49 +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
d7a34f0061 Fixed possible selection of submenu items in FL_INput_Choice (STR 1676)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-15 07:42:53 +00:00
Matthias Melcher
08c5fb6ff4 - Fixed calculation of stride for image scaling and color manipulation (STR #1673)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 13:18:44 +00:00
Matthias Melcher
62d66c6422 Str #1656: changed default optimization on Cygwin/Mingw to -O3 because -O3 causes verifably and repeatably bad code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:21:42 +00:00
Matthias Melcher
2df9fcb3aa OSF/Tru64 now uses 'install-sh' instead of 'install' to accomodate for a missing '-d' option (STR #1632)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:00:06 +00:00
Matthias Melcher
e42fac099f Annoyed by the limitation in Fluid to generate keyboard shortucts for either Mac or Win32/Linux, I added a Project option. If checked, all keyboard shortcuts containing the modifier FL_CTRL or FL_META will instead be writte as FL_COMMAND|shortcut. This will generate FL_META shortcuts on the Mac and FL_CTRL shortcuts on the PC.
This is compatible to old Fluid files. The .fl file will not change (except for the project wide setting itself) and no information is lost. As the only limitation, it is not possible to write any combination of FL_META and FL_CTRL while "use FL_COMMAND" is set.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-10 12:06:31 +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
47e802218d Fixed endless loop in Fl_Text_Display (STR #1655)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 21:09:39 +00:00
Matthias Melcher
82195b6d68 STR #1641: fixing 'make clean'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:22:59 +00:00
Matthias Melcher
488f27d1eb STR #1652: allowing shortcuts in tabs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 20:20:21 +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
d0952607ac STR #1643: make clean now also deleting fltk.spec
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:28:23 +00:00
Matthias Melcher
e9a617f0c2 STR #1642: removeing cat 6 man pages on Make clean
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 14:25:07 +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
Matthias Melcher
27568cfa1c Better contrast (#1625)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-20 09:52:51 +00:00
Matthias Melcher
a1f5426a97 STR #1617: fltkgl.vcproj in the vnet directory had missing closing brackets in the XML code. The question remains: who ate the slashes?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-27 19:23:24 +00:00
Matthias Melcher
3be4efbd8a First attempt at fixing all WIN32 scrolling issues. This code uses some (legal) trickery and should take multi-monitors and partially obscured windows into account. Albrecht, I do not have a multi-monitor setup. Please verify this fix on your machine. Thanks. (STR #1601)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-24 23:57:49 +00:00
Michael R Sweet
769c6a8e50 Enable threading and large file support in the sample RPM spec file (STR #1603)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-22 12:03:46 +00:00
Matthias Melcher
e954c5d433 Fixed file chooser to behave transparently to the current group setting
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 20:23:03 +00:00
Matthias Melcher
d1f1f1f26f Flushing file chooser preferences after every change to avoid data loss due to application crash
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-21 20:08:07 +00:00
Matthias Melcher
474fa58939 Fixed clipping in OS X Quartz offscreen buffers (STR #1595)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-12 16:41:41 +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
3d54048d52 Add "mute sound" option to sudoku game, on request from a user.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 16:37:03 +00:00
Michael R Sweet
dc24949ad5 Update bundled zlib to v1.2.3.
Update bundled libpng to v1.2.16.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 22:02:28 +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
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
3fb13c36d7 Don't open display when generating source code for Fl_Help_View
widget (STR #1318)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:09:53 +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
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
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
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
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
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
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
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
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