Commit Graph

1033 Commits

Author SHA1 Message Date
Michael R Sweet
a721b4ad00 Doco and makefile updates from SGI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 02:17:19 +00:00
Michael R Sweet
5ec539b918 Doco fixes from Alexander.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 02:06:19 +00:00
Michael R Sweet
312ac39603 Strip fluid after the copy to bindir.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 01:34:44 +00:00
Michael R Sweet
d246217383 Unixware fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-15 01:33:16 +00:00
Michael R Sweet
7a82535b93 Revise configure script and makeinclude file to use OPTIM variable,
and to provide new "--with-optim=flags" option.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-13 19:17:36 +00:00
Michael R Sweet
a33a9e34d4 Remove unused and obsolete JPEG image demo.
Fix GLUT include in fracviewer.cxx.

Add explicit dependencies on .o files for each demo program; this allows
FLTK to be compiled with older (broken) make programs that don't support
multi-step dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-13 18:38:24 +00:00
Michael R Sweet
c874ba21a9 Add -lcomctl32 for Windows builds.
Make no-cygwin the default (almost 2:1 in favor of this change)

Some minor reorganization and cleanup of the configure.in file,
so that the Cygwin stuff is done first, and other ops are done
together.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-11 21:42:05 +00:00
Michael R Sweet
6eff9b3b14 First round of DND additions to 1.1 - just X11 code, and I haven't added
the support in widgets yet.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-09 21:50:02 +00:00
Michael R Sweet
45ff84b1f5 Update changelog...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-09 16:25:03 +00:00
Michael R Sweet
d96fa88743 Fix WIN32 build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-09 15:23:11 +00:00
Michael R Sweet
d16dbc1486 Add Fl_BMP_Image.cxx to VC++ project files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1920 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-08 17:17:53 +00:00
Michael R Sweet
bccdafdaef Fixed from Teun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1919 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 20:40:02 +00:00
Michael R Sweet
a55363086d Don't apply tile image to menu or overlay windows.
Add Fl_BMP_Image.H links to fltk.list.in.

Reset colors to standard FLTK ones in Fl::get_system_colors().

Don't clear button events when fixing focus.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1918 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 18:47:27 +00:00
Michael R Sweet
d725a22d43 Only build man pages by default in documentation directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 18:05:32 +00:00
Michael R Sweet
37154d08fe Add missing Fl_BMP_Image docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1916 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-07 15:29:45 +00:00
Michael R Sweet
e0bfbbd558 Add Fl_BMP_Image class and docos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06 17:51:12 +00:00
Michael R Sweet
2d6a98560e Doco and dist file updates.
Add fltk-config man page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06 13:40:32 +00:00
Michael R Sweet
de9f676353 Fix OpenGL and button problems in shiny demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-04 18:22:27 +00:00
Michael R Sweet
8fe611b5cd Fix changing of schemes - otherwise Fl_Window::show() could cause a
reference to a non-existing tiled image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1908 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-03 18:28:37 +00:00
Michael R Sweet
81be28e2dd Fixup fractals demo so it doesn't get way ahead of display - some Linux
OpenGL implementations can queue dozens of frames...

Also fix controls in "flying" mode - the Y axis was reversed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1907 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-03 14:08:08 +00:00
Matthias Melcher
1775984dbe cleaned up src/Fl_mac.cxx, fixed Fl::wait(0.0), fixed Cmd-Q handling
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-03 08:08:21 +00:00
Michael R Sweet
2283309d03 Oopsie - fix debug code: p(int)rintf -> printf...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-02 13:49:38 +00:00
Michael R Sweet
64b4177ef4 Copyright updates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 15:11:33 +00:00
Michael R Sweet
e5a26965bf Add Teun's CygWin patch for select()...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 14:14:34 +00:00
Michael R Sweet
f9770db21f Use rint() for some more rounding of vertices.
Add fl_parse_color() to X11 version, too, and use it instead of XParseColor
in the image handling code.

Move the default color stuff in the plastic scheme to the MacOS
get_system_colors(), and apply the background color to the tile image.

More fixes for test makefile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01 13:11:29 +00:00
Michael R Sweet
988bc9d95f Fix build problems in test directory - no more recursive dependencies for
demos that are partially built using FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-30 05:16:10 +00:00
Michael R Sweet
3a904f07b7 Bump version numbers to 1.1.0b9.
Default exec_prefix to ${prefix} instead of prefix value.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-30 04:45:34 +00:00
Michael R Sweet
25e570865c Use rint() for rounding floating-point coordinates...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-28 21:57:41 +00:00
Michael R Sweet
6be2be6d43 Demo updates (so they all will use the default scheme)
Added show(argc, argv) method to Fl_Help_Dialog.

Don't clear tab area in Fl_Tabs...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-23 03:40:51 +00:00
Matthias Melcher
c868f3d886 MacOS: implemented cut/copy/past.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-22 09:30:07 +00:00
Matthias Melcher
d0bdfe300d - MacOS: more keyboard handler fixes, mainly mapping of Mac specific
keys and iBook keys, several fixes to keyboard focus.

Happy Holidays!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-22 07:16:12 +00:00
Michael R Sweet
1eb5acf22e Casts to make old IRIX 5.3 C++ compiler happy...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1892 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 20:45:43 +00:00
Michael R Sweet
b51af0f1bf More OS/2 fixes from Alexander...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1891 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 18:16:50 +00:00
Michael R Sweet
b7be2be5e6 Assign broken image when Fl_Shared_Image::get() returns NULL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1890 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 15:50:49 +00:00
Michael R Sweet
b7c23bc5e1 CVS ignore files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 15:37:39 +00:00
Michael R Sweet
707972408b Get rid of CR's in some files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 14:35:34 +00:00
Michael R Sweet
128526fc28 Fixed browser @ symbol prefix handling...
OS/2 fixes (makeinclude update and filename_isdir needed
#include <sys/types.h>)

MingW fix (makeinclude update)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1886 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-21 14:17:00 +00:00
Matthias Melcher
e9bf41eb09 MacOS: fixed iBook keycodes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-20 22:02:25 +00:00
Michael R Sweet
3e8a710093 WIN32 fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1884 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-20 19:43:17 +00:00
Michael R Sweet
df9acaafea Implement Fl::scheme() and Fl::reload_scheme() (this includes support
for new FLTK_SCHEME environment variable, which should get added to
FLTK 2.0 CVS, as well as the -scheme option...)

Revert Fl_Group/Fl_Widget destructor change - it doesn't work for
statically initialized widgets (like the widgets in a color chooser...)

Export fl_round_up_box() and fl_round_down_box() so they can be
restored in Fl::reload_scheme().

Use FL_DOWN_BOX and FL_ROUND_DOWN_BOX in menu drawing code.

Use a static string for the display environment variable in Fl::display().

Updated MacOS README file...

Added window tile image...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1883 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-20 14:41:44 +00:00
Matthias Melcher
0215c7986c fixed iBook keyboard bug.
all message handling now in Carbon.
mouse capture support added.
timer support added.
overlay support added.

getting there...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1881 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-20 05:27:14 +00:00
Michael R Sweet
a2e149d132 "make clean" should not delete makedepend, since we now track this
in CVS (makedepend contains local dependencies, not <stdio.h> and
so forth)...

The configure script didn't add -fpermissive or -fno-exceptions to
the CFLAGS and CXXFLAGS variables.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1880 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 19:23:32 +00:00
Michael R Sweet
da5a6c383b FLTK not fltk...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1879 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 18:40:13 +00:00
Michael R Sweet
329b4127f6 Multiple bug fixes from Sebastien:
- Fl_GIF_Image and Fl_PNG_Image didn't close the file before
      calling Fl::error().
    - Fl_Help_View didn't clear the line array in Fl_Help_Block,
      and Fl_Help_Block::font and ::size were not used.
    - Fl_Shared_Image::get() didn't return NULL if the image
      could not be loaded.
    - Switched to more efficient code for
      Fl_Tiled_Image::color_average() and ::desaturate().
    - Don't delete children in Fl_Text_Display since the group
      will do it.
    - Fixes to filename_isdir(), filename_absolute(), and
      filename_relative().
    - Was using numbers instead of define constants for some
      OpenGL stuff under WIN32.
    - Wasn't exporting threading functions under WIN32.
    - The Fl_Widget destructor now removes from the parent to
      avoid a Purify error since the old widget would be
      referenced by the parent when it was destroyed; this has
      no apparent performance impact since Fl_Group::clear()
      sets children_ to 0, making Fl_Group::remove() very
      fast...
    - WIN32 font enumeration datatype fixes...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 18:15:34 +00:00
Michael R Sweet
9f601ccb73 Reset horizontal position in value() method, too.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 15:59:51 +00:00
Michael R Sweet
def18b8e0c Reset left scroll position when following a link.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 15:57:32 +00:00
Michael R Sweet
b9663d5e14 Allow any child widget to be resizable in Fl_Pack.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1875 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 15:49:39 +00:00
Matthias Melcher
1fceb8ac2c MacOS: added opaque window resizing,
all events except Mac menus are now handled using Carbon,
window activation fixed,
GL_SWAP_TYPE default changed to make gl_overlay work.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-19 09:10:00 +00:00
Michael R Sweet
fe6b3acf0f Resize horizontal scrollbar.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-18 17:18:03 +00:00
Matthias Melcher
b6b4e1ec20 - Mac: greatly improved OpenGL support, some window management,
soem little bugs, better source comments


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-18 11:00:09 +00:00