diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-13 20:28:51 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-04-13 20:28:51 +0000 |
| commit | 7f0c218c1c96eebb2c0694909d237e7d3bdc0c97 (patch) | |
| tree | ac452f08721ecef0530cd95008a00eb1e3676e84 | |
| parent | 9e2f36201612e978f2f518ed7220af42d06264cd (diff) | |
Fix case problems in include filenames...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2077 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_Gl_Choice.cxx | 22 | ||||
| -rw-r--r-- | src/Fl_mac.cxx | 6 |
3 files changed, 16 insertions, 14 deletions
@@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.0 + - Fixed some case problems in includes for the MacOS X + code. - Fl_Widget::handle() returned 1 for FL_ENTER and FL_LEAVE events, which caused some compatibility problems with 1.0 code. diff --git a/src/Fl_Gl_Choice.cxx b/src/Fl_Gl_Choice.cxx index 14dd365c6..ff5ab54d8 100644 --- a/src/Fl_Gl_Choice.cxx +++ b/src/Fl_Gl_Choice.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Gl_Choice.cxx,v 1.5.2.7.2.9 2002/03/25 16:41:01 easysw Exp $" +// "$Id: Fl_Gl_Choice.cxx,v 1.5.2.7.2.10 2002/04/13 20:28:51 easysw Exp $" // // OpenGL visual selection code for the Fast Light Tool Kit (FLTK). // @@ -32,7 +32,7 @@ #include "Fl_Gl_Choice.H" #ifdef __APPLE__ -# include <Fl/Fl_Window.H> +# include <FL/Fl_Window.H> #endif static Fl_Gl_Choice *first; @@ -84,11 +84,11 @@ Fl_Gl_Choice *Fl_Gl_Choice::find(int mode, const int *alist) { if (mode & FL_STENCIL) { list[n++] = AGL_STENCIL_SIZE; list[n++] = 1; } -#ifdef AGL_STEREO /* is there such a thing as AGL_STEREO? */ +# ifdef AGL_STEREO /* is there such a thing as AGL_STEREO? */ if (mode & FL_STEREO) { list[n++] = AGL_STEREO; } -#endif +# endif list[n] = AGL_NONE; blist = list; } @@ -137,12 +137,12 @@ Fl_Gl_Choice *Fl_Gl_Choice::find(int mode, const int *alist) { if (mode & FL_STEREO) { list[n++] = GLX_STEREO; } -#if defined(GLX_VERSION_1_1) && defined(GLX_SGIS_multisample) +# if defined(GLX_VERSION_1_1) && defined(GLX_SGIS_multisample) if (mode & FL_MULTISAMPLE) { list[n++] = GLX_SAMPLES_SGIS; list[n++] = 4; // value Glut uses } -#endif +# endif list[n] = 0; blist = list; } @@ -150,9 +150,9 @@ Fl_Gl_Choice *Fl_Gl_Choice::find(int mode, const int *alist) { fl_open_display(); XVisualInfo *vis = glXChooseVisual(fl_display, fl_screen, (int *)blist); if (!vis) { -# if defined(GLX_VERSION_1_1) && defined(GLX_SGIS_multisample) +# if defined(GLX_VERSION_1_1) && defined(GLX_SGIS_multisample) if (mode&FL_MULTISAMPLE) return find(mode&~FL_MULTISAMPLE,0); -# endif +# endif return 0; } @@ -227,9 +227,9 @@ GLContext fl_create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g, int lay if (!hdc) { hdc = i->private_dc = GetDCEx(i->xid, 0, DCX_CACHE); SetPixelFormat(hdc, g->pixelformat, (PIXELFORMATDESCRIPTOR*)(&g->pfd)); -#if USE_COLORMAP +# if USE_COLORMAP if (fl_palette) SelectPalette(hdc, fl_palette, FALSE); -#endif +# endif } GLContext context = layer ? wglCreateLayerContext(hdc, layer) : wglCreateContext(hdc); @@ -318,5 +318,5 @@ void fl_delete_gl_context(GLContext context) { #endif // -// End of "$Id: Fl_Gl_Choice.cxx,v 1.5.2.7.2.9 2002/03/25 16:41:01 easysw Exp $". +// End of "$Id: Fl_Gl_Choice.cxx,v 1.5.2.7.2.10 2002/04/13 20:28:51 easysw Exp $". // diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index c1c722933..55e9854c2 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_mac.cxx,v 1.1.2.19 2002/04/11 11:52:42 easysw Exp $" +// "$Id: Fl_mac.cxx,v 1.1.2.20 2002/04/13 20:28:51 easysw Exp $" // // MacOS specific code for the Fast Light Tool Kit (FLTK). // @@ -839,7 +839,7 @@ static int FSSpec2UnixPath( FSSpec *fs, char *dst ) } Fl_Window *fl_dnd_target_window = 0; -#include <Fl/fl_draw.h> +#include <FL/fl_draw.H> /** * Drag'n'drop tracking handler */ @@ -1359,6 +1359,6 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) { // -// End of "$Id: Fl_mac.cxx,v 1.1.2.19 2002/04/11 11:52:42 easysw Exp $". +// End of "$Id: Fl_mac.cxx,v 1.1.2.20 2002/04/13 20:28:51 easysw Exp $". // |
