summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-10-03Fix "missing sentinal" warning from GCC 4 - basically this means we usedMichael R Sweet
"0" instead of "(void *)0" in a variable-argument function, which will not work on 64-bit systems where int is 32-bits. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-02Fix new alpha blending code to use the source image width instead ofMichael R Sweet
the destination width when computing the start pointer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-02Fix light button drawing so that the glowing LED mode is only used whenMichael R Sweet
Fl::scheme() is "plastic". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-26STR #1447: Fixed CMake files to include new GTK+ schemeMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-25src/Fl_Button.cxx:Michael R Sweet
- Fl_Button::draw(): Only use fl_contrast() on the label color when value() is non-zero. src/fl_color.cxx: - fl_contrast(): Require at least 1/3 (85) instead of 1/2 (127) for contrast against the background. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24Adapt Sadysta's alpha compositing code for current implementation ofMichael R Sweet
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-24Flip the color of Fl_Choice to FL_BACKGROUND2_COLOR when there is noMichael R Sweet
scheme so the menu uses the same color as the background. Add -Dname[=value] documentation to fltk-config man page. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-24Tweak gtk+ drawing of Fl_Choice.Michael R Sweet
Add support for "-Dname" option in fltk-config. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-23Use FL_BACKGROUND2_COLOR for the standard Fl_Choice background instead ofMichael R Sweet
fl_lighter(color()), so that the previous look-n-feel is preserved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-23Check buttons did not redraw properly with box() set to FL_NO_BOXMichael R Sweet
(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-21Use "1" as the count for the targets query instead of sizeof(Atom).Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-20Fix inactive drawing of the new GTK+ box types.Michael R Sweet
Fix inactive drawing of Fl_Clock and Fl_Dial widgets. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17Implement new "gtk+" scheme which provides a Bluecurve look-n-feel.Michael R Sweet
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-17Much improved sensing if a machine will do Alpha blending. This may actually ↵Matthias Melcher
be the solution. If Alpha blending is not supported, we fall back to the old screen door transparency. This does not take into account a multiple screen setup with different screen depths, but I assume that this is a rare enough constellation and would cause many other problems on top of this minor issue. As a fallback, we will *always* render the image, but worst case without any alpha channel. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-16OK, I believe I fixed the transparency issues on WIN32. Please everyone, ↵Matthias Melcher
test the code on all machines. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-16Found bug in Alpha Blending code when using double buffered windiws. ↵Matthias Melcher
Disabeling code until I find the fix. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5435 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-15Implemented alpha blending for WIN32. I believe that I did it in a way that ↵Matthias Melcher
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-15In Fl_Text_Display, all unused keyboard events are sent to the scrollbars, ↵Matthias Melcher
so that the user can scroll through text using the usual navigation keys (left, right, up, down, page up, page down) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-13Fixed Fl_RGB_Image::copy. My previous fix had the meaning of ld() wrong.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06Additional fix for STR #1415 for Xft font selection.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05Added code to clear the current font cache when the font face is changed. ↵Matthias Melcher
Now for OS X and X11 as well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05Fixed font caching issue from STR 1415Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05STR #1410: fl_file_chooser could crash after a previously canceled dialogMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04STR 1412: fixed RGB image block copy for ld() values != 0Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5411 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04STR #1411: fixed latin-to-macRoman text conversionMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5408 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-30Fixed typo in 'desktop-osx' install. Commented out unused variable.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-30STR #1151: Cygwin for some reason was ifdef'd out for setting a shorter ↵Matthias Melcher
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-29Updated OSX subwindow simulation code to better add and remove from the ↵Matthias Melcher
clipping list git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29- removed more inconsistencies between fl_draw and fl_measure (STR #1408)Matthias Melcher
- 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-29Fixed fl_measure which mistook a trailing '@@' for a symbol (STR #1406)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29STR #1403: GLUT window creation code - better fix.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-28Fix blocks crashes on WIN32 - audio buffer too smallMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25Two simple glut fixes (flickering and VC6 compiler issues).Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25Fixed GLUT behavior on window creation (STR #1267)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25Fixed OS X bug that would hide tooltips before they were shown (STR #1392)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-25Fixed Fl_Tabs tooltip reappearing.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-24Fixed filechooser to behave as documented when file pattern changes (STR #135s9)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23Fix Fl_Gl_Overlay to use new valid APIMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23Avoiding problems with some platforms that don't implement hypot() (STR #1366)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5349 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23Fixed Fl_Positioner callback when released (STR #1387)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-23Fixed WIN32 zero size window issue (STR #1387)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-22Refixed STR #1221, fixing STR #1393.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-21Fixed uninitialized data in OS X and WIN32 timout functions (STR #1374).Matthias Melcher
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-19Fixed unintialized data bug in OS X timeout functions.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19Moved Quartz OS X fonts half a pixel up.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19Fixed speed issues with measuring text sizes in OS X QuartzMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-19Fixed focus issues on OSX (str #1377)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18I forgotMatthias Melcher
a dot. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18STR #1381: added optional "precision" argument when writing floats or ↵Matthias Melcher
doubles to a Preferences file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-17Fixed callback sometimes not calle when using the arrow keys in an Fl_Slider ↵Matthias Melcher
(STR #1333) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121