summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
AgeCommit message (Collapse)Author
2000-01-26Sets the "input hint" which is needed for TWM and TWM-derived window managers.Bill Spitzak
The #if's in filename_list.cxx have been rearranged so the most common case is the default. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-01-23If compiled with USE_COLORMAP=0 it will always try to find a TrueColorBill Spitzak
visual on the X display, rather than failing if the default is not TrueColor. This does not affect any normal compilation because USE_COLORMAP is defaulted to 1. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-01-11Programs can now resize() their windows even if they are not resizable()Bill Spitzak
on X (this already worked on Win32). Changed the resize demo program to test this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-11-10Sets win_gravity correctly, this helps some X window managers that useBill Spitzak
it position the window where fltk wants it to be. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-11-04Minor change: if the X window manager does not do anything else with windowsBill Spitzak
that don't have their position specified, the windows appear centered in the screen, rather than in the top-left corner. This happened with modal windows under Irix 4Dwm. This also causes windows to be centered when no window manager is running, which might be useful for installation gui programs? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-05-06Fixed another flwm crash in Fl_x.cxx (the send_motion pointer mustBill Spitzak
be ignored if the fl_xmousewin is deleted). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-05-01Updated version numbers to 1.0.3.Michael R Sweet
Fixed browser bug in item_width() - would read past the end of the string under certain circumstances. Fixed browser resize bug - wasn't updating bounding box during check, so it could get in an infinite loop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-23Keypad should produce correct symbols on Brazilian (and any other)Bill Spitzak
keyboard when NumLock is on. Also added some explanatory comments to the source code. Some pointers were not being turned off when widgets were deleted, this caused flwm to crash. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@553 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-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-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-02-03Put Fl::grab() into it's own source file. Rewritten as suggested so thatBill Spitzak
it takes a window pointer, and grab(0) releases. You can now call grab repeatedly with the same or different values without it failing. The old Fl::grab() and Fl::release() are emulated in inline functions in Fl.H Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although that use is nyi. Fixes and cleanup to the code for Fl_Menu_::add(...). git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27Updated to include <sys/select.h> as needed.Michael R Sweet
Removed IRIX select() prototype - not needed for IRIX 5.3 or higher. git-svn-id: file:///fltk/svn/fltk/trunk@254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13Fixes from Bill:Michael R Sweet
- Fl_Clock now uses the Fl_Clock_Output base class to get the system time. - Fl_Window::iconize() and Fl_Window::icon() now coexist peacefully with all X window managers. - Minor fixes to mandelbrot and shape demos. - Menu code cleanup. git-svn-id: file:///fltk/svn/fltk/trunk@209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07Yay, change all copyright notices to be 1998-1999.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-05Patch from Bill to improve contrast of menu items as needed.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-04Lots of changes:Michael R Sweet
- Added #defines for Visual C++ to speed up compiles. - Added FLTK.DLL project to visualc directory. - Added editor project to visualc directory. - Added icon() method to Fl_Window class. - Implemented xclass() method for WIN32. - Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx. - scandir_win32.c needed to include <stdlib.h>. - Added fix from Bill for fl_width() bug. - Updated fix for Fl_Input to default to FL_DOWN_BOX. - Added visible() check for children of Fl_Pack. - Added WinMain() function to library. - Now show console window in debug mode. - Fixed demo.menu and demo.cxx to work under WIN32. git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29Patch to Bill's patch.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29More subwindow event handling fixes.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@174 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29Patch from Bill - removes dead code.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@173 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-29Fixed event propragation for subwindows (from Bill).Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@171 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-08Damage code consolidation from Gustavo...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07Redraw speedup patch from Bill.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07Changed #include "*.C" to "*.cxx"...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07Pointer motion compression patch from Bill.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-12Window position bug fix from Bill.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@86 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-08Removed the HP-UX hack (again) for select(); it ain't needed!Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@71 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-21Fixed all the frigging file headings - was missing a $ in the Id string.Michael R Sweet
Applied some damage bit fixes from Bill Spitzak. git-svn-id: file:///fltk/svn/fltk/trunk@28 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-19More changes from Bill Spitzak.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@20 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-19The great heading change - now use standard LGPL header with CVS tags.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@19 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-19Added Gustavo's damage() update - now use symbolic constants for all values!Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@18 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-19Added another redraw patch from Bill Spitzak.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@16 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06Applied patches from Bill Spitzak.Michael R Sweet
Fixed all source files with MS-DOS/Windows line termination (CR+LF) instead of standard line termination (LF only). git-svn-id: file:///fltk/svn/fltk/trunk@8 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06Initial revisionMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121