Michael R Sweet
7b15f5b159
Fix install-linux target in test directory.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-07 11:32:22 +00:00
Michael R Sweet
e8aac38a70
Look for Text.selectBackground instead of fltk.selectBackground to
...
get the selection color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-04 12:48:18 +00:00
Michael R Sweet
228af43a56
Tweak GTK+ thin up/down boxes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-04 02:32:42 +00:00
Michael R Sweet
3c03eb67a0
More cleanup of GTK+ scheme - menu buttons now use the new look-n-feel,
...
and I also fixed the radio button offset for the plastic scheme.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 23:08:49 +00:00
Michael R Sweet
7febae3f9e
Add GTK thin up/down box/frame types.
...
Update the GTK round up/down box types.
Update radio/check box drawing for gtk+ scheme.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-03 02:35:12 +00:00
Michael R Sweet
ad4a4ea0db
Fix "missing sentinal" warning from GCC 4 - basically this means we used
...
"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-03 00:51:35 +00:00
Michael R Sweet
4d0529a276
Fix new alpha blending code to use the source image width instead of
...
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-02 17:20:56 +00:00
Michael R Sweet
849ecabf53
Fix light button drawing so that the glowing LED mode is only used when
...
Fl::scheme() is "plastic".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-10-02 14:29:43 +00:00
Michael R Sweet
5e39761d40
Fix void * to integer casts for 64-bit Intel systems (STR #1446 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-30 03:34:32 +00:00
Michael R Sweet
4b77e169bf
Add Id keyword for expansion.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5498 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-29 21:02:27 +00:00
Michael R Sweet
bce3e769bd
Add fl_gtk.cxx to VC.NET projects
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-28 20:21:53 +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
faddffcf18
src/Fl_Button.cxx:
...
- 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-25 16:36:52 +00:00
Michael R Sweet
69dcc7c685
Adjust arrow sizefor consistency.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-25 01:17:20 +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
b91935040a
Flip the color of Fl_Choice to FL_BACKGROUND2_COLOR when there is no
...
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-24 13:35:23 +00:00
Michael R Sweet
a4c2cbd49a
Tweak gtk+ drawing of Fl_Choice.
...
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-24 04:39:55 +00:00
Michael R Sweet
9663eaa1c4
Use FL_BACKGROUND2_COLOR for the standard Fl_Choice background instead of
...
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-23 22:52:07 +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
f0180536b3
Use "1" as the count for the targets query instead of sizeof(Atom).
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-21 12:26:45 +00:00
Michael R Sweet
1d23087fc9
Fix inactive drawing of the new GTK+ box types.
...
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-20 03:03:14 +00:00
Michael R Sweet
5be931cebd
Update Fl::scheme() documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-20 00:50:34 +00:00
Matthias Melcher
7a60537122
STR 1424: attempt to make test/Makefile more roboust for time shifts in fluid generated code
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-19 08:38:53 +00:00
Matthias Melcher
a962c9222e
Updated VisualC 6 Workspace for new GTK widget look
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5442 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-18 09:49:04 +00:00
Michael R Sweet
6a01d2cf69
Fix handling of public/private stuff for widget classes.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 18:34:17 +00:00
Matthias Melcher
36d32a9ec9
Decluttered Fluid Widget Bin to look good w/Mike new GTK+ scheme. Thanks Mike!
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 18:31:35 +00:00
Michael R Sweet
982ee98332
Add GTK box types and missing plastic round box types.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-17 15:59:02 +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
d63cf6e315
Much improved sensing if a machine will do Alpha blending. This may actually 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-17 12:49:19 +00:00
Matthias Melcher
b39938e5cc
OK, I believe I fixed the transparency issues on WIN32. Please everyone, 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-16 16:02:00 +00:00
Matthias Melcher
8238e05727
Found bug in Alpha Blending code when using double buffered windiws. 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-16 14:25:48 +00:00
Matthias Melcher
f55b412582
Added documentation for "fl_can_do_alpha_blending()"
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-16 13:46:34 +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
dac4c56304
Typo in doc.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-15 10:53:24 +00:00
Matthias Melcher
ff94d41c51
In Fl_Text_Display, all unused keyboard events are sent to the scrollbars, 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-15 08:24:34 +00:00
Matthias Melcher
27217f9a74
Fixed Fl_RGB_Image::copy. My previous fix had the meaning of ld() wrong.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-13 22:55:55 +00:00
Michael R Sweet
ef2dc5bd87
Add DSOFLAGS to DSOCOMMAND's, so that we inherit X_LIBS and other options
...
for linking of shared libs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5426 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-12 01:31:42 +00:00
Matthias Melcher
44264e3c4e
Additional fix for STR #1415 for Xft font selection.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06 20:16:03 +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
c989ca4bdf
Updated documentation to reflect Fl_Window::xclass caveat. STR 1420
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-06 07:08:38 +00:00
Matthias Melcher
8c94b01142
Added code to clear the current font cache when the font face is changed. 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-05 11:26:41 +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
4b50eb2244
Restoring the accidentaly destroyed hello.cxx
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 10:29:31 +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
Michael R Sweet
cdc165bd68
Fixed DSO generation (STR #1405 )
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-05 01:39:13 +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
8247d773d3
STR 1419: two more typos thanks to me being hectic with vim
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5410 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 18:57:49 +00:00
Matthias Melcher
6032a10632
STR #1418 : duplicate tag in documentation.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-09-04 18:49:37 +00:00