summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-12-21Fix to allow Fl.cxx to compile with older C++ compilers (no variableMichael R Sweet
declaration in while() constructs...) "cp" doesn't always support "-f". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-12Fl_Gl_Window does not set drawbuffer(BACKBUFFER) for single-bufferedBill Spitzak
windows. Fl_Input::replace(...) correctly updates the display if the replaced region does not include the mark, point, or selected region. Added Fl::add_check(...), Fl::remove_check, and Fl::has_check. These are similar to idle callbacks but are only called just before it waits for new events. They can be used to watch for changes in global state and respond to them. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-08Added tests to browser to test top/bottom/middle/make_visible methods.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-06Specify portable architecture options for HP-UX compilers.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-06APIENTRY doesn't need to be used for the font pointers in glut.HMichael R Sweet
APIENTRY should appear between the return type and function name. WIN32 is defined by MSVC++, not _WIN32. Updated the sources to work with both. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-12-06Updated the version numbers in spec and list files.Michael R Sweet
Added HP-UX shared library support in fltk.list. Fixed error in documentation - Fl_Browser_ is derived from Fl_Group, not Fl_Widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-28One more try to fix the APIENTRY stuff in glut.h. The file gl.h nowBill Spitzak
defines APIENTRY in all cases. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-21Fixes for hidden class members...Michael R Sweet
(Bill, please look at the Fl_Menu_Type.cxx code around line 171; the previous code didn't initialize level before it was used; I hope I captured the original intent...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Get rid of "member X hidden by variable X" warnings...Michael R Sweet
Fix strcasecmp() detection... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20strcasecmp() for FLUID under AIX.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Fix for Fl_Scroll redrawing background.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Configure script changes...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Put -c before $< for Sun PRO compilers.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Doco and header updates for 1.0.10.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Commented out USE_ASYNC_SELECT since it doesn't seem to work...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20Fl::below_mouse() was incorrectly clearing e_is_click; this preventedMichael R Sweet
any double-clicks from getting through... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-09Minor change for Sun C/C++ compilers (-xO3 instead of -O) for betterMichael R Sweet
optimization. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-21Does not clear Fl::keysym on every event, this makes better back ↵Bill Spitzak
compatability and fixes Win2000 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17Fl_Menu_::add() ignores '&' signs when comparing menu items, so you don'tBill Spitzak
have to make the shortcuts the same all the time. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17Another attempt to get glut.h to work on WIN32.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17CUA function keys, code submitted by George Yohng <yohng@drivex.dosware.8m.com>Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17Fl::set_fonts() on WIN32 fixed to work before the first window is shown.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17Fl_Tabs draws the background behind the tabs.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17Hack to fix the annoying "raise another application when a modal windowBill Spitzak
is closed" problem on WIN32. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-10-17Fluid restores which tab in an Fl_Tabs was selected when loads .flBill Spitzak
files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-23Menu titles and buttons in the menubar can be images (allows it to be used ↵Bill Spitzak
as a toolbar) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-23Fixed size of data written by gif images to .C filesBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-23Fixed bit-flipping patterns in WIN32 bitmap code.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-19Reads selectBackground from the xrdb database to set the selection color.Bill Spitzak
Adding this to your .Xdefaults will make fltk and Motif programs look much more Windoze-like: *selectForeground: white *selectBackground: #000080 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-19FL_WHEN_RELEASE on Fl_Input will now do the callback when the inputBill Spitzak
field is hidden, for instance when it is on a tab and the user switches to another tab. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-15Fl_Gl_Window with an overlay on X always resized any child windows evenBill Spitzak
if you turned resizable() off because it turned it back on to resize the overlay window. This patch avoids changing resizable(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-09-05Fix so multiple Fl::add_idle() calls worksBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-30The input focus got messed up if you called Fl_Tabs::value(x) and thereBill Spitzak
was something that took focus on an earlier tab. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-22Removed ^M chars from Makefile.os2xBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-20Removed some (not all) of the warnings when compiled with -Wwrite-strings,Bill Spitzak
this should also get similar warnings Solaris produces. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-19Changes & additions for OS/2 from Alexander MaiBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-19Made Fl_Browser not hide the Fl_Widget::show() methodBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-08-12Patch from Mike Lindner to make the turning on/off of scrollbars onBill Spitzak
Fl_Scroll smarter. It appears to work with my own tests. He did not handle FL_ALIGN_TOP correctly, fixed that. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1285 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-30Shortcuts for "buttons" in a Fl_Menu_Bar work again.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-29Added missing FL_EXPORT for format()Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-13While looking at Xdnd I discoverd that jx (or at least their demo program)Bill Spitzak
cannot paste from fltk programs. This appears to be because JX barfs if the pasting program does not respond correctly to the TARGETS XConvertSelection. I added a response that fltk only can do text and this seems to make it work. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1253 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-11Shortcuts for submenu titles in a menubar pop up the submenu (rather than ↵Bill Spitzak
calling the callback) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1250 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-10Added documentation for GL_SWAP_TYPEBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-07-07Buttons with box(FL_NO_BOX) did not draw. Apparently they did inBill Spitzak
older versions of fltk, I restored this. (bug 108771) Removed 8-bit colormap drawing code that was not doing anything in fl_draw_image due to Mike's changes. I also made fl_color(r,g,b) actually allocate the requested color rather than the nearest fltk color-cube color (this is only done for the first color that maps to a given entry in the fltk color cube), the result is that pixmaps with a small number of colors are drawn much more accurately. The resulting code seems to produce better images and is a good deal smaller! Fixed makeinclude.in so CFLAGS are used for c source code instead of CXXFLAGS. (bug 108694) Better fix for gif files suggested by pauly (bug 108770) Performance of Fl_Gl_Window may be improved on some types of OpenGL implementations, in particular MESA or other software emulators, by setting the GL_SWAP_TYPE environment variable. This variable declares what is in the back buffer after you do a swapbuffers. setenv GL_SWAP_TYPE COPY This indicates that the back buffer is copied to the front buffer, and still contains it's old data. This is true of many hardware implementations. Setting this will speed up emulation of overlays, and widgets that can do partial update can take advantage of this as damage() will not be cleared to -1. setenv GL_SWAP_TYPE NODAMAGE This indicates that nothing changes the back buffer except drawing into it. This is true of MESA and Win32 software emulation and perhaps some hardware emulation on systems with lots of memory. All other values for GL_SWAP_TYPE, and not setting the variable, cause fltk to assumme that the back buffer must be completely redrawn after a swap. This is easily tested by running the gl_overlay demo program and seeing if the display is correct when you drag another window over it or if you drag the window off the screen and back on. You have to exit and run the program again for it to see any changes to the environment variable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-30Fix suggested by Stuart Levy to fix scrolling when deleting items fromBill Spitzak
the browser. I replaced the -$(MAKEFLAGS) with $(MFLAGS) as per the gmake documenation. Apperntly this works with other make programs and MAKEFLAGS is passed invisibly by gmake, though the documenation is not too clear... VS: ---------------------------------------------------------------------- git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-29Fixed .gif files in fluid, they were broken by the fix for large .xpmBill Spitzak
files in version 1.0.9. Fix for OpenGL hardware overlays with the transparent index != 0. Tested on the brand new HP Linux Workstations, this is the only bug encountered. Both X and OpenGL hardware overlay works perfectly on these, though configue may not enable it by default...) Fl_Choice and all other Fl_Menu_ subclasses draw the items using textcolor() as the default color of the text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-27calc_error() needs the colormap color values; changed to reference theMichael R Sweet
fl_cmap array (this might actually be off from the colormap value that is actually allocated, but hopefully this patch will eliminate extra color allocations anyways...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-27Optimization for 8-bit displays - allocate colors as they are used fromMichael R Sweet
the FLTK color cube. **** NEEDS TESTING **** git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-24Patch from Shigeru Mukaida to fltk.spec to make rpms work?Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-24Patch from Shigeru Mukaida to fltk.spec to make rpms work?Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1236 ea41ed52-d2ee-0310-a9c1-e6b18d33e121