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
504ba253d4
Fixed Scroll crash in Fluid Live Mode (STR #1524 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-18 11:28:47 +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
68e1aa9757
Making a child group visible in a Fl_Tabs or Fl_Wizard widget now
...
selects that tab/pane.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-04 15:06:30 +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
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
549ef06358
STR #1467 : explained tooltip inheritance - and how to avoid it).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-11-29 09:46:43 +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
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
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
3ebd631cf0
Fl::x(), Fl::y(), Fl::w(), and Fl::h() did not report the desktop
...
work area on X11 (STR #1482 )
Fix another "missing sentinel" warning in the Xft code.
FL/Fl.H:
- Remove in-line x() and y() implementation for X11.
src/Fl_x.cxx:
- Fl::x(), Fl::y(): Added.
- fl_init_workarea(): Added to get _NET_WORKAREA property from the
root window; if none, is available, the code falls back to 0, 0,
DisplayWidth, and DisplayHeight.
src/fl_font_xft.cxx:
- Missing sentinel needs cast to void *.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-30 14:16:08 +00:00
Michael R Sweet
9e3f8a1db6
Documentation fixes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 14:16:03 +00:00
Michael R Sweet
7fffbf7dea
Shortcut events could be sent to the wrong window (STR #1451 )
...
src/Fl.cxx:
- Fl::event_inside(): Only return true for widgets if the
first_window() (focused window) is the same as the widget's
window.
- Fl::handle(): Send shortcuts to the first window (that has
focus) before all others.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 13:22:28 +00:00
Michael R Sweet
8a64710a17
Fl_Spinner did not handle the arrow keys properly (STR #1476 )
...
FL/Fl_Spinner.H:
- Add Fl_Spinner::handle() method to handle arrow key and
focus events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 12:34:14 +00:00
Michael R Sweet
c0664eefcd
Fl_File_Browser did not calculate the width of directory items
...
correctly (STR #1470 )
src/Fl_File_Browser.cxx:
- Fl_File_Browser::item_width(): Use a bold font for directory
items.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-29 12:13:56 +00:00
Michael R Sweet
cec43a6cb1
Don't start widgets offset by 1/2 the spacing value.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-20 01:07:16 +00:00
Michael R Sweet
b5b97b305f
Make sure all of the demos use the scheme, and add a scheme chooser to the
...
demo program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 03:12:15 +00:00
Michael R Sweet
367c40a9b7
fl_arc() and fl_pie() did not draw properly on WIN32 when the
...
start and end points were identical (STR #1461 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5518 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 01:23:52 +00:00
Michael R Sweet
09a1c11ac1
Fl_Input and Fl_Text_Editor now hide the mouse pointer when
...
typing into them (STR #1466 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-11 01:01:02 +00:00
Matthias Melcher
cc1ab1a315
STR #1447 : Fixed CMake files to include new GTK+ scheme
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-26 18:05:10 +00:00
Michael R Sweet
174c006fd5
Update "o" variable detection code to handle more cases (STR #1429 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 19:24:12 +00:00
Michael R Sweet
ad40154ca3
Adapt Sadysta's alpha compositing code for current implementation of
...
Fl_RGB_Image. We now provide (unaccellerated) alpha compositing of
RGBA and Grayscale-Alpha images (d() == 4 and d() == 2) on X11 and
QuickDraw...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24 19:05:38 +00:00
Michael R Sweet
b04788a189
Check buttons did not redraw properly with box() set to FL_NO_BOX
...
(STR #1440 )
src/Fl_Button.cxx:
- Fl_Button::value(): Use redraw_label() if box() is not set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-23 15:28:09 +00:00
Michael R Sweet
b4c1d3ef03
Implement new "gtk+" scheme which provides a Bluecurve look-n-feel.
...
Fix size and position of dialog controls in FLUID to match the HIG.
Add "GTK+" scheme to the list of selectable schemes in FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 14:58:25 +00:00
Matthias Melcher
c6de2dd3ef
Implemented alpha blending for WIN32. I believe that I did it in a way that is compatible even with Windows 95, but please let me know if you have any concerns. Cygwin not tested, but hopefully OK.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-15 15:35:16 +00:00
Matthias Melcher
7ac3b8e5b9
Updated documentation on Fl::box_dx and friends.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06 07:29:20 +00:00
Matthias Melcher
caa6fd1ff2
Fixed font caching issue from STR 1415
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 11:16:15 +00:00
Matthias Melcher
bfe61f036a
STR #1410 : fl_file_chooser could crash after a previously canceled dialog
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 09:57:41 +00:00
Matthias Melcher
3ef18e4b7d
STR 1416: Fluid would not output the correct code for a window's hotspot
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5412 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 20:01:15 +00:00
Matthias Melcher
84360f49f2
STR 1412: fixed RGB image block copy for ld() values != 0
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 19:24:51 +00:00
Matthias Melcher
82fe05afd1
STR #1411 : fixed latin-to-macRoman text conversion
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5408 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 18:46:28 +00:00
Matthias Melcher
3303d9d7f5
STR #1151 : Cygwin for some reason was ifdef'd out for setting a shorter timout when reading fd's (yes, the Win32 requires polling to read fd's). Adding the shorter timeout has no impact on Apps that do not poll fd's, but should fix most (all?) problems described in this bug report.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5383 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-30 09:18:12 +00:00
Matthias Melcher
7ae0ff0240
Updated OSX subwindow simulation code to better add and remove from the clipping list
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 11:03:05 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Matthias Melcher
ae971b97da
Fl_Text_Editor now correctly handles middle mouse clicks (STR #1384 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 11:10:54 +00:00
Matthias Melcher
c8288bd7b4
Added some GLUT4 functions (STR #1370 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 09:56:59 +00:00
Matthias Melcher
51d67574ec
New context_changed() function for OpenGL windows allowing efficient texture loading (str #1372 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 09:49:43 +00:00
Matthias Melcher
ef48f007a1
Added missing const to GLUT call (STR #1371 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 09:05:44 +00:00
Matthias Melcher
9f41ba57ec
Fixed stray FL_RELEASE events after clicking system areas on OS X (STR #1376 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 09:01:56 +00:00
Matthias Melcher
538a1c62ee
Fl_Tabs::value() is now const as described in the documentation (STR #1379 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17 08:43:50 +00:00
Michael R Sweet
500d7616fd
Revamp variable tests so that we rarely need to provide "o" and
...
"w" variables. This eliminates most of the "variable is shadowed"
warnings from GCC we get after creating .cxx files from FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-26 19:52:28 +00:00
Matthias Melcher
e6818b19a6
Fixed byte order in OS X cursor shape data. Added Xft font pointer fl_xftfont.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 11:23:20 +00:00
Matthias Melcher
b6f3595669
Fixed Endianness in OS X Mouse Pointer graphics (STR 1348)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-18 08:19:14 +00:00
Matthias Melcher
924e8a92d1
Fixed crash on mixed use of keyboard and mouse for Fl_Menu_Button (STR #1356 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-17 20:33:45 +00:00
Matthias Melcher
30f4aebe8a
STR #1341 : Fixed Fl_Window::visible() and shown() for OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-07-16 20:37:41 +00:00
Matthias Melcher
d20a41681d
Fixed Fl_Window::copy_label() losing copy (STR #1332 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-28 10:23:33 +00:00
Matthias Melcher
a794dcf8ee
Another documentation update (STR #1340 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-27 11:59:14 +00:00
Matthias Melcher
6167376e2b
Added two missing html files to the Makefile based installation process (STR #1339 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-27 11:55:20 +00:00
Matthias Melcher
ae7fb2af5d
Added warning to Fl_Gl_Window documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5228 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:56:15 +00:00
Matthias Melcher
0027b5edc3
Documentation fix (STR #1336 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5227 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-23 10:39:40 +00:00
Matthias Melcher
05bd3ade18
Added support for floating point Fl_Spinner
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-22 07:35:39 +00:00
Matthias Melcher
baa92d1d7d
STR #1330 : Repeat button now cancels timeout if it should get deactivated during a callback
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-21 06:52:10 +00:00
Matthias Melcher
77a20dbef3
STR #1280 : added support for assigning Fl_Menu_Items to array variables in Fluid
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5218 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-20 10:18:49 +00:00
Michael R Sweet
eea2b38b34
Add --with-archflags option to configure script, and use it in the right
...
places.
Update changes file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 18:29:31 +00:00
Matthias Melcher
6190aa5728
It seems that the long standing window stacking order problem in MSWindows is now finally solved. The solution is too silly to belive. It seems like WIN32 needs a HideWindow before the DestroyWindow, or the window manager gets confused. DOH!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5215 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:51:14 +00:00
Matthias Melcher
11de032d6d
If the value field for scrollbars was not zero, Fluid would generate code that accesses the hidden function Fl_Scrollbar::value(double), causing a compile time error. The fix circumevents the hidden function by calling Fl_Slider::value. It would be better to change the entire Fluid interface to reflect the Scrollbar interface.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5214 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:34:19 +00:00
Matthias Melcher
0728999a83
Loading a file would not update the Widget Propertis dialog in FLUID (STR #1326 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 08:01:01 +00:00
Matthias Melcher
ad8d7c4b87
Fixed key compose sequences for shifted keys (STR #1194 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-19 07:43:39 +00:00
Matthias Melcher
b51dd39f07
Added text selection and copy/paste to Fl_Help_View. Text can be selected by clicking and dragging the mouse over text. After releasing the mouse button, a stripped down ASCII text is in the text clipboard. Press Ctrl-C to copy the text into the main clipboard. Pressing Ctrl-A selects all text.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-16 19:45:13 +00:00
Matthias Melcher
ec8ab0f22d
STR #1322 : fixes wrong menutitle position for popup menus. This was originally another fix for pulldown menus (see STR #794 , SVN 4259), but had an impact on popups. This fix should work well for both situations.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-16 10:42:58 +00:00
Matthias Melcher
c468a521b0
STR #1321 : Calling Fl_Window::show() will exit from the current Fl_Tooltip. Changing window order or creating a new window is a pretty major action, so temporarily disabeling Tooltips seems beneficial. This avoids Tooltips interfering with popup menus.
...
Of course, poping up a tooltip window does *not* disable further tooltips... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 10:48:36 +00:00
Matthias Melcher
fee47dba98
STR 1306: udated documentation to reflect limitation in Fl::delete_widget(). For a different bug, I was forced to implement an automated widget deletion system which seems to work well. I would like to reuse that for all cases that depend on 'delete_widget', making 'delete_widget' obsolete. I will change the STR accordingly.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 07:24:05 +00:00
Matthias Melcher
a0cbcf3d1d
STR #1227 : Thanks to Albrecht Schlosser for commiting this patch to fix Fl_Test_Display. The little I could check seemed fine, and he's certain that he fixed the bugs that he found himself.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-13 19:08:32 +00:00
Matthias Melcher
428a283f83
Added an event variable "Fl::event_original_key()" which returns the current key code (see Fl::event_key()) before it gets mangled through the NumLock keypad conversion. This way, an application can differentiate between an arrow key and a numeric keypad w/NumLock off.
...
On Win32, releasing a numeric keypad key w/NumLock off wiould return the wrong keycode (keypad instead of arrow key).
Documentation changed accordingly. X11 code is yet to be tested.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-09 07:48:08 +00:00
Matthias Melcher
30786c2ed3
STR #1310 : OS X Quartz support fixed. All test codes now work without complaints fro Quickdraw or CoreGraphics. If no more major bugs are reported for Quartz, I will make Quartz the default over Quickdraw in the next release of FLTK 1.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-06 08:00:56 +00:00
Matthias Melcher
987d9e05f2
Fixed shortcut and default focus for message dialogs (STR #1298 ).
...
Default focus is now on the button that also reacts to the 'Enter' key. This should avoid confusion about Enter triggering the button1 or button 0.
Also, I changed the shortcut call to the new convention which works on MSWindows. I don't have a Linux system right now for testing... .
Fixed focus issues (STR #1286 , STR #1289 , STR #1296 )
fl_xfocus was not always updated, making widgets or even whole windows loose focus when any focus changes were not accompanied by a click into the same window. Also, Fl_Tabs would not redraw correctly if focus returned to the active tab.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5165 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-30 09:38:19 +00:00
Matthias Melcher
bfd2801df2
Fixed resizing in OS X. The code was not only unneccesarily convoluted, but also forced some default sizes on user requests for specific window sizes. The new code also avoids two system calls and shortens a move/size combination into a single resize, which reduces some flicker on extreme resizes (but not all flickering - Apple, what's up with that?).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-30 07:35:58 +00:00
Matthias Melcher
d814fce94d
- In Fluid, declarations starting with the keyword
...
'typedef', 'class', or 'struct' are now treated
correctly if inside a class (STR #1283 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-28 15:59:29 +00:00
Matthias Melcher
b9e4886cfe
Tabs now show the correct tooltip (STR #1282 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 09:41:47 +00:00
Matthias Melcher
e35e2a27a2
Included fltk.spec in configure.in
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-21 08:50:25 +00:00
Matthias Melcher
b0c7fc3ab7
Fixed insufficiently invalidated cache in Fl_Browser (STR #1265 ). Fl_Browser::cahceline was set to 0, but Fl_Browser::cache was not which lead to confusion if the cache was usable or not.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10 10:45:59 +00:00