Michael R Sweet
7b19ba41ae
Added gluDeleteQuadric() call to avoid memory leak.
...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 13:37:00 +00:00
Bill Spitzak
2316172e5f
Fixed fluid bug that caused styles patch to crash when you delete menu item.
...
Changed a comment in Fl.cxx
Changed valuators demo to remove code to set value() on some widgets and
put the value into the gui box instead.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13 20:07:21 +00:00
Michael R Sweet
2b4b055204
Updated not to use v3f() macro.
...
No longer use glColor4ub(), as 1) Sun's compilers have trouble with their
own headers with this (glColor4ub is a macro, a VERY bad thing to do!), and
2) it's an OpenGL 1.1 feature, and not all platforms support it.
Also optimized the QUAD and LINE primitives.
git-svn-id: file:///fltk/svn/fltk/trunk@404 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 16:40:19 +00:00
Bill Spitzak
b6115887c8
Changes to dial so that counter-clockwise motion is supported if you
...
set angle2 < angle1. Deleted the unimplemented direction() control.
Fixed the documentation, this new code allows any 2 values for the
angles as long as abs(a-b)<=360.
git-svn-id: file:///fltk/svn/fltk/trunk@399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 08:17:43 +00:00
Carl E. Thompson
f7e1ff7742
Changes Fl_Dial to use XForms defaults for angles
...
-Carl
git-svn-id: file:///fltk/svn/fltk/trunk@397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 00:13:52 +00:00
Carl E. Thompson
e42ff9a65c
This adds support for the Fl_Dial::angles() method. This seems to work
...
correctly, but it is likely that someone who remembers their high school
math could make it _much_ more efficient (I just hacked away 'till it
worked).
-Carl
git-svn-id: file:///fltk/svn/fltk/trunk@376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-08 21:44:32 +00:00
Michael R Sweet
9ae933d004
Fixed OpenGL checks (#if HAVE_GL, not #ifdef...), plus added message
...
that OpenGL is required...
git-svn-id: file:///fltk/svn/fltk/trunk@369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 20:26:00 +00:00
Michael R Sweet
474e82bd95
Added HAVE_GL check to CubeView demo code.
...
git-svn-id: file:///fltk/svn/fltk/trunk@368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 20:11:49 +00:00
Michael R Sweet
70dd4ee71e
Missing "int" on main()...
...
git-svn-id: file:///fltk/svn/fltk/trunk@354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 13:39:41 +00:00
Bill Spitzak
f89b5d0cf6
Fixed glpuzzle so you can move the pieces.
...
Added commented-out line to fl_input that could maybe fix highlight confusion
git-svn-id: file:///fltk/svn/fltk/trunk@343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-25 20:05:30 +00:00
Bill Spitzak
82877b2eb6
Fix for Curtis so that the height of a title of a popup menu is not
...
affected by the height of the Fl_Menu_Button.
git-svn-id: file:///fltk/svn/fltk/trunk@340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-25 19:09:11 +00:00
Michael R Sweet
6f61d8f239
Missing dependencies...
...
git-svn-id: file:///fltk/svn/fltk/trunk@324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:52:17 +00:00
Michael R Sweet
fea9a2db45
Makefile didn't have a .cxx to .o rule.
...
git-svn-id: file:///fltk/svn/fltk/trunk@323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:50:16 +00:00
Michael R Sweet
636b6de26d
Added CubeView source files.
...
Added CubeView to the makefile and demo.menu.
git-svn-id: file:///fltk/svn/fltk/trunk@321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:33:55 +00:00
Michael R Sweet
30e8153ef2
Updated dist to initialize to INT_MAX (2^31 - 1) instead of UINT_MAX
...
(2^32-1).
git-svn-id: file:///fltk/svn/fltk/trunk@317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:11:25 +00:00
Michael R Sweet
1bc5accffe
Updated demo program to append d.exe or .exe to end of command name and
...
not the options...
git-svn-id: file:///fltk/svn/fltk/trunk@316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:09:13 +00:00
Bill Spitzak
8009fef12c
Put Fl::grab() into it's own source file. Rewritten as suggested so that
...
it takes a window pointer, and grab(0) releases. You can now call grab
repeatedly with the same or different values without it failing. The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H
Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.
Fixes and cleanup to the code for Fl_Menu_::add(...).
git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:43:35 +00:00
Bill Spitzak
4c53a5d8f4
Added optimization for SGI builds (mike: please run autoconf before making
...
a distribution).
Documentation fixes.
git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-31 07:43:16 +00:00
Michael R Sweet
576f02c063
Fixes from Bill:
...
- Fluid fixes for menu item numbering and adding of #define stuff to
include file to prevent multiple inclusion.
- Fixed contrast function (again).
- Fixed fractals demo (not using glutMainLoop()...
git-svn-id: file:///fltk/svn/fltk/trunk@232 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-19 19:10:39 +00:00
Michael R Sweet
ab5771b62f
Fixes from Bill:
...
- Fl_Clock now uses the Fl_Clock_Output base class to get the
system time.
- Fl_Window::iconize() and Fl_Window::icon() now coexist
peacefully with all X window managers.
- Minor fixes to mandelbrot and shape demos.
- Menu code cleanup.
git-svn-id: file:///fltk/svn/fltk/trunk@209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 15:45:50 +00:00
Michael R Sweet
0a36d98420
Yay, change all copyright notices to be 1998-1999.
...
git-svn-id: file:///fltk/svn/fltk/trunk@201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 19:18:01 +00:00
Michael R Sweet
5ca8c1473d
Removed demod.menu, added editor arguments...
...
git-svn-id: file:///fltk/svn/fltk/trunk@196 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 17:24:37 +00:00
Michael R Sweet
8a535a2f5b
Get rid of those damned DOS lines!
...
git-svn-id: file:///fltk/svn/fltk/trunk@195 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 17:22:38 +00:00
Michael R Sweet
268771388c
Dammit, who put that DOS file in here...
...
git-svn-id: file:///fltk/svn/fltk/trunk@193 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 16:58:26 +00:00
Michael R Sweet
b148ef28d5
Fix from Bill - updated fonts demo to handle >255 fonts.
...
git-svn-id: file:///fltk/svn/fltk/trunk@182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-04 19:27:48 +00:00
Michael R Sweet
b95db33f2c
Lots of changes:
...
- Added #defines for Visual C++ to speed up compiles.
- Added FLTK.DLL project to visualc directory.
- Added editor project to visualc directory.
- Added icon() method to Fl_Window class.
- Implemented xclass() method for WIN32.
- Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx.
- scandir_win32.c needed to include <stdlib.h>.
- Added fix from Bill for fl_width() bug.
- Updated fix for Fl_Input to default to FL_DOWN_BOX.
- Added visible() check for children of Fl_Pack.
- Added WinMain() function to library.
- Now show console window in debug mode.
- Fixed demo.menu and demo.cxx to work under WIN32.
git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-04 19:25:40 +00:00
Michael R Sweet
cbd4a28132
Update glpuzzle demo to work with two button mice.
...
git-svn-id: file:///fltk/svn/fltk/trunk@169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29 13:34:35 +00:00
Michael R Sweet
06113fb95e
Added new editor example application.
...
git-svn-id: file:///fltk/svn/fltk/trunk@168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-23 20:04:31 +00:00
Michael R Sweet
5e2f2d6c51
Mandelbrot demo fix from Bill - was crashing when the Julia set was opened.
...
git-svn-id: file:///fltk/svn/fltk/trunk@153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-08 21:06:54 +00:00
Michael R Sweet
d3fb66b4dd
OpenGL patches from Bill.
...
git-svn-id: file:///fltk/svn/fltk/trunk@152 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-08 21:04:40 +00:00
Michael R Sweet
1f4f3b00b1
OS/2 changes.
...
git-svn-id: file:///fltk/svn/fltk/trunk@142 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07 13:41:56 +00:00
Michael R Sweet
88559817dd
Updated Fluid files for new extensions.
...
git-svn-id: file:///fltk/svn/fltk/trunk@138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07 13:22:00 +00:00
Michael R Sweet
e449a77e75
More filename changes...
...
git-svn-id: file:///fltk/svn/fltk/trunk@137 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:57:05 +00:00
Michael R Sweet
f68b51a3f7
Fixed an #include...
...
git-svn-id: file:///fltk/svn/fltk/trunk@134 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:46:13 +00:00
Michael R Sweet
16252e5faf
Changes for .C == .cxx and .H == .h.
...
git-svn-id: file:///fltk/svn/fltk/trunk@128 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 14:59:14 +00:00
Michael R Sweet
e4c69fd44a
Updated demo menu file (no more style demo).
...
git-svn-id: file:///fltk/svn/fltk/trunk@120 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 18:24:50 +00:00
Michael R Sweet
fade037edb
Fixed color - 2000 instead of 200.
...
git-svn-id: file:///fltk/svn/fltk/trunk@119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 17:35:59 +00:00
Michael R Sweet
892664ca26
WIN32 RGB color fixes from Vincent.
...
git-svn-id: file:///fltk/svn/fltk/trunk@115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 16:04:03 +00:00
Michael R Sweet
2af9c8eba6
Fix for demo program to replace extension instead of append (from Bill).
...
git-svn-id: file:///fltk/svn/fltk/trunk@110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 15:52:41 +00:00
Michael R Sweet
849e11623e
Changes from Carl to get rid of default_ variables...
...
git-svn-id: file:///fltk/svn/fltk/trunk@106 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 15:39:39 +00:00
Michael R Sweet
6af4ec1d7c
Navigation demo has two "i" variables - fix from Hughes Talbot.
...
git-svn-id: file:///fltk/svn/fltk/trunk@88 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-12 14:17:48 +00:00
Michael R Sweet
a90ca2d60a
Patches from Bill:
...
- Box type problems with 2-pixel boxes (wrong colors)
- Fl_Pixmap fix (uchar instead of char)
- Style demo fixes for Windows.
- HPUX comparison function prototype wrong.
- Spelling errors...
git-svn-id: file:///fltk/svn/fltk/trunk@70 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 15:05:48 +00:00
Michael R Sweet
80b1529ef4
Multiple patches from Bill:
...
- Double-buffered window fixes.
- Tabs fixes.
- X/WIN32 fixes.
- Fl_Input fixes.
- Support for vsnprintf and friends.
- Support for printf-style arguments in utility functions.
git-svn-id: file:///fltk/svn/fltk/trunk@52 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:04:53 +00:00
Michael R Sweet
60399e3945
Fixed install targets...
...
git-svn-id: file:///fltk/svn/fltk/trunk@51 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 22:03:53 +00:00
Michael R Sweet
2f72d490c7
Added .fl to .exe rule...
...
git-svn-id: file:///fltk/svn/fltk/trunk@44 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 20:10:23 +00:00
Michael R Sweet
994243bfdd
Converted all {} to ()...
...
git-svn-id: file:///fltk/svn/fltk/trunk@43 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 18:15:03 +00:00
Michael R Sweet
3b8193c002
Removed demo source files that are generated via Fluid.
...
Added fluid build rule to test Makefile.
Removed fluid build rules from fluid Makefile.
git-svn-id: file:///fltk/svn/fltk/trunk@37 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:20:18 +00:00
Michael R Sweet
23a2b82ace
Updated makefile to build all fluid files as needed...
...
git-svn-id: file:///fltk/svn/fltk/trunk@36 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:15:44 +00:00
Michael R Sweet
f09acb16ff
Updated depend command to use demo source files only.
...
git-svn-id: file:///fltk/svn/fltk/trunk@35 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 16:53:14 +00:00
Michael R Sweet
129726b91e
Added depend rule to makefile.
...
git-svn-id: file:///fltk/svn/fltk/trunk@32 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 16:46:07 +00:00
Michael R Sweet
c839b0fd30
Added new version of mandelbrot demo from Bill Spitzak.
...
git-svn-id: file:///fltk/svn/fltk/trunk@31 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 16:35:18 +00:00
Michael R Sweet
7657a2e4a5
Fixed all the frigging file headings - was missing a $ in the Id string.
...
Applied some damage bit fixes from Bill Spitzak.
git-svn-id: file:///fltk/svn/fltk/trunk@28 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 14:21:44 +00:00
Michael R Sweet
74858f12e3
Updated makefiles for new heading and new top-level makefile.
...
git-svn-id: file:///fltk/svn/fltk/trunk@25 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-20 21:06:19 +00:00
Michael R Sweet
8606d7508c
Added common heading and footer to all source files.
...
Updated README file.
git-svn-id: file:///fltk/svn/fltk/trunk@22 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-20 13:25:25 +00:00
Michael R Sweet
90e8eb7a45
More changes from Bill Spitzak.
...
git-svn-id: file:///fltk/svn/fltk/trunk@20 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-19 21:00:26 +00:00
Michael R Sweet
512332670a
Added Gustavo's damage() update - now use symbolic constants for all values!
...
git-svn-id: file:///fltk/svn/fltk/trunk@18 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-19 17:53:09 +00:00
Michael R Sweet
45bb73a9bf
Commited WIN32 patches from Bill Spitzak and Gustavo Hime.
...
git-svn-id: file:///fltk/svn/fltk/trunk@11 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-15 14:06:16 +00:00
Michael R Sweet
8b880adac6
Applied patches from Bill Spitzak.
...
Fixed line termination (lots-o-Windows CR+LF mixed in...)
git-svn-id: file:///fltk/svn/fltk/trunk@9 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 19:18:34 +00:00
Michael R Sweet
f9039b2ae2
Initial revision
...
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00