Commit Graph

148 Commits

Author SHA1 Message Date
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
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
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
f840da44d1 Updated default border width to 2.
git-svn-id: file:///fltk/svn/fltk/trunk@102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-25 14:10:54 +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
90a6a06b7f Added floating point versions of gl_draw() functions.
git-svn-id: file:///fltk/svn/fltk/trunk@100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-24 13:18:34 +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
fa39ee278f Changed pixel format stuff for Windows - request a minimum size of 8 bits
RGB, and added depth buffer support.


git-svn-id: file:///fltk/svn/fltk/trunk@98 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-20 20:00:29 +00:00
Michael R Sweet
08954f3c64 EMail address change for Vincent Penne.
git-svn-id: file:///fltk/svn/fltk/trunk@97 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-20 18:24:34 +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
7f473a1349 File chooser redraw bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@94 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-18 18:39:13 +00:00
Michael R Sweet
a470744d8c Fl_Scroll fix from Bill Spitzak.
git-svn-id: file:///fltk/svn/fltk/trunk@93 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-18 18:38:32 +00:00
Michael R Sweet
c34eeb0d55 Fixed slider drawing bug.
git-svn-id: file:///fltk/svn/fltk/trunk@92 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-18 18:01:21 +00:00
Michael R Sweet
402527311e The slider was not drawing the bar inactive.
git-svn-id: file:///fltk/svn/fltk/trunk@91 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-18 17:26:44 +00:00
Michael R Sweet
5098fc05af Fix from Adrian Miranda - using memcpy() with overlapping buffers; changed
to memmove()...


git-svn-id: file:///fltk/svn/fltk/trunk@90 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-17 18:43:24 +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
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
35bc9f0bc5 Fix from Paul Sydney - missing #include <config.h> in fl_ask.C...
git-svn-id: file:///fltk/svn/fltk/trunk@87 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-12 14:16:57 +00:00
Michael R Sweet
12ce7cba98 Window position bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@86 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-12 14:14:57 +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
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