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
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
Matthias Melcher
fc57e07cbf
STR #1153 : This is an attempt to fix the described issues when querying multiple monitors on defferntly set up Windows environments. Would the posters please test if the new version works. Thanks.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5094 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10 10:37:32 +00:00
Matthias Melcher
22b1499904
STR #1152 : Fixed Cygwin compiler warnings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 14:36:58 +00:00
Matthias Melcher
8e37fbafc8
STR #1187 : Fixed missing reset of flag in FLUID
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-05 13:50:44 +00:00
Matthias Melcher
37e05f9df2
Fixed maximizing in OS X (STR #1221 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5041 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 02:57:15 +00:00
Matthias Melcher
4e038ef82b
STR #1169 : Fixed 'make distclean' to remove binaries inside MacOS app packages
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:10:00 +00:00
Matthias Melcher
d90102f9d2
Fluid Code Viewer is now truly a viewer, not an editor. I would love to allow text editing in the Code Viewer and re-enter the code into the UI, but that is currently close to impossible to implement
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-28 01:00:41 +00:00
Matthias Melcher
f74a812003
STR #1158 : Fl_Spinner is now fully supported by Fluid. Previously, min, max, step and value could not be edited the usual way because spinner is derived from Fl_Group, not Fl_Valuator...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 22:47:59 +00:00
Matthias Melcher
ad0fc9ca23
STR #1162 : Fl_Menu_Button::popup was trying to access a previously deleted widget (itself). The delayed deleting mechanism in 'Fl::delete_widget' did not work in this case because the main loop is called before the callback returns. The fix implements a type of automatic pointer that will be cleared to NULL should the widget get deleted. This may not be a 'nice' solution, but it does fix the problem reliably. We could actually use this for all widget pointers and remove the delayed delete mechanism alltogether
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 21:40:47 +00:00
Matthias Melcher
cbbec03b5e
fl_font(0, 0) as a first call in Xft would try to access a member in fl_fontsize, which was still set to NULL. This fix is untersted as I don't have a Unix machine here. Please verify this fix!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 13:54:08 +00:00
Matthias Melcher
8ffe967089
STR 1161: Setting a new value in Fl_Input_ wil now actually move cursor to the end of the input field as documented
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-27 03:06:23 +00:00
Michael R Sweet
9b0ac3c1c7
Update changelog to show all of Matthias's fixes... :)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 10:37:19 +00:00
Matthias Melcher
0b98e816d8
Fixed crash in Fl_Preferences if 2nd or 3rd argument in the 'path' constructor were NULL
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 04:34:18 +00:00
Matthias Melcher
fe9b1fce28
STR 1195: caret key lookup entry was missing on Mac OS X
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-04 11:44:20 +00:00
Michael R Sweet
e976174d61
FLUID didn't handle loading .fl files with international
...
characters properly with all compilers (STR #1150 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:22:06 +00:00
Michael R Sweet
192e0ed3bd
Fl_Spinner's minimum() and maximum() "get" methods were
...
misspelled (STR #1146 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 16:06:45 +00:00
Michael R Sweet
bf7082f16c
Fix fl_filename_list() bug (STR #1159 ) caused by changing of the ABI
...
(dirent size is different for large file mode)
The default is now --disable-largefile; if you use --enable-largefile,
the large file support definitions are propagated to the fltk-config
script as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 15:50:06 +00:00
Michael R Sweet
826eb45715
Clicking outside a menu window dismisses it (STR #1144 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-17 15:02:36 +00:00
Michael R Sweet
2b293afe37
Pressing a Fl_Menu_Button widget now draws it pressed in (STR
...
#1140 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 02:21:19 +00:00
Michael R Sweet
741322a01a
The threads demo would display negative prime numbers
...
on MacOS X; this appears to be a MacOS X bug, but we
added a workaround to "fix" this (STR #1138 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-06 16:53:04 +00:00
Michael R Sweet
c4a0b7f056
Fl::dnd() now sets the content type of the drag to
...
"text/uri-list" when it sees the dragged text is composed of
URIs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-04 19:53:34 +00:00
Matthias Melcher
0ea6761db2
- Fixed keyboard shortcut handling in FLUID and shortcut
...
labeling in FLTK (STR #1129 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-30 14:11:04 +00:00
Matthias Melcher
10fae2dd8a
typo
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-29 13:10:15 +00:00
Matthias Melcher
a333f29b91
STR #1123 : Fixed include path in CMake build. I don't use CMake, but since this patch was contributed by the same company that *wrote* CMake, I have a good feeling that they know what they are doing.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 15:22:29 +00:00
Matthias Melcher
5552a0cce7
STR #1104 : WIN32 version would insist on running a full length timeout even if it knew already that the UI needed to be updated. This could cause a quite long delay when a timeout was used to trigger a redraw. Probably true for threads as well... .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-16 11:34:04 +00:00
Matthias Melcher
3cdd5a4c8d
STR #1122 : Fl_Text_Display would throw away all key events if the mouse pointer was outside of the Widget bounds.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-15 20:31:35 +00:00
Matthias Melcher
e3883f0384
STR $1099: The Quartz version of FLTK now draws a very nice resize
...
control in the lower right corner of top-level windows if that
window is resizable. The color of the control adapts to the
background color of the window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 13:51:51 +00:00
Michael R Sweet
7dd1ddbeef
FLTK now enables large file support when available (STR #1087 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:39:55 +00:00
Michael R Sweet
c97fcd9c65
Fl_Clock_Output depended on a time value that was the same as an
...
unsigned long, which is incorrect for WIN64 and VC++ 2005 (STR
#1079 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:34:34 +00:00
Michael R Sweet
258c3e81a4
Fl_Text_Display::wrap_mode() would crash if no buffer was
...
associated with the widget (STR #1069 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-09 21:34:04 +00:00
Michael R Sweet
067d1d8a61
Updated the default label and text colors of all widgets to use
...
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-30 17:42:21 +00:00
Michael R Sweet
57067a923d
Remove unnecessary includes ("flstring.h" is included by the parent
...
file and includes <string.h> and <ctype.h>...)
Add changelog entry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-13 14:27:19 +00:00
Michael R Sweet
405b80784a
Fl_Value_Input now uses the screen-absolute position instead of
...
the window-relative position when dragging the value; this avoids
some jumping conditions (STR #1037 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12 20:47:21 +00:00
Matthias Melcher
60812b2ecc
STR #973 : popup menus now pop up fully visible in the current screen if possible and useful. In detail, menus in a menubar will pop up above the title if they would cut into the screen bottom. Submenus will show the *last* item to the right of the parent instead of the first. Finally, Pulldowns with title will simply apppera over the title instead of under the title.
...
There are two exceptions:
Menus that have a selected item will not be modified, so the selected item is visible. Hence an Fl_Choice will never have a 'fixed' menu.
If putting the menu high would intersect the top frame of the screen, we leave the menu at the bottom.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25 19:04:04 +00:00
Matthias Melcher
83d58a96b2
STR 1025: fixed illeagal acces to delted object. It was meant to set the dirty flag in the parent of course.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19 21:10:48 +00:00
Matthias Melcher
02ab74fcee
Fixed x-offset problem in Help_Widget (STR #998 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-13 08:43:28 +00:00
Matthias Melcher
c526a7ad2f
Clipboard will persist if owner window is hidden (STR #1019 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:51:36 +00:00
Matthias Melcher
2b6586f64d
STR #1007 : Applied second patch by hand. OP: could you please check if all changes were made correctly? Thanks!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12 23:03:34 +00:00
Matthias Melcher
8c479b5ea6
F2 and F3 (move up/down) would not set the "changed" flag
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:25:22 +00:00
Matthias Melcher
a2effb7c2b
Fixed C++ style comments in plain C files (STR #997 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:16:36 +00:00
Matthias Melcher
d952d9b9d6
Fixed signedness of argument to sscanf
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29 20:11:48 +00:00
Dejan Lekic
dc1b3aaf1a
Update of "CHANGES" file with information about STR#995 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-27 05:28:02 +00:00
Matthias Melcher
cd1de720b7
FLUID now knows if a static callback is already declared in a class and won't declare it 'extern' (STR #776 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23 11:28:13 +00:00
Matthias Melcher
5856b3b9be
Some actions in FLUID would not set the "changed" flag.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21 21:55:22 +00:00
Matthias Melcher
eca40efb6e
This change is controversial. It changes the behavior of fl_filename_list
...
slightly by adding a forward slash after every directory name on every
supported OS. Included in this patch is a change in the code that
lists mounted volumes on OS X Mac.
Apple users, please check. Open FLUID, open the file dialog and
clear the current path. You shoudl see a list of mounted volumes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 21:56:22 +00:00
Matthias Melcher
661c0ff41b
Fixed redraw range in Multiline Input with wordwrapping for space characters and for undo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 12:07:34 +00:00
Matthias Melcher
6bd434fe47
#959 : outside labels in fluid moved, so that they refresh correctly even when previously clipped. Remove superfluous grouping. Using contrasting color for label of selected Tabs. MUST GET 1.1.7 OUT SOON! ;-)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17 11:33:12 +00:00
Matthias Melcher
c9bfdc20fc
FLUID now correctly redraw FL__Tabs if one of their children changes color.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-16 21:05:52 +00:00
Matthias Melcher
78e4274963
Added support for Fl_Window::size_range() in FLUID. There are no UI elements for increment or aspect ratio.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 23:07:20 +00:00
Matthias Melcher
41c089f3c1
Dottet label selection box and standard widget selection boxes would not always align when snapping was enabled. Also, the dragging indicators would not snap. (STR #964 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 20:40:16 +00:00
Matthias Melcher
b5f14ff780
fl_filename_list now correctly handles path names like 'c:'
...
or 'c:/windows' by listing it contents instead of the filename itself.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 20:03:36 +00:00
Matthias Melcher
379804873e
Fixed Fl::event_text() for FL_DND_* events on Windows (STR 968)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15 19:18:49 +00:00
Matthias Melcher
af39242da6
Fl_Text_Display now auto-scrolls in all directions (STR #915 ). This is implemented using a timer event. The scroll speed is proportional to the distance of the cursor to the text area
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10 23:11:51 +00:00
Michael R Sweet
7410f80a84
Revert changelog (Dejan, for future reference please place all non-
...
documentation changes BELOW the first change line - I group all
documentation changes in the single line and list the STRs to
keep things somewhat organized...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10 13:55:24 +00:00
Dejan Lekic
d7ae9e9fbc
Added information about change related to --prefix flag.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10 12:39:45 +00:00
Matthias Melcher
fc8b075951
On X11, borderless windows will not show in the taskbar anymore (STR #933 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 23:31:41 +00:00
Matthias Melcher
6f6cab4d6e
Moved some code around so that FLTK will figure out the
...
event_text for dnd text on the first FL_DND_ENTER event and then keep
if in a temporary buffer until FL_PASTE or the next DND event.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 19:30:09 +00:00
Michael R Sweet
87a8b2d9c7
Add --cc and --cxx options to fltk-config, which show the compilers that
...
were used to compile FLTK...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 15:08:06 +00:00
Michael R Sweet
ff88ea3ec5
Fl_Valuator-derived widgets could show more digits than were
...
necessary (STR #971 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 15:01:45 +00:00
Michael R Sweet
a4f428d82b
Doco update for subwindows on OSX, and remove WIN32 note for cut/paste
...
buffer using \n and not \r\n since we now do \r\n.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 03:03:37 +00:00
Michael R Sweet
a78af9b2b8
Remove Fl_Group from Fl_File_Chooser docos.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:46:20 +00:00
Michael R Sweet
4d2333525e
Doco fix (STR #960 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:41:59 +00:00
Michael R Sweet
4fa1a3edb4
Fl_GIF_Image did not handle images with an incorrect number of
...
data bits (STR #914 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 02:34:06 +00:00
Michael R Sweet
afbd833c04
Fixed some plastic drawing artifacts (STR #906 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 01:35:29 +00:00
Michael R Sweet
eaaae8b05e
Fl_Help_View now draws the box outside the scrollbars, like the
...
other scrollable widgets (STR #871 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 01:31:03 +00:00
Michael R Sweet
3b659149e6
The fltk-config script now handles invocation via a symlink (STR
...
#869 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 01:09:39 +00:00
Michael R Sweet
28940a5c75
Updated WIN32 cut/paste code to consistently handle DOS text (STR
...
#961 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:57:00 +00:00
Michael R Sweet
6585e234ae
Added shared library support for Cygwin and MingW (STR #893 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:54:30 +00:00
Michael R Sweet
c9f9b4faa0
Fl_File_Chooser did not implement the user_data() methods (STR
...
#970 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:50:02 +00:00
Michael R Sweet
b8dcdf4c64
Compilation could fail if a previous installation of FLTK was in
...
the same (non-standard) directory as an image library (STR #926 )
configure.in:
- Add LINKFLTKFORMS definition.
- Change LINKFLTK* definitions to just reference the static
libraries themselves.
makeinclude.in:
- Use LINKFLTKFORMS and drop -L../lib stuff for static linking.
src/Makefile:
- Move -L. in front of LDLIBS and IMGLIBS when linking shared
libfltk_images.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:44:38 +00:00
Michael R Sweet
7da5a27b40
Add documentation for screen_count() and screen_xywh() (STR #931 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:00:41 +00:00
Michael R Sweet
2c8dce49b1
Fixed OSX compilation problems with non-HFS filesystems (STR
...
#972 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-07 14:03:42 +00:00
Dejan Lekic
1216232ebf
New change report...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-06 05:07:49 +00:00
Dejan Lekic
289434a6e2
Added information about fixed STR #967 .
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-05 14:26:59 +00:00
Michael R Sweet
0a5b7239d4
Fix redraw problem with Fl_File_Input (STR #958 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-28 22:56:00 +00:00
Michael R Sweet
9d32c9a60f
Fix bad include file in file chooser.
...
Remove unused variable in plastic box drawing code.
Fix spelling mistakes and wrapping in changelog.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-25 19:20:06 +00:00
Matthias Melcher
b6f2bc9250
STR #831 : When moving an OpenGL window outside the screen and then back again lets fltk get stuck.
...
The problem seems to be an idefinite repeat of the WM_PAINT message. The driver sends an internale WM_PAINT (one that does not contain an update region). FLTK then creates a union with the still existin 'i->region' of the OpenGL window, causing yet another WM_PAINT message.
The fix is to not run through the WM_PAINT handler at all if there is no update region (as suggested by Microsoft). This change is definetly debatable, since it does modify some internal FLTK behavior. I will commit it anyways for now, but we should pay very close attention to redraw problems by those who use the svn releases.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4456 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-25 09:51:20 +00:00
Matthias Melcher
b1ad1a2f96
STR #848 , missing xclass support implemented as suggested by Mike.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-24 19:08:31 +00:00
Matthias Melcher
96e45cb448
Added support for characters from the current 'locale' for the floating point input field, so that us poor Europeans can finally enter the "," character instead of that English decimal point.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-24 17:42:50 +00:00
Matthias Melcher
9688b0b1c3
Fluid was casting Fl_Input_Choice to Fl_Menu_ at two occasions which is wrong since Input_Choice is derived from Fl_Group. Fixed.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 22:56:27 +00:00
Matthias Melcher
e9f7f4ce49
Silly typo would position new windows, that touched the right screen border, all the way to the left, instead of just left of the screen's right border.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 22:10:47 +00:00
Matthias Melcher
e2cc046d09
pie drawing in WIN32 differed from X11 pie drawing (w and h were 1 pixel too small)
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 21:52:24 +00:00
Matthias Melcher
5226d5aa7e
STR #602
...
OpenGL Windows inside Tabs that were inside of tabs were not drawn correctly. This was due to the fact that a first 'show' on a Tabs widget would show *all* groups inside the tab (unless the user called 'value(...)' on it first). This was only visible on OS X, because subwindow clipping would wrongfully clip even hidden subwindows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23 12:21:58 +00:00
Matthias Melcher
35b28fafd1
last character in CodeEditor (Fluid) would disappear under certain circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn.
...
This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-22 20:18:56 +00:00
Matthias Melcher
394ab6af40
Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 13:20:14 +00:00
Matthias Melcher
580ecb0048
- Fluid overlay now shows a seperate bounding box of selected
...
items with correct handles and a dotted boundig box for all
labels (STR #790 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 11:33:34 +00:00
Matthias Melcher
a15e974676
- I enlarged the 'minimal update' area in Fl_Input_, so that characters that overlap the font box will be correctly erased during minimal redraw. The original code assumes that character fin in a box from 0,0 to charcter width/height. However, many newer fonts overlap that box and leave traces when redrawn. See 'j' and 'W' in Helvetica on Mac and Windows.
...
- added textsize etc. support for Fluid Live Mode for Fl_Input type.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 11:11:51 +00:00
Matthias Melcher
069276646a
Fixed button resizing issue in Fl_File_Chooser (STR #884 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-19 13:14:18 +00:00
Matthias Melcher
e8ea433222
Changing the 'private' flag would not reflect in the widget browser immediately.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 09:14:58 +00:00
Matthias Melcher
478950c3bc
Documentation fixes
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:50:05 +00:00
Matthias Melcher
5aa5abdff5
Added support for 32bit per pixel subformat, uncompressed, in BMP. Last 8 bit are used as Alpha channel.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:38:52 +00:00
Matthias Melcher
2d5130bef8
Value Sliders would not receive focus when clicked on (STR 911 (wrrooom))
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:31:19 +00:00
Matthias Melcher
b500645a5e
Added redraw on focus vi FL_PUSH for roller, browser and slider
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:25:06 +00:00
Matthias Melcher
56933d2b80
Fl::set_font() did not clear 'pretty' name of existing font
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 08:13:20 +00:00
Matthias Melcher
651bf8d275
Fixed unescaped '@' in fonts demo.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16 07:57:14 +00:00
Matthias Melcher
59b74e9fcb
If starting Fluid with the -c (compile only) option, Fluid should not require a connection to the X11 Display anymore, allowing fluid to create code on head-less terminals.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-15 09:48:09 +00:00
Matthias Melcher
770147baf6
Applied hidden copy / ctor patch as suggested in STR 860
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-15 09:34:53 +00:00
Matthias Melcher
7a2b1956e0
increased matrix stack depth to 32 units and added error messages on under- and overflow error.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14 14:31:09 +00:00
Matthias Melcher
e2504a0881
- I had to revert SVN fix 4386 which simplified Carbon clipping, but also introduced unwanted overwriting of subwindows. The current code is slower, but correct, and should still perform well enough if here are no subwindows.
...
For FLTK2, this is no issue since subwindows and subgroups are implemented without OS support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14 13:43:26 +00:00
Matthias Melcher
7f526e1362
- Fixed Fl_Bitmap::copy code according to Stephans suggestions. Thanks! Good catch.
...
- Fixed some minor alignment in Fluid.
- Live Mode window in Fluid is now double buffered to get rid of flicker.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14 13:16:17 +00:00
Matthias Melcher
13cb2bc18c
STR #878 : fixed tiny memory leak when calling Fl_Widget::label(label()) which happens when assigning a window icon.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4412 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-11 21:05:45 +00:00
Matthias Melcher
88bb4a58d3
Fixed static allocation of 1000 font information units in fonts.cxx.
...
Although this fixes the crash, the font enumerator in FLTK should never return a number larger than 255 (which unfortunatly is the maximum number of fonts supported by FLTK 1 for binary compatibility)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-11 20:46:15 +00:00
Matthias Melcher
22986c92c4
STR #915 : fixed hang on corrupt jpegs by giving a maximum of 10 chances for jpeg lib to clean up on damaged file reads.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4410 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-11 20:31:59 +00:00
Matthias Melcher
090eb71a26
OK, I admit that I am nuts. But since the code was mostly there anyways adding only a few bytes to the library in total, I added the symbols 'refresh' (formerly known as 'recycle'), 'reload', 'undo', and 'redo', and flags to flip symbols horizontaly '$', and verticaly '%'.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 20:05:49 +00:00
Matthias Melcher
510545879b
Win322: Calling Fl_Window::size() and friends would move focus from the current window to this window. This was especially painful in Fluid when trying to resize a window by typing its new size into the Widget Properties dialog.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4389 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 09:26:16 +00:00
Matthias Melcher
d00881fbc4
Fixed WIndows line endings
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 09:17:51 +00:00
Matthias Melcher
df32d2a9b8
Fl::copy() would always set a flag, instructing Fl::paste to use the internal clipboard. ALthough that is faster, Fl::paste() would eventually miss changes to the external clipboard.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 07:48:16 +00:00
Michael R Sweet
04c67e441e
Fix clipping code on OSX...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4386 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-06-01 03:49:43 +00:00
Matthias Melcher
9d12e01cc7
Typo....
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4385 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-31 20:15:09 +00:00
Matthias Melcher
7c143c6bfb
Fl_Menu_::find_item() was trying to search through submenus created with FL_SUBMENU_POINTER (vs. Fl_SUBMENU and an array of submenu items), but not following the pointer, messing up the search string.
...
Two fixes were possible: correctly searching linked submenus, or disabeling submenu links alltogether. I decided for the later since the use of FL_SUBMENU_POINTER implies that the user knows the pointer and can search that submenu seperately, saving time when searching the main menu.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-31 20:05:50 +00:00
Matthias Melcher
386cadbcf7
Fluid interactive window resizing fixe (STR #873 , 791)
...
Fixed fake_X_wm call on Win32 to return the correct window decoration sizes, even in XP's "Teletubbies" mode.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29 22:36:25 +00:00
Matthias Melcher
0132f4f8fd
Fluid panel resize and alignment fixes (STR #891 ).
...
Everything should resize nicely now. All Widgets have been realigned. Hope you guys like it... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29 22:28:13 +00:00
Matthias Melcher
900034ee65
Fixed the Round Plastic buttons to actually draw nice and riund, just
...
like the original scheme buttons. This is relatively slow, but worth
the effort, I beleive. Just use double buffered windows... .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-27 11:33:34 +00:00
Michael R Sweet
a3af163fcb
Changelog...
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-26 21:13:17 +00:00
Michael R Sweet
9774446d8b
Move show() after scheme() call in Fl_Window::show(argc, argv) to
...
eliminate scheme flicker on startup.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-26 14:03:44 +00:00
Michael R Sweet
db98aaac86
Selected tabs are now drawn slightly larger than unselected tabs
...
so they stand out more (STR #882 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-26 13:54:53 +00:00
Michael R Sweet
dfc390e735
Fix FL_PLASTIC_DOWN_BOX artifacts (STR #852 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-20 02:44:03 +00:00
Michael R Sweet
b33cc94810
Fix sentinel value for HWND on WIN32 (STR #862 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-20 02:39:39 +00:00
Michael R Sweet
74d3204304
Fl_Preferences::getUserdataPath() didn't work for sub-groups (STR
...
#872 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-20 02:05:38 +00:00
Michael R Sweet
461d60a0f3
Revert WIN32 redraw fix from r4244, and apply a new one that is a bit
...
cleaner which should not cause problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-19 16:22:29 +00:00
Michael R Sweet
13d8286b8a
FLUID didn't set the initial size of widgets properly (STR #850 )
...
Fl_Tabs would steal focus away from its children on a window
focus change (STR #870 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-19 15:57:32 +00:00
Michael R Sweet
79de1e070d
filename_relative() now converts the current directory to forward
...
slashes as needed on WIN32 (STR #816 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-13 03:19:13 +00:00
Michael R Sweet
2c8fc6f66a
Fl_File_Chooser::value() and ::directory() now handle paths with
...
backslashes on WIN32 (STR #811 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-13 03:16:30 +00:00
Michael R Sweet
fa986f559d
Added the standard rgb.txt file from X11 to the test directory,
...
allowing all platforms to try the colbrowser demo (STR #843 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-12 20:03:59 +00:00
Michael R Sweet
b4a0827881
Resizing of OpenGL subwindows was broken on OSX (STR #804 )
...
Added a FPS indicator to the fractals demo for testing purposes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-12 19:16:27 +00:00
Michael R Sweet
743b0f984e
The fltk-config script now supports running from a source
...
directory (STR #840 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-12 17:27:59 +00:00
Michael R Sweet
fdf8cbad74
Fl_Browser_ didn't update the position properly when an item was
...
deleted (STR #839 )
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-12 17:10:58 +00:00