summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-04-20Compose for Icelandic thorn character is "TH" or "th". Also fixed theBill Spitzak
comments in Fl_Input.cxx and fixed the documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-19Updated documentation version & edition.Michael R Sweet
FLUID makefile referenced LDFLAGS, but we only define CFLAGS and CXXFLAGS. Fl_Browser::item_height() didn't handle blank lines (returned 2 for the height). Also, didn't use textfont() when figuring out text height. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-19Changes to Fl_Menu_::add() so that you should be able to add to any menu,Bill Spitzak
including one that was set with menu(). It copies the static menu if necessary and keeps track of the size of the menu so it can reallocate the array exactly when necessary. This should make modifying the items in a menu much more predictable and usefule. I don't know if these changes will go cleanly into 2.0. Probably not. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-18Updated patch version to 2 (1.0.2)Michael R Sweet
Fixed missing fdsets variable in Fl_win32.cxx Removed unused maxfd variable in Fl_win32.cxx FLUID now outputs the window constructor with x,y arguments if the class name is Fl_Group (this allows you to setup classes using FLUID) Add extra code after all the widgets to move them to the desired offset within the window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-17Fl::add_fd() structures are dynamically allocated so you can listen toBill Spitzak
as many connections as you want (up to the maximum number handled by select()). Fl::remove_fd(fd, when) added. This allows you to remove the read, write, and error callbacks individually. Fl::remove_fd(fd) does Fl::remove_fd(fd,-1). Fl::add_fd() calls Fl::remove_fd(), so it can be used safely to replace callbacks with new ones for the same file descriptor. Fl::add_timeout() also dynamically allocates it's array so there is no limit on the number of pending timeouts. I cut/pasted the changes into the Windoze version but this is UNTESTED! Somebody please do a test compile. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-101. ~Fl_Widget(), Fl_Widget::hide(), and Fl_Widget::deactivate() no longer sendBill Spitzak
FL_LEAVE, FL_RELEASE, or FL_UNFOCUS events to the widget. This seems to be desirable behavior and fixes a crash in flwm. 2. After you show() a window, Fl::damage() should be true and remain true until the window is actually drawn and up to date. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-08Guillaume's fix for Fl_Menu_::copy()Carl E. Thompson
-Carl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-01Applied Gustavo's WIN32 timer patch to the 1.0.x branch.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-29Changes needed to get FLTK to compile on Borland C++ 5 under Windows. ICarl E. Thompson
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-26Makefile didn't clean DSO...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-26consistent use of $(LIBRARY) rather than $(LIBNAME)Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25Changed hard references to libfltk.a and friends to $(LIBRARY) andMichael R Sweet
$(DSONAME)... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25Can't use chmod -R on header directory...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25Fixed install rule for DSOs - was copying the wrong file...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-25Updated README and distribution packages to use v1.0.1.Michael R Sweet
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-25Applied Dmitry's timeout patch.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-18Changes from Luis Ibanez to make it compile under Borland.Bill Spitzak
Includes a real bug that was in Fl_Gl_Window.c (#if WIN32) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-16Added clipping suggested by Dmitry PotapovBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-16Clears value() when you clear the menu()Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-15Fixes for os2x by Alexander MaiBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13Fixed alignment of Fl_Choice label with the text in the pop-up menuBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13DOH! Fixed even more typos in my fix for Fl_Browser::item_height.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13fixed typo that I managed to check in last time...Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13Fixed Fl_Browser::item_height, I believe this will fix Adrian Miranda'sBill Spitzak
problems with it. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-13Fixed fluid bug that caused styles patch to crash when you delete menu item.Bill Spitzak
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-12Fix return value of Fl::check(). This fixes the "cube" demo and possiblyCarl E. Thompson
other programs. -Carl git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10Fix from Dmitry - wasn't copying data when replacing the text value of aMichael R Sweet
list item. git-svn-id: file:///fltk/svn/fltk/trunk@414 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10Changes to dial so that counter-clockwise motion is supported if youBill Spitzak
set angle2 < angle1. Deleted the unimplemented direction() control. Fixed the documentation, this new code allows any 2 values for the angles as long as abs(a-b)<=360. git-svn-id: file:///fltk/svn/fltk/trunk@399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-10Changes Fl_Dial to use XForms defaults for anglesCarl E. Thompson
-Carl git-svn-id: file:///fltk/svn/fltk/trunk@397 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09scandir.c used a variable named "new", which is valid ANSI C butMichael R Sweet
apparently not accepted by EGCS (EGCS BUG!)... git-svn-id: file:///fltk/svn/fltk/trunk@396 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09Added libfltk.a to install rules, so both the shared and static librariesMichael R Sweet
will get installed. git-svn-id: file:///fltk/svn/fltk/trunk@388 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09Updated Linux DSO rules.Michael R Sweet
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-09Added #ifdef for backspace hack - is this really necessary? I've neverMichael R Sweet
used a keyboard without a backspace key?!? git-svn-id: file:///fltk/svn/fltk/trunk@381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09Fixes for FL_FILL_DIALBill Spitzak
git-svn-id: file:///fltk/svn/fltk/trunk@380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09Fixes to Fl_Dial so it stops moving when you drag to ends of region.Bill Spitzak
git-svn-id: file:///fltk/svn/fltk/trunk@379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-09Small fixes suggested by Guillaume NodetBill Spitzak
git-svn-id: file:///fltk/svn/fltk/trunk@377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-08This adds support for the Fl_Dial::angles() method. This seems to workCarl E. Thompson
correctly, but it is likely that someone who remembers their high school math could make it _much_ more efficient (I just hacked away 'till it worked). -Carl git-svn-id: file:///fltk/svn/fltk/trunk@376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-08Added (unsigned) cast to isxyz() calls to get rid of compiler warnings.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-07Contributed code for more accurate item_height() in Fl_Browser.Bill Spitzak
Fixed display of Fl_Choice yet again Tried to remove warning egcs warning messages from Fl_Color_Chooser Fl_Value_Input updates without user having to type Enter git-svn-id: file:///fltk/svn/fltk/trunk@374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-05I hope this is a fix for vsnprintf on HPUX. It declares it but doesBill Spitzak
not define it, so it should link in the C one that hpux has. git-svn-id: file:///fltk/svn/fltk/trunk@373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-05check() calls flush() after processing events, as requested. This shouldBill Spitzak
make no differece and is I think a safe change for 1.0 and we want this behavior to be consistent for later versions. git-svn-id: file:///fltk/svn/fltk/trunk@372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Added #define for WM_SYNCPAINT if needed.Michael R Sweet
WM_NCPAINT doesn't do the trick - need to use WM_SYNCPAINT... git-svn-id: file:///fltk/svn/fltk/trunk@370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Fixed WM_SYNCPAINT patch - should be WM_NCPAINT...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Added memset() to Fl_Menu_::insert() after allocating and copying theMichael R Sweet
old menu data - otherwise new menu items could contain junk. git-svn-id: file:///fltk/svn/fltk/trunk@364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04WIN32 fixes from Dmitry Potapov:Michael R Sweet
- Added WM_SYNCPAINT message support to get rid of redraw bugs. - Changed extra LineTo's to SetPixel's and associated fixes so that lines are drawn consistently between X and WIN32. git-svn-id: file:///fltk/svn/fltk/trunk@363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Put fl_elapsed() call before loop in Fl::add_timeout().Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Added "buffer=0" in constructor to avoid purify errors.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Fixed menubar button bug - wasn't doing a redraw...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Updated DSO install commands - now remove the symlink before remaking it.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04Fix for browser horizontally scrolling.Bill Spitzak
This produces some odd (but maybe not broken) behavior for centered and right-justified lines, so maybe it is not such a great fix. git-svn-id: file:///fltk/svn/fltk/trunk@353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121