Commit Graph

9177 Commits

Author SHA1 Message Date
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
3ad63de2bf Fl_Input patch from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@83 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-10 14:40:56 +00:00
Michael R Sweet
a7dbe1ff3d Menu patches from Bill...
git-svn-id: file:///fltk/svn/fltk/trunk@82 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-10 14:40:18 +00:00
Michael R Sweet
bb21ad7270 Fixed sort function - was returning numbers other than 1, -1, and 0, and
didn't correctly sort numbers.


git-svn-id: file:///fltk/svn/fltk/trunk@81 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-09 16:25:59 +00:00
Michael R Sweet
8a5883e03b Windows has vsprintf()...
git-svn-id: file:///fltk/svn/fltk/trunk@80 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-09 14:11:06 +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
a8f049239c Whoops - put WIN32 stuff in with the X stuff...
git-svn-id: file:///fltk/svn/fltk/trunk@78 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-09 13:53:38 +00:00
Michael R Sweet
2b769f5934 Backed out WIN32 color palette changes for OpenGL - caused too much
flashing...


git-svn-id: file:///fltk/svn/fltk/trunk@76 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 17:02:40 +00:00
Michael R Sweet
e278c332b3 Fixed WIN32 bug - FL_GL_WINDOW needs to be defined in Fl_Window.H...
git-svn-id: file:///fltk/svn/fltk/trunk@75 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 16:47:44 +00:00
Michael R Sweet
dfa8c05620 More OpenGL under Windows changes - now keep track of window type and
select the corresponding color palette...


git-svn-id: file:///fltk/svn/fltk/trunk@74 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 16:37:21 +00:00
Michael R Sweet
32d18a3591 Added 8-bit palette for OpenGL (3:3:2 RGB). This should fix all of the
OpenGL colormap problems...


git-svn-id: file:///fltk/svn/fltk/trunk@73 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 15:55:23 +00:00
Michael R Sweet
0768612ddb HP-UX fixes.
git-svn-id: file:///fltk/svn/fltk/trunk@72 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 15:34:18 +00:00
Michael R Sweet
4e544943de Removed the HP-UX hack (again) for select(); it ain't needed!
git-svn-id: file:///fltk/svn/fltk/trunk@71 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 15:28:42 +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
4c68a1ca54 Moved select_palette() from WM_PAINT message to make_current()...
git-svn-id: file:///fltk/svn/fltk/trunk@69 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 14:39:09 +00:00
Michael R Sweet
37d1178c11 WIN32 fixes from Gustavo for fullscreen mode problems.
git-svn-id: file:///fltk/svn/fltk/trunk@68 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08 14:36:56 +00:00
Michael R Sweet
39be2233f4 Memory overflow fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@66 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-06 20:14:41 +00:00
Michael R Sweet
d9ddb41ac4 File chooser scrollbar redraw bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@65 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-06 16:00:45 +00:00
Michael R Sweet
dccfdf93e3 Added fl_select_palette() to the WM_PAINT processing to make 8-bit
windows draw properly under Windows.


git-svn-id: file:///fltk/svn/fltk/trunk@64 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-06 14:32:17 +00:00
Michael R Sweet
ff5b4d75be Dropped old "..." file in favor of a short README.
git-svn-id: file:///fltk/svn/fltk/trunk@63 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-06 14:08:56 +00:00
Michael R Sweet
411cc4d1fc Updated project files.
git-svn-id: file:///fltk/svn/fltk/trunk@62 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 21:41:54 +00:00
Michael R Sweet
0aa463775d Updated for C++.
git-svn-id: file:///fltk/svn/fltk/trunk@61 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 21:40:45 +00:00
Michael R Sweet
b7b9189ee4 Updated vsnprint stuff for C++.
git-svn-id: file:///fltk/svn/fltk/trunk@60 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 21:25:37 +00:00
Michael R Sweet
ee093e2fce Added vsnprintf stuff to config files...
git-svn-id: file:///fltk/svn/fltk/trunk@59 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 20:12:21 +00:00
Michael R Sweet
9f5070d459 Updated Visual C++ config.h file.
git-svn-id: file:///fltk/svn/fltk/trunk@58 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 20:10:31 +00:00
Michael R Sweet
754414ac6a It's vsnprintf(), not vnsprintf()...
git-svn-id: file:///fltk/svn/fltk/trunk@57 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 19:46:59 +00:00
Michael R Sweet
3e181b5c3c Added makefile for OS/2 using XFree86.
git-svn-id: file:///fltk/svn/fltk/trunk@56 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 18:37:06 +00:00
Michael R Sweet
e95598d0df WIN32 full-screen fixes from Gustavo.
git-svn-id: file:///fltk/svn/fltk/trunk@55 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:27:24 +00:00
Michael R Sweet
e22ea76909 Updated compiler options - shouldn't force a particular C or C++ compiler
under IRIX, nor the -n32 option; that is for the CFLAGS and CXXFLAGS
options!


git-svn-id: file:///fltk/svn/fltk/trunk@54 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:17:39 +00:00
Michael R Sweet
711c6d1c54 Added vsnprintf() emulation code.
git-svn-id: file:///fltk/svn/fltk/trunk@53 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 16:07:45 +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
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
000af67fea CFLAGS and CXXFLAGS don't default to blank... Put mandatory DEBUGFLAGS
back in...


git-svn-id: file:///fltk/svn/fltk/trunk@49 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 21:43:54 +00:00
Michael R Sweet
701dfbc5bb Forgot a BORDER_WIDTH line...
git-svn-id: file:///fltk/svn/fltk/trunk@48 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 21:42:13 +00:00
Michael R Sweet
05d7379a35 Autoconf sucks - can't redefine BORDER_WIDTH to another value in config.h...
Removed --enable-windows-style option.


git-svn-id: file:///fltk/svn/fltk/trunk@47 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 21:41:41 +00:00
Michael R Sweet
85b225865e Updated CFLAGS check so we don't clobber them...
git-svn-id: file:///fltk/svn/fltk/trunk@46 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 20:56:42 +00:00
Michael R Sweet
918c3a2bec Dropped -enable-production.
Changed default CFLAGS to -O2.


git-svn-id: file:///fltk/svn/fltk/trunk@45 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 20:42:08 +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
9af1ddb924 Added -enable-windows-style support to configh.in and configure.in.
Updated README for -enable-production option.


git-svn-id: file:///fltk/svn/fltk/trunk@42 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:57:42 +00:00
Michael R Sweet
1a01057394 Updated scrollbar draw code - wasn't graying out the arrow...
git-svn-id: file:///fltk/svn/fltk/trunk@41 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 17:53:13 +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
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
7486258e5d Fixed dependency stuff in top-level Makefile.
git-svn-id: file:///fltk/svn/fltk/trunk@34 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 16:49:59 +00:00
Michael R Sweet
f67e90bc2f Removed configure script from CVS.
git-svn-id: file:///fltk/svn/fltk/trunk@33 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21 16:47:05 +00:00