Carl E. Thompson
4435aed5ca
textstuff() methods no longer inline to work around a bug in a compiler.
...
Don not merge into 2.0 tree! Already done!
-Carl
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-03 15:51:39 +00:00
Carl E. Thompson
cd6f7adfe0
Bugfix. FLUID now compiles under UNIX! ;->
...
-Carl
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-30 23:11:26 +00:00
Carl E. Thompson
81c7d9b215
Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I
...
compiled this on BC++ 5.0 upgraded to 5.0B via the two monster patches.
I didn't turn on optimization because my version of BC++ doesn't seem to
do much in the way of optimization (FLUID was only 1k smaller when
optimized for size). VC++ generates smaller code.
The examples that use OpenGL don't work because Borland's linker can't find
"wglShareLists". I'm sure this is a simple problem, but I don't know how
to fix it.
Borland's C++ compiler won't allow you to call main() from C++, so I had
to add a c function in "fl_call_main.c" to call it so that you don't have
to do that WinMain crap. However, when I added this file to the Visual C++
project it converted the whole thing from 5.0 format to 6.0 format. The
files look the nearly identical so I don't think this should be a problem
for 5.0 users, but if it is then you can revert them back to the previous
version and just add this one source file.
Borland really doesn't suck that bad. It doesn't look as polished as VC++
and it refused to supress some warnings for no reason, but I forgot how
much I liked the feel of Borlands compilers... Much more intuitive then
MS VC++.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-29 17:39:46 +00:00
Michael R Sweet
a5778a1864
Updated README and distribution packages to use v1.0.1.
...
Updated makefiles and makeincludes to use DSONAME and GLDLIBS.
Updated configure.in to use DSONAME instead of LIBNAME.
Updated editor example code in documentation.
Added ANSI C++ changes to make things compile with the latest EGCS
compiler.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25 15:26:44 +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
Bill Spitzak
170c31cada
Named callback function in a menu item inside a class prepended the
...
classname:: to the callback function name. This was not consistent
with how it declares the callback or with normal widget's use of
callback names. Fixed.
git-svn-id: file:///fltk/svn/fltk/trunk@398 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10 08:00:45 +00:00
Michael R Sweet
022e5d90f1
Updated Linux DSO rules.
...
Changed configure.in, makeinclude, and src/Makefile to use DSOCOMMAND
instead of replacing LIBCOMMAND.
src/Makefile now creates both static and shared libraries if
--enable-shared is requested.
fluid/Makefile always uses the static library so that a CVS build will
always work, even if libfltk.so.1 isn't installed (problem for Solaris
and Linux, which don't support LD_LIBRARY_PATH).
git-svn-id: file:///fltk/svn/fltk/trunk@387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 18:32:44 +00:00
Bill Spitzak
95e27d43f1
Fix from Phil Nelson so that write-code menu item writes to the
...
directory the .fl file is in.
git-svn-id: file:///fltk/svn/fltk/trunk@378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09 06:59:05 +00:00
Michael R Sweet
ac66e4d72e
Got rid of malloc.h include - should be using stdlib.h anyways...
...
git-svn-id: file:///fltk/svn/fltk/trunk@365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 18:45:31 +00:00
Michael R Sweet
2f0f075d4f
Fixed FLUID bug - can now override code and header file names from the
...
command-line properly.
git-svn-id: file:///fltk/svn/fltk/trunk@360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 18:10:01 +00:00
Michael R Sweet
df01cba124
Public/private status was not honored for menu items.
...
git-svn-id: file:///fltk/svn/fltk/trunk@320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:20:30 +00:00
Michael R Sweet
b737731013
Fixed array_name() bug - now correctly handles arrays in different classes
...
with the same name.
git-svn-id: file:///fltk/svn/fltk/trunk@308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 16:21:50 +00:00
Michael R Sweet
e232a9b094
Changed "include_H_from_C" to default to 1 instead of 0.
...
git-svn-id: file:///fltk/svn/fltk/trunk@305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 15:03:26 +00:00
Michael R Sweet
3702edc89d
Added comment parsing in _c_check().
...
git-svn-id: file:///fltk/svn/fltk/trunk@304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:53:04 +00:00
Michael R Sweet
9b0162e212
Added modified patch from Tom Holroyd to support class "chaining".
...
git-svn-id: file:///fltk/svn/fltk/trunk@303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:33:22 +00:00
Michael R Sweet
45e7f3f99e
Fixed bug in write_static() method - when getting the menu_name() and
...
index we need to use the current menu item (q) and not the current menu.
git-svn-id: file:///fltk/svn/fltk/trunk@301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:23:23 +00:00
Michael R Sweet
ae5a281a39
Updated install rules to install files with write permission for the
...
owner. This isn't necessary for root installs, but is for user-level
installs.
git-svn-id: file:///fltk/svn/fltk/trunk@298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:10:20 +00:00
Michael R Sweet
c8dbb60e80
Fix from Bill for infinite loop problem when moving groups of widgets.
...
git-svn-id: file:///fltk/svn/fltk/trunk@281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 16:31:47 +00:00
Michael R Sweet
334494d068
Patch from Bill that adds virtual method support.
...
git-svn-id: file:///fltk/svn/fltk/trunk@280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 16:24:45 +00:00
Michael R Sweet
fc5e6cb0b6
Whoops - missed a closing bracket...
...
git-svn-id: file:///fltk/svn/fltk/trunk@273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 14:01:10 +00:00
Michael R Sweet
b43ba93bdb
Menu item numbering bug fix from Bill.
...
git-svn-id: file:///fltk/svn/fltk/trunk@272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 13:55:06 +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
7e0bd92469
The about dialog was too small.
...
git-svn-id: file:///fltk/svn/fltk/trunk@248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 22:19:33 +00:00
Michael R Sweet
b8d34c3d4b
Lots of little GUI tweeks, capitalization changes, copyright update, etc.
...
git-svn-id: file:///fltk/svn/fltk/trunk@247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:59:41 +00:00
Michael R Sweet
c3a31ce44a
Updated WIN32 clipboard file to be in the root directory to allow for
...
shared cut/paste.
git-svn-id: file:///fltk/svn/fltk/trunk@246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:40:28 +00:00
Michael R Sweet
43a4c224ef
Commented out Help/Manual menu item since Help isn't implemented yet.
...
git-svn-id: file:///fltk/svn/fltk/trunk@243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 15:58:25 +00:00
Michael R Sweet
c53f76f6b4
Updated copyright notice in FLUID.
...
Switched File/Open and Edit/Overlay shortcuts.
git-svn-id: file:///fltk/svn/fltk/trunk@242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-25 22:05:38 +00:00
Michael R Sweet
d592f1c4aa
Forgot the leading * on the pointer name for menu items.
...
git-svn-id: file:///fltk/svn/fltk/trunk@234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-19 19:24:32 +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
de114a8257
The text color button in Fluid didn't pop up with the correct color
...
preselected.
git-svn-id: file:///fltk/svn/fltk/trunk@212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 15:53:57 +00:00
Michael R Sweet
e41c045fe5
Fixed problem with empty submenus not getting the right offsets.
...
git-svn-id: file:///fltk/svn/fltk/trunk@211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13 15:51:51 +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
75e439ebbf
A better static method patch from Bill.
...
git-svn-id: file:///fltk/svn/fltk/trunk@204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 21:21:20 +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
e5ce4ae66e
Updated makefile.
...
Now remove static declarations.
git-svn-id: file:///fltk/svn/fltk/trunk@198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 18:49:36 +00:00
Michael R Sweet
57a983ea83
Menu items were being initialized static... Dropped the "static" from
...
the initializer.
git-svn-id: file:///fltk/svn/fltk/trunk@155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-08 21:09:59 +00:00
Michael R Sweet
5a632f4926
More #include and .C to .cxx changes...
...
git-svn-id: file:///fltk/svn/fltk/trunk@136 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:52:17 +00:00
Michael R Sweet
3924b60442
Fixed another #include...
...
git-svn-id: file:///fltk/svn/fltk/trunk@135 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:49:29 +00:00
Michael R Sweet
80bbaf21aa
Fixed a couple stray #include's...
...
git-svn-id: file:///fltk/svn/fltk/trunk@132 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:18:39 +00:00
Michael R Sweet
213ec5476e
Missed a #include...
...
git-svn-id: file:///fltk/svn/fltk/trunk@131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:16:23 +00:00
Michael R Sweet
fd90251c29
More changes for .C and .H to .cxx and .h...
...
git-svn-id: file:///fltk/svn/fltk/trunk@129 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 15:09:22 +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
c4c164a707
Fluid paste bug fix from Bill.
...
git-svn-id: file:///fltk/svn/fltk/trunk@113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 15:59:47 +00:00
Michael R Sweet
d9ed48be5c
Fix for fluid - increases MAXSIZE to 2048 and added overflow check.
...
git-svn-id: file:///fltk/svn/fltk/trunk@112 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 15:58:10 +00:00
Michael R Sweet
92402e682a
Fix for numericsort(), and drawing of some box types.
...
git-svn-id: file:///fltk/svn/fltk/trunk@107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-02 15:47:30 +00:00
Michael R Sweet
db1205b420
Added check for arrays in initialization - if so, use {(Fl_xyz *)0}...
...
git-svn-id: file:///fltk/svn/fltk/trunk@104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-25 16:59:05 +00:00
Michael R Sweet
a7d3bafa5a
Changed from hexadecimal escapes to octal, since hex might be causing
...
problems...
git-svn-id: file:///fltk/svn/fltk/trunk@103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-25 15:54:43 +00:00
Michael R Sweet
df0ec23603
Added class/return value fixes from Bill.
...
git-svn-id: file:///fltk/svn/fltk/trunk@101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-25 13:18:47 +00:00
Michael R Sweet
c69a1f7382
Fixed class menu item code writing - now generate static variables and
...
initializers.
git-svn-id: file:///fltk/svn/fltk/trunk@99 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-23 22:14:06 +00:00
Michael R Sweet
1ae8964fc9
Tab resize bug fix from Gustavo.
...
git-svn-id: file:///fltk/svn/fltk/trunk@96 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-18 18:40:44 +00:00
Michael R Sweet
ed4cdc51da
Fluid fix from Gustavo.
...
git-svn-id: file:///fltk/svn/fltk/trunk@95 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-18 18:40:09 +00:00
Michael R Sweet
48688d493d
Added (unsigned char *) cast for Pixmap strings.
...
git-svn-id: file:///fltk/svn/fltk/trunk@89 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-12 15:01:48 +00:00
Michael R Sweet
cd99974e51
Incorporate SUBMENU_POINTER patch from Thomas Wey.
...
git-svn-id: file:///fltk/svn/fltk/trunk@84 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-10 14:44:43 +00:00
Michael R Sweet
b6f52dec88
Widget variables we not being initialized to NULL.
...
git-svn-id: file:///fltk/svn/fltk/trunk@79 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-09 14:06:25 +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
2bc3c94ce5
Rebuilt using 1.0 beta 19981021 tree.
...
git-svn-id: file:///fltk/svn/fltk/trunk@50 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 22:00:10 +00:00
Michael R Sweet
386d9b4a36
Removed more old files.
...
git-svn-id: file:///fltk/svn/fltk/trunk@40 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:29:26 +00:00
Michael R Sweet
c024a43be8
Changed the version number to 1.0.
...
git-svn-id: file:///fltk/svn/fltk/trunk@39 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:28:27 +00:00
Michael R Sweet
862aa02d59
Removed a few other old files.
...
Added "rebuild" target to rebuild source files from .fl files.
git-svn-id: file:///fltk/svn/fltk/trunk@38 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:24:51 +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
b2172ee88a
Added common headings & CVS tags.
...
Added "unsigned char" fix from Darren Humphrey.
git-svn-id: file:///fltk/svn/fltk/trunk@30 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 16:29:01 +00:00
Michael R Sweet
eada39df34
Added fluid patch from Bill Spitzak; this moves the callback code down
...
before the widgets that use them so that include files will get included
properly.
git-svn-id: file:///fltk/svn/fltk/trunk@29 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 15:42:05 +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
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
9922616d2c
Removed mystery source files penne.C and penne.H...
...
git-svn-id: file:///fltk/svn/fltk/trunk@15 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-15 14:46:44 +00:00
Michael R Sweet
434e0ae458
Minor fix to Vincent's patch - bool isn't a standard type with all C++
...
compilers yet, so just use an int.
git-svn-id: file:///fltk/svn/fltk/trunk@14 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-15 14:44:26 +00:00
Michael R Sweet
255e7fb39b
Fluid fixes from Vincent PENNE.
...
git-svn-id: file:///fltk/svn/fltk/trunk@12 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-15 14:19: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