Commit Graph

2558 Commits

Author SHA1 Message Date
Matthias Melcher
00ec9da8f5 - removed more inconsistencies between fl_draw and fl_measure (STR #1408)
- made the Tooltip hide code a little bit smarter
- Added subwindow test case to Fl_Tabs

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 10:04:02 +00:00
Matthias Melcher
ba8bb3d8c2 Fixed fl_measure which mistook a trailing '@@' for a symbol (STR #1406)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 07:49:22 +00:00
Matthias Melcher
3ae2d9cc7b STR #1403: GLUT window creation code - better fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 07:36:51 +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
Michael R Sweet
cb0d6f8f03 Fix blocks crashes on WIN32 - audio buffer too small
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-28 14:45:20 +00:00
Michael R Sweet
ed0ce675d1 Add missing Gimp source image for block images.
Add blocks.* to the ignore list...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-28 11:55:49 +00:00
Michael R Sweet
8bec5ff1e0 Don't accept clicks when paused.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 20:25:37 +00:00
Michael R Sweet
e01c0e8079 Tweak the blocks game some more, and fix the coding style to conform to the
FLTK coding standards.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 20:01:24 +00:00
Michael R Sweet
f3088c4f8d Workaround HP-UX compiler bug by making Blocks and Columns structures public.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 13:14:24 +00:00
Michael R Sweet
73232e0b20 Make all XPM files use const char * arrays...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-26 13:06:15 +00:00
Michael R Sweet
9c045681c5 Fix <FL/glu.h> includes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 16:12:13 +00:00
Matthias Melcher
862506e6d9 Two simple glut fixes (flickering and VC6 compiler issues).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 10:33:30 +00:00
Matthias Melcher
78547a5267 Added Blocks to the VC6 project file and set dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 10:12:33 +00:00
Matthias Melcher
8cd9871d19 Added unversal header for OpenGL's GLu library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 10:05:20 +00:00
Matthias Melcher
6545100e74 Fixed installation of pixmap s to reflect new pixmaps directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 09:19:58 +00:00
Matthias Melcher
961391ac08 Fixed GLUT behavior on window creation (STR #1267)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 09:11:42 +00:00
Matthias Melcher
4fae32c85c Fixed OS X bug that would hide tooltips before they were shown (STR #1392)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 08:49:06 +00:00
Matthias Melcher
8220dc5592 Fixed Fl_Tabs tooltip reappearing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25 08:10:31 +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
Michael R Sweet
0ce142514f Use "exit 1" instead of "break" to stop a build - that allows automated
build tools to better detect build errors...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24 21:46:38 +00:00
Michael R Sweet
f5cbdbb1b5 Add wording and tweak difficulty levels so that the Easy and
Normal levels always generate "valid" Sudoku puzzles while Hard
and Impossible are free to make Sudoku puzzles more
fun/challenging (STR #1361)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24 18:09:44 +00:00
Matthias Melcher
bd4d11e5e3 Fixed filechooser to behave as documented when file pattern changes (STR #135s9)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24 14:23:24 +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
Michael R Sweet
0d0d5326ed Fix Fl_Gl_Overlay to use new valid API
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 17:40:54 +00:00
Matthias Melcher
da7658fa7f Avoiding problems with some platforms that don't implement hypot() (STR #1366)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5349 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 14:43:07 +00:00
Matthias Melcher
2c22cfd94a - Fixed floating point value formatting for Fl_Spinner (STR #1331)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5348 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 14:37:28 +00:00
Matthias Melcher
74b91fe371 Fixed Fl_Positioner callback when released (STR #1387)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 12:57:42 +00:00
Matthias Melcher
05cd337c05 Fixed WIN32 zero size window issue (STR #1387)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 11:47:58 +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
b179cc108a Fixed Sudoku window positioning (STR #1398)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 11:34:36 +00:00
Matthias Melcher
17428cce3e - Fluid Code Declarations can now handle C++ style comments (STR #1383)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23 11:00:22 +00:00
Matthias Melcher
ae68d64252 Refixed STR #1221, fixing STR #1393.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-22 15:45:51 +00:00
Matthias Melcher
555f776077 Fixed uninitialized data in OS X and WIN32 timout functions (STR #1374).
Fixed silly but in preferences test (that was unrelated to Fl_Preferences).

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-21 15:03:02 +00:00
Michael R Sweet
ddfe7bb5b6 Fix Fl_Widget_Class_Type so that you can add code to a widget class
constructor.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-21 01:59:11 +00:00
Matthias Melcher
660d524700 Fixed unintialized data bug in OS X timeout functions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19 20:09:33 +00:00
Matthias Melcher
dadcbb61b3 Moved Quartz OS X fonts half a pixel up.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19 19:20:56 +00:00
Matthias Melcher
86e2fa621a Fixed speed issues with measuring text sizes in OS X Quartz
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19 15:24:55 +00:00
Matthias Melcher
edbf9ae510 Fixed focus issues on OSX (str #1377)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19 13:34:10 +00:00
Matthias Melcher
d5a6cf798c I forgot
a dot.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18 10:56:37 +00:00
Matthias Melcher
0ac4a4d33b Restored original "hello.cxx"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18 07:29: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
6391946be0 Fixed callback sometimes not calle when using the arrow keys in an Fl_Slider (STR #1333)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 14:41:20 +00:00
Matthias Melcher
1cc3338a10 Changing the shorcut of a widget in fluid now marks the document as dirty (STR #1382)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 13:59:00 +00:00
Matthias Melcher
2f4706602d Fixed ABI issue with const on glutCreateWindow.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 13:49:46 +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