Commit Graph

1009 Commits

Author SHA1 Message Date
Matthias Melcher
922a38629e Made plastic up and down box look good when large without wasting
too much resources.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-13 21:48:58 +00:00
Michael R Sweet
62c161126c Tweek the FL_PLASTIC_UP_BOX to look more transparent...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-13 20:11:56 +00:00
Michael R Sweet
30f8cef212 Use correct image filename...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-13 17:12:35 +00:00
Michael R Sweet
176df8de80 Fix bug in makesrcdist script.
Update to v1.1.0b7.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 22:12:01 +00:00
Michael R Sweet
f15268f09f Fix .c.o and .cxx.o rules ($< instead of $@)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 21:57:17 +00:00
Michael R Sweet
cd9639c212 Update documentation screenshots (still have some to go...)
Cleanup some demos and the color chooser.

Restore code in Fl_Window::hotspot() to keep the window on the screen.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 21:33:34 +00:00
Michael R Sweet
a910371403 Documentation updates, mainly to fix typos, mark constants with TT, and
clean up the osissues.html file for all OS's.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 15:20:27 +00:00
Matthias Melcher
0ee1fb7b1b Added Carbon event handling for Mac OS X gaining support for the
Mose Wheel, Key Modifiers, etc. .
Added some documentation (please check: English is not my native
language)
Changed line pattern to look a little nicer.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 07:50:37 +00:00
Michael R Sweet
96d499704a Update paragraph 4 of the FLTK license exemptions; basically, justify/
explain the reason for specifying a program uses FLTK, and drop the
requirement for include the FLTK license...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12 02:20:15 +00:00
Michael R Sweet
fdcdc8fd46 Multiple fixes from Sebastien.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-11 16:03:13 +00:00
Michael R Sweet
6905f61c2c "make uninstall" didn't uninstall the OpenGL library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-10 14:46:04 +00:00
Matthias Melcher
633555bb42 Mac: Added missing Cursor Shapes for Mac version
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-09 23:45:22 +00:00
Michael R Sweet
100f78de3f CygWin threading fixes from Teun.
Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-09 20:26:24 +00:00
Michael R Sweet
7e38b22fa0 More files with the wrong copyright/email...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-09 13:01:02 +00:00
Michael R Sweet
3f6ff88fa5 Some files still had the old "fltk-bugs@easysw.com" address...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-09 12:52:13 +00:00
Michael R Sweet
76affdbfd3 Add docos for the thread methods (awake, lock, thread_message, and unlock)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-08 21:24:07 +00:00
Michael R Sweet
ef96c53019 Fix infinite loop problem in Fl_Text_Editor - was resizing before we
updated the number of lines in the buffer.

Carl, please make sure this fix gets added to 2.0 CVS, if necessary.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-08 20:46:33 +00:00
Michael R Sweet
64f2cc0635 Fix threading test.
Add threading demo from 2.0, with minor improvements to make the
prime number generation faster/more realistic.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-08 16:23:51 +00:00
Michael R Sweet
a93a8031f1 Line style and focus boxes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-07 16:28:38 +00:00
Michael R Sweet
e92f9842b7 Draw the little box between the scrollbars using FL_GRAY instead of
color()...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-07 16:27:54 +00:00
Michael R Sweet
ba2be02ab2 FLTK 2.0 threading support under FLTK 1.1. Needs porting to OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 22:16:49 +00:00
Michael R Sweet
7710dc14a8 Don't pop up the message box for warnings under WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 19:56:21 +00:00
Michael R Sweet
2c8bc31971 Run $(RANLIB) on installed static libraries, since some OS's (i.e. Darwin)
compare the file modification time against the symbol table time...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 18:23:29 +00:00
Michael R Sweet
9c75838011 Use FL_NO_BOX for check button and round button.
Clip Fl_Tiled_Image to the bounding box.

Draw Fl_Progress using the box.

Draw plastic box types right for narrow (but horizontal buttons)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 18:12:35 +00:00
Matthias Melcher
ab896c6d5f FLTK 1.1.0 for Mac "Out Of The Box Experience": type 'make' and watch...
- updated configure.in and Makefiles to support Darwin (Mac OS X BSD
  environment)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 02:20:36 +00:00
Matthias Melcher
e07200c4e8 Implemeted 95% of all Mac OS X support. Makefiles still need modifications.
Almost all test applications run out of the box (->Makefile). See more
information in README.mac .

Changes:
- message handling
- access to opaque port structures
- image, bitmap, pixmap support
- most OpenGL stuff
- window styles


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 00:17:47 +00:00
Michael R Sweet
39109694e1 Missing declaration of "newch"...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-05 00:21:40 +00:00
Michael R Sweet
a8f3f02214 Add support for 2-byte XPM files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-05 00:19:26 +00:00
Michael R Sweet
2fbee9c150 Segfault fixes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-05 00:06:41 +00:00
Michael R Sweet
fc3999a24e Don't install header symlinks under MacOS either...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 19:57:45 +00:00
Michael R Sweet
ce08c01ebf isalpha, not isletter... :(
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 19:04:15 +00:00
Matthias Melcher
731b29bf85 updated CHANGES file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 04:22:02 +00:00
Matthias Melcher
1acca043df Some Win32 drivers would draw into wrong buffers
after OpenGL mode change.
After changing from single- to doublebuffered OpenGL, glClear would
write into the FRONbuffer and swap_buffers would not send a glFlush().
(nVidia GeForce2 MX/MX 400, 2560x1024 pixel, 16bit)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 04:12:58 +00:00
Matthias Melcher
1d06051e8c FLTK for Mac:
Reversed to outdated (but working) event handling.
 Added README.mac
 Added mac.r minimal resource fork
 Still lots of bugs, but initial rendering works


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 03:03:17 +00:00
Michael R Sweet
9e6b78b5ca Make Fl_Text_Display use the same defaults for the selection and background
colors as Fl_Input_, and use fl_contrast to get an appropriate text color.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03 20:14:30 +00:00
Michael R Sweet
bb2ac233c6 My bad... Remove autoconf-generated Enumerations.H - it's only
needed for updating the version numbers automatically, and I've
gotten update conflicts on several occasions.

The other files (fltk-config, etc.) are still generated by
autoconf.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03 18:57:45 +00:00
Michael R Sweet
3a0fe79164 Bug fixes and doco updates care of Sebastian.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03 18:29:49 +00:00
Michael R Sweet
d7f311e25c Fix Fl_Tabs to use boxtypes exclusively for drawing the tabs. This results
in boxier tabs, but you can customize as desired.

Fix plastic box types when drawing larger boxes that would default to
the color (without any adjustment).

Don't need to build fluid files anymore for source distro - visual C
projects now create them as needed.

Changelog update.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-01 13:59:50 +00:00
Matthias Melcher
1977f13908 Updated Win32 MS-VisualC Workspace to run FLTK "out of the box":
Donload the archive, unpack, start VisualC and press F5 to compile
and run the demo and all other test programs... .

browser: wouldn't find sample file
CubeView: calls fluid in custom build step, unintialised position
fast_slow: build calls fluid
forms: added plastic buttons (cute)
inactive: build calls fluid
keyboard: build calls fluid, added mousewheel
mandelbrot: build calls fluid
resize: build calls fluid
radio: build calls fluid
shiny: build calls fluid
tabs: build calls fluid
valuators: build calls fluid, tiny scrollbar bug
demo: debug on VC finds correct menu file


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-01 01:54:30 +00:00
Michael R Sweet
ca83eb11a1 Fix infinite loop bug with WIDTH=100% in Fl_Help_View widget.
Fix handling of WM_SYNCPAINT message.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-30 16:10:08 +00:00
Matthias Melcher
a8e4b27e19 CVS test. Ignore. Matthias.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-30 00:28:22 +00:00
Michael R Sweet
83df36c2de Clean all GL demos with a "make clean".
Don't need -lgdi32 anymore for CygWin.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 22:22:08 +00:00
Michael R Sweet
62bc805daa Fix for makesrcdist script...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 22:05:55 +00:00
Michael R Sweet
249f06e077 Require autoconf 2.13 or newer.
Remove unnecessary .fl -> .exe rule (was commented out)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:50:05 +00:00
Michael R Sweet
28ac8f1c6c Add cast for Fl_Pixmap constructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:49:00 +00:00
Michael R Sweet
bc925b34c3 Tweek makeinclude.in so that we build from .o files instead of .cxx -> .exe
Same for .fl -> .exe in test/Makefile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:24:49 +00:00
Michael R Sweet
02d869450d Minor tweeks to the configure script for CygWin and Mesa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:12:15 +00:00
Michael R Sweet
09daf20b81 Documentation updates galore (up to chapter 7, still need to do chapter
8 and 9, tweek the appendices, and recapture the screenshots...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 19:24:00 +00:00
Michael R Sweet
b105ab8b7f Update tile image...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 01:59:48 +00:00
Michael R Sweet
4b23d4c6d5 VC++ fixes, plus add new tiled_image project file.
Use the plastic box type for the tiled_image demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 00:24:43 +00:00